62 lines
2.1 KiB
HTML
62 lines
2.1 KiB
HTML
<vn-descriptor-content
|
|
module="entry"
|
|
description="$ctrl.entry.supplier.nickname">
|
|
<slot-menu>
|
|
<vn-item
|
|
ng-click="$ctrl.showEntryReport()"
|
|
translate>
|
|
Show entry report
|
|
</vn-item>
|
|
</slot-menu>
|
|
<slot-body>
|
|
<div class="attributes">
|
|
<vn-label-value label="Agency "
|
|
value="{{$ctrl.entry.travel.agency.name}}">
|
|
</vn-label-value>
|
|
<vn-label-value label="Landed"
|
|
value="{{$ctrl.entry.travel.landed | date: 'dd/MM/yyyy'}}">
|
|
</vn-label-value>
|
|
<vn-label-value label="Warehouse Out"
|
|
value="{{$ctrl.entry.travel.warehouseOut.name}}">
|
|
</vn-label-value>
|
|
</div>
|
|
<div class="icons">
|
|
<vn-icon
|
|
vn-tooltip="Is inventory entry"
|
|
icon="icon-inventory"
|
|
ng-if="$ctrl.entry.isInventory">
|
|
</vn-icon>
|
|
<vn-icon
|
|
vn-tooltip="Is virtual entry"
|
|
icon="icon-net"
|
|
ng-if="$ctrl.entry.isRaid">
|
|
</vn-icon>
|
|
</div>
|
|
<div class="quicklinks">
|
|
<div ng-transclude="btnOne">
|
|
<vn-quick-link
|
|
tooltip="Supplier card"
|
|
state="['supplier.card.summary', {id: $ctrl.entry.supplier.id}]"
|
|
icon="icon-supplier">
|
|
</vn-quick-link>
|
|
</div>
|
|
<div ng-transclude="btnTwo">
|
|
<vn-quick-link
|
|
tooltip="All travels with current agency"
|
|
state="['travel.index', {q: $ctrl.travelFilter}]"
|
|
icon="local_airport">
|
|
</vn-quick-link>
|
|
</div>
|
|
<div ng-transclude="btnThree">
|
|
<vn-quick-link
|
|
tooltip="All entries with current supplier"
|
|
state="['entry.index', {q: $ctrl.entryFilter}]"
|
|
icon="icon-entry">
|
|
</vn-quick-link>
|
|
</div>
|
|
<div ng-transclude="btnThree">
|
|
</div>
|
|
</div>
|
|
</slot-body>
|
|
</vn-descriptor-content>
|