2019-09-25 09:26:12 +00:00
|
|
|
<vn-crud-model
|
|
|
|
url="/api/Tickets/{{$ctrl.$stateParams.id}}/getPossibleStowaways"
|
|
|
|
vn-id="model"
|
|
|
|
data="possibleStowaways">
|
|
|
|
</vn-crud-model>
|
2019-01-18 12:36:13 +00:00
|
|
|
<vn-dialog
|
|
|
|
vn-id="dialog"
|
2019-01-23 11:46:45 +00:00
|
|
|
class="modal-form"
|
2019-09-25 09:26:12 +00:00
|
|
|
on-open="model.reload()">
|
2019-01-18 12:36:13 +00:00
|
|
|
<tpl-body>
|
|
|
|
<vn-horizontal pad-medium class="header">
|
|
|
|
<h5><span translate>Stowaways to add</span></h5>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal pad-medium>
|
2019-10-04 09:18:07 +00:00
|
|
|
<vn-table model="model" auto-load="false">
|
2019-01-18 12:36:13 +00:00
|
|
|
<vn-thead>
|
|
|
|
<vn-tr>
|
|
|
|
<vn-th number>Ticket id</vn-th>
|
|
|
|
<vn-th number>Shipped</vn-th>
|
|
|
|
<vn-th number>Agency</vn-th>
|
|
|
|
<vn-th number>Warehouse</vn-th>
|
|
|
|
<vn-th number>State</vn-th>
|
|
|
|
</vn-tr>
|
|
|
|
</vn-thead>
|
|
|
|
<vn-tbody>
|
2019-09-25 09:26:12 +00:00
|
|
|
<vn-tr ng-repeat="ticket in possibleStowaways" class="clickable" ng-click="$ctrl.addStowaway(ticket)">
|
2019-01-18 12:36:13 +00:00
|
|
|
<vn-td number>{{ticket.id}}</vn-td>
|
|
|
|
<vn-td number>{{ticket.landed | dateTime: 'dd/MM/yyyy'}}</vn-td>
|
|
|
|
<vn-td number>{{ticket.agencyMode.name}}</vn-td>
|
|
|
|
<vn-td number>{{ticket.warehouse.name}}</vn-td>
|
|
|
|
<vn-td number>{{ticket.state.state.name}}</vn-td>
|
|
|
|
</vn-tr>
|
|
|
|
</vn-tbody>
|
|
|
|
</vn-table>
|
|
|
|
</vn-horizontal>
|
|
|
|
</tpl-body>
|
|
|
|
</vn-dialog>
|