2018-11-27 14:02:54 +00:00
|
|
|
<vn-crud-model auto-load="false"
|
2018-11-13 06:44:03 +00:00
|
|
|
vn-id="model"
|
|
|
|
url="/travel/api/Travels"
|
|
|
|
filter="::$ctrl.filter"
|
|
|
|
limit="20"
|
2019-10-02 19:02:49 +00:00
|
|
|
data="travels">
|
2018-11-13 06:44:03 +00:00
|
|
|
</vn-crud-model>
|
2019-01-30 22:47:06 +00:00
|
|
|
<div class="content-block">
|
2019-10-18 19:54:13 +00:00
|
|
|
<vn-card class="vn-pa-md vn-w-sm">
|
2019-10-02 19:02:49 +00:00
|
|
|
<vn-searchbar
|
|
|
|
panel="vn-travel-search-panel"
|
|
|
|
model="model"
|
|
|
|
expr-builder="$ctrl.exprBuilder(param, value)"
|
|
|
|
info="Search travels by id"
|
|
|
|
vn-focus>
|
|
|
|
</vn-searchbar>
|
|
|
|
</vn-card>
|
|
|
|
<vn-data-viewer
|
|
|
|
model="model"
|
2019-10-04 22:16:57 +00:00
|
|
|
class="vn-w-lg vn-my-md">
|
2019-10-02 19:02:49 +00:00
|
|
|
<vn-card>
|
|
|
|
<vn-table model="model">
|
2018-11-13 06:44:03 +00:00
|
|
|
<vn-thead>
|
|
|
|
<vn-tr>
|
|
|
|
<vn-th field="id" number>Id</vn-th>
|
|
|
|
<vn-th field="ref">Reference</vn-th>
|
|
|
|
<vn-th field="agencyFk">Agency</vn-th>
|
|
|
|
<vn-th field="warehouseOutFk">Warehouse Out</vn-th>
|
2019-02-10 21:52:35 +00:00
|
|
|
<vn-th field="shipped" center>Shipped</vn-th>
|
|
|
|
<vn-th field="isDelivered" center>Delivered</vn-th>
|
2018-11-13 06:44:03 +00:00
|
|
|
<vn-th field="warehouseInFk">Warehouse In</vn-th>
|
2019-02-10 21:52:35 +00:00
|
|
|
<vn-th field="landed" center>Landed</vn-th>
|
|
|
|
<vn-th field="isReceived" center>Received</vn-th>
|
2018-11-13 06:44:03 +00:00
|
|
|
<vn-th></vn-th>
|
|
|
|
</vn-tr>
|
|
|
|
</vn-thead>
|
|
|
|
<vn-tbody>
|
2019-01-22 12:18:20 +00:00
|
|
|
<vn-tr ng-repeat="travel in travels" class="clickable searchResult">
|
2018-11-13 06:44:03 +00:00
|
|
|
<vn-td number>{{::travel.id}}</vn-td>
|
2019-02-10 21:52:35 +00:00
|
|
|
<vn-td expand>{{::travel.ref}}</vn-td>
|
|
|
|
<vn-td expand>{{::travel.agency.name}}</vn-td>
|
|
|
|
<vn-td center>{{::travel.warehouseOut.name}}</vn-td>
|
2019-10-18 23:18:25 +00:00
|
|
|
<vn-td center>{{::travel.shipped | date:'dd/MM/yyyy'}}</vn-td>
|
2019-10-09 22:47:29 +00:00
|
|
|
<vn-td><vn-check ng-model="travel.isDelivered" disabled="true"></vn-check></vn-td>
|
2018-11-13 06:44:03 +00:00
|
|
|
<vn-td>{{::travel.warehouseIn.name}}</vn-td>
|
2019-10-18 23:18:25 +00:00
|
|
|
<vn-td center>{{::travel.landed | date:'dd/MM/yyyy'}}</vn-td>
|
2019-10-09 22:47:29 +00:00
|
|
|
<vn-td center><vn-check ng-model="travel.isReceived" disabled="true"></vn-check></vn-td>
|
2018-11-13 06:44:03 +00:00
|
|
|
<vn-td></vn-td>
|
|
|
|
</vn-tr>
|
|
|
|
</vn-tbody>
|
|
|
|
</vn-table>
|
|
|
|
</vn-card>
|
2019-10-02 19:02:49 +00:00
|
|
|
</vn-data-viewer>
|
2019-09-05 11:06:40 +00:00
|
|
|
</div>
|
|
|
|
<vn-scroll-up></vn-scroll-up>
|