50 lines
1.7 KiB
HTML
50 lines
1.7 KiB
HTML
<vn-descriptor-content
|
|
module="travel"
|
|
description="$ctrl.travel.ref">
|
|
<slot-dot-menu>
|
|
<vn-travel-descriptor-menu travel="$ctrl.travel"/>
|
|
</slot-dot-menu>
|
|
<slot-body>
|
|
<div class="attributes">
|
|
<vn-label-value
|
|
label="Wh. In"
|
|
value="{{$ctrl.travel.warehouseIn.name}}">
|
|
</vn-label-value>
|
|
<vn-label-value
|
|
label="Wh. Out"
|
|
value="{{$ctrl.travel.warehouseOut.name}}">
|
|
</vn-label-value>
|
|
<vn-label-value
|
|
label="Shipped"
|
|
value="{{$ctrl.travel.shipped | date: 'dd/MM/yyyy'}}">
|
|
</vn-label-value>
|
|
<vn-label-value
|
|
label="Landed"
|
|
value="{{$ctrl.travel.landed | date: 'dd/MM/yyyy'}}">
|
|
</vn-label-value>
|
|
<vn-label-value
|
|
label="Total entries"
|
|
value="{{$ctrl.travel.totalEntries}}">
|
|
</vn-label-value>
|
|
</div>
|
|
<div class="quicklinks">
|
|
<div ng-transclude="btnOne">
|
|
<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="btnTwo">
|
|
<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>
|