2020-01-10 10:52:35 +00:00
|
|
|
<vn-auto-search
|
2020-03-13 19:33:12 +00:00
|
|
|
model="model">
|
2020-01-10 10:52:35 +00:00
|
|
|
</vn-auto-search>
|
|
|
|
<vn-data-viewer
|
|
|
|
model="model"
|
|
|
|
class="vn-mb-xl vn-w-xl">
|
|
|
|
<vn-card>
|
|
|
|
<vn-table model="model">
|
|
|
|
<vn-thead>
|
|
|
|
<vn-tr>
|
2020-02-21 11:48:34 +00:00
|
|
|
<vn-th shrink></vn-th>
|
2020-01-10 10:52:35 +00:00
|
|
|
<vn-th field="id" number>Id</vn-th>
|
2020-02-18 09:33:17 +00:00
|
|
|
<vn-th field="landed" center>Landed</vn-th>
|
2020-01-10 10:52:35 +00:00
|
|
|
<vn-th>Reference</vn-th>
|
|
|
|
<vn-th field="supplierFk">Supplier</vn-th>
|
|
|
|
<vn-th field="currencyFk" center>Currency</vn-th>
|
|
|
|
<vn-th field="companyFk" center>Company</vn-th>
|
2020-02-18 09:33:17 +00:00
|
|
|
<vn-th field="isBooked" center>Booked</vn-th>
|
|
|
|
<vn-th field="isConfirmed" center>Confirmed</vn-th>
|
|
|
|
<vn-th field="isOrdered" center>Ordered</vn-th>
|
|
|
|
<vn-th>Notes</vn-th>
|
2020-01-10 10:52:35 +00:00
|
|
|
</vn-tr>
|
|
|
|
</vn-thead>
|
|
|
|
<vn-tbody>
|
2020-03-13 19:33:12 +00:00
|
|
|
<a ng-repeat="entry in model.data"
|
2020-01-10 10:52:35 +00:00
|
|
|
class="clickable vn-tr search-result"
|
|
|
|
ui-sref="entry.card.summary({id: {{::entry.id}}})">
|
2020-02-21 11:48:34 +00:00
|
|
|
<vn-td shrink>
|
2020-02-18 09:33:17 +00:00
|
|
|
<vn-icon
|
|
|
|
ng-show="entry.isInventory"
|
|
|
|
class="bright"
|
|
|
|
vn-tooltip="Inventory entry"
|
2020-03-11 07:02:58 +00:00
|
|
|
icon="icon-inventory">
|
2020-02-18 09:33:17 +00:00
|
|
|
</vn-icon>
|
|
|
|
<vn-icon
|
|
|
|
ng-show="entry.isRaid"
|
|
|
|
class="bright"
|
|
|
|
vn-tooltip="Virtual entry"
|
2020-02-21 11:48:34 +00:00
|
|
|
icon="icon-net">
|
2020-02-18 09:33:17 +00:00
|
|
|
</vn-icon>
|
|
|
|
</vn-td>
|
2020-01-10 10:52:35 +00:00
|
|
|
<vn-td number>{{::entry.id}}</vn-td>
|
2020-02-18 09:33:17 +00:00
|
|
|
<vn-td center>
|
|
|
|
<span
|
|
|
|
class="link"
|
2020-04-28 12:26:02 +00:00
|
|
|
vn-click-stop="travelDescriptor.show($event, entry.travelFk)">
|
2020-02-18 09:33:17 +00:00
|
|
|
{{::entry.landed | date:'dd/MM/yyyy'}}
|
|
|
|
</span>
|
|
|
|
</vn-td>
|
2020-01-10 10:52:35 +00:00
|
|
|
<vn-td expand>{{::entry.ref}}</vn-td>
|
|
|
|
<vn-td expand>{{::entry.supplierName}}</vn-td>
|
|
|
|
<vn-td center expand>{{::entry.currencyCode}}</vn-td>
|
|
|
|
<vn-td center expand>{{::entry.companyCode}}</vn-td>
|
2020-02-18 09:33:17 +00:00
|
|
|
<vn-td center><vn-check ng-model="entry.isBooked" disabled="true"></vn-check></vn-td>
|
|
|
|
<vn-td center><vn-check ng-model="entry.isConfirmed" disabled="true"></vn-check></vn-td>
|
|
|
|
<vn-td center><vn-check ng-model="entry.isOrdered" disabled="true"></vn-check></vn-td>
|
|
|
|
<vn-td shrink>
|
|
|
|
<vn-icon
|
|
|
|
ng-if="entry.notes.length"
|
|
|
|
vn-tooltip="{{::entry.notes}}"
|
2020-05-06 12:38:09 +00:00
|
|
|
icon="insert_drive_file"
|
|
|
|
class="bright">
|
2020-02-18 09:33:17 +00:00
|
|
|
</vn-icon>
|
|
|
|
</vn-td>
|
2020-01-10 10:52:35 +00:00
|
|
|
</a>
|
|
|
|
</vn-tbody>
|
|
|
|
</vn-table>
|
|
|
|
</vn-card>
|
2020-04-28 12:26:02 +00:00
|
|
|
</vn-data-viewer>
|
2020-02-18 09:33:17 +00:00
|
|
|
<vn-travel-descriptor-popover
|
2020-04-28 12:26:02 +00:00
|
|
|
vn-id="travelDescriptor">
|
|
|
|
</vn-travel-descriptor-popover>
|