Remove inventory, delete transactions
This commit is contained in:
@@ -14,11 +14,14 @@
|
||||
|
||||
<div class="modal-body">
|
||||
|
||||
<div class="alert alert-info" ng-hide="vm.errorMessage != null">
|
||||
Enter details for the inventory arrival below.
|
||||
<div class="alert alert-info" ng-hide="vm.errorMessages.length">
|
||||
Enter details for the inventory distribution below.
|
||||
</div>
|
||||
<div class="alert alert-danger" ng-show="vm.errorMessage != null">
|
||||
{{vm.errorMessage}}
|
||||
<div class="alert alert-danger" ng-show="vm.errorMessages.length">
|
||||
There were problems distributing the inventory.
|
||||
<ul>
|
||||
<li ng-repeat="error in vm.errorMessages">{{error}}</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@distribution.FormGroupFor(m => m.Destination)
|
||||
@@ -42,7 +45,7 @@
|
||||
{{inventory.name}}<br/>
|
||||
{{inventory.unitsPerCase}} / {{inventory.containerType}}<br/>
|
||||
</td>
|
||||
<td>{{inventory.expirationDate | date:'shortDate'}}</td>
|
||||
<td ng-class="{ danger: inventory.isExpired }">{{inventory.expirationDate | date:'shortDate'}}</td>
|
||||
<td>{{inventory.quantity}}</td>
|
||||
<td>
|
||||
<div class="form-group col-sm-9" form-group-validation="DistributeQuantity{{inventory.name}}">
|
||||
@@ -56,8 +59,6 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
|
||||
Reference in New Issue
Block a user