2019-01-18 12:37:26 +00:00
|
|
|
<vn-dialog
|
2019-01-23 11:46:45 +00:00
|
|
|
class="modal-form"
|
2019-01-18 12:37:26 +00:00
|
|
|
vn-id="dialog">
|
|
|
|
<tpl-body>
|
2019-10-04 22:16:57 +00:00
|
|
|
<vn-horizontal class="header vn-pa-md">
|
2019-01-18 12:37:26 +00:00
|
|
|
<h5><span translate>Stowaways of the ticket</span> {{$ctrl.ticket.id}}</h5>
|
|
|
|
</vn-horizontal>
|
2019-10-04 22:16:57 +00:00
|
|
|
<vn-horizontal class="vn-pa-md">
|
2019-01-18 12:37:26 +00:00
|
|
|
<vn-table>
|
|
|
|
<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>
|
|
|
|
<vn-tr ng-repeat="stowaway in $ctrl.ticketStowaways" class="clickable" ng-click="$ctrl.showDeleteConfirm($index)">
|
|
|
|
<vn-td number>{{stowaway.id}}</vn-td>
|
2019-10-18 23:18:25 +00:00
|
|
|
<vn-td number>{{stowaway.ticket.landed | date: 'dd/MM/yyyy'}}</vn-td>
|
2019-01-18 12:37:26 +00:00
|
|
|
<vn-td number>{{stowaway.ticket.agencyMode.name}}</vn-td>
|
|
|
|
<vn-td number>{{stowaway.ticket.warehouse.name}}</vn-td>
|
|
|
|
<vn-td number>{{stowaway.ticket.state.state.name}}</vn-td>
|
|
|
|
</vn-tr>
|
|
|
|
</vn-tbody>
|
|
|
|
</vn-table>
|
|
|
|
</vn-horizontal>
|
|
|
|
</tpl-body>
|
|
|
|
</vn-dialog>
|
|
|
|
|
|
|
|
<vn-confirm
|
|
|
|
vn-id="confirmation-dialog"
|
2019-10-30 15:57:14 +00:00
|
|
|
on-response="$ctrl.deleteStowaway($response)"
|
2019-01-18 12:37:26 +00:00
|
|
|
question="Delete stowaway"
|
|
|
|
message="Are you sure you want to delete this stowaway?">
|
|
|
|
</vn-confirm>
|