Skip to content

Commit

Permalink
Merge pull request #394 from antolinos/issue_393
Browse files Browse the repository at this point in the history
Issue 393
  • Loading branch information
antolinos authored Apr 11, 2018
2 parents 517d8a7 + 7caa27f commit f026594
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 15 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "exi-ui",
"version": "5.4.5",
"version": "5.5.0.3",
"homepage": "https://github.com/ispyb/EXI",
"description": "Extended ISPyB User Interface",
"main": "mx/index.html",
Expand Down
41 changes: 27 additions & 14 deletions templates/core/shipping.form.information.template.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="form-group row" style="margin:0px">
<div class="col-md-2" style="padding:0px">
<div class="col-md-3" style="padding:0px">
<table class="table">
<tr>
<td>Name</td>
Expand All @@ -23,7 +23,14 @@
</tr>
</table>
</div>
<div class="col-md-5" style="margin-left:10px">
<div class="col-md-2" >
<a id="{id}-send-button" class="btn btn-md enabled">
<span class="glyphicon glyphicon-plane"></span>
<button class="btn btn-primary btn-md" style="margin-left:10px;height:40px;" >Send shipment to ESRF</button>
</a>
</div>

<div class="col-md-3" style="margin-left:10px">
<div class="form-group row" style="margin:5px">
<label class="col-md-3 col-form-label " ><b>Comments:</b></label>
<textarea class="col-md-9" rows="2" disabled>{shipment.comments}</textarea >
Expand All @@ -36,22 +43,28 @@
</div>
</div>

{@gt key=nbReimbDewars value=0}
<div class="alert alert-warning">
According to the A-form for this experiment, you are allowed to have <strong> {.nbReimbDewars} parcels reimbursed by the ESRF</strong>. Please use the Reimburse button to select/unselect the parcels to be reimbursed.
</div>
{/gt}

<div class="form-group row">


<div class="col-md-12" >
{@gt key=nbReimbDewars value=0}
<div class="alert alert-warning">
According to the A-form, you are allowed to have <strong> {.nbReimbDewars} parcels reimbursed by the ESRF</strong>. Please use the Reimburse button to select/unselect the parcels to be reimbursed.
</div>
{/gt}
</div>
</div>

<div class="form-group row" style="margin:0px">
<div class="col-md-2" style="margin-left:10px">
<div class="form-group row">
<div class="col-md-3" >
<table class="table">
<tr>
<td>From</td>
<td class='column_parameter_value'>{.shipment.sendingLabContactVO.cardName}</td>
</tr>
<tr>
<td>Return address:s</td>
<td>Return address</td>
<td class='column_parameter_value'>
{?shipment.returnLabContactVO}
{shipment.returnLabContactVO.cardName}
Expand All @@ -65,18 +78,18 @@

<div class="col-md-2" style="margin-left:10px">
<table class="table">
<tr>
<tr>
<td>Courier company</td>
<td class='column_parameter_value'>{.shipment.returnLabContactVO.defaultCourrierCompany}</td>
</tr>
<tr>
<td>Billing Reference</td>
<td class='column_parameter_value'>{.shipment.returnLabContactVO.billingReference}</td>
</tr>
</table>
</table>
</div>

<div class="col-md-3" style="margin-left:10px">
<div class="col-md-6" style="margin-left:10px">
<table class="table">
<tr>
<td>Allowed Reimb. parcels</td>
Expand Down

0 comments on commit f026594

Please sign in to comment.