salix/modules/travel/front/descriptor/index.html

48 lines
1.6 KiB
HTML
Raw Normal View History

2020-05-06 12:38:09 +00:00
<vn-descriptor-content
module="travel"
description="$ctrl.travel.ref"
summary="$ctrl.$.summary">
2020-11-16 18:04:37 +00:00
<slot-dot-menu>
2020-11-17 14:54:45 +00:00
<vn-travel-descriptor-menu travel-id="$ctrl.travel.id"/>
2020-11-16 18:04:37 +00:00
</slot-dot-menu>
<slot-body>
2019-10-24 10:49:18 +00:00
<div class="attributes">
<vn-label-value
label="Wh. In"
2020-06-09 06:32:57 +00:00
value="{{$ctrl.travel.warehouseIn.name}}">
2019-10-24 10:49:18 +00:00
</vn-label-value>
<vn-label-value
label="Wh. Out"
2020-06-09 06:32:57 +00:00
value="{{$ctrl.travel.warehouseOut.name}}">
2019-10-24 10:49:18 +00:00
</vn-label-value>
<vn-label-value
label="Shipped"
2019-10-24 10:49:18 +00:00
value="{{$ctrl.travel.shipped | date: 'dd/MM/yyyy'}}">
</vn-label-value>
<vn-label-value
label="Landed"
2019-10-24 10:49:18 +00:00
value="{{$ctrl.travel.landed | date: 'dd/MM/yyyy'}}">
</vn-label-value>
<vn-label-value
label="Total entries"
2019-10-24 10:49:18 +00:00
value="{{$ctrl.travel.totalEntries}}">
</vn-label-value>
</div>
2020-11-16 13:50:03 +00:00
<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">
</div>
<div ng-transclude="btnThree">
</div>
</div>
</slot-body>
</vn-descriptor-content>
<vn-popup vn-id="summary">
<vn-travel-summary travel="$ctrl.travel"></vn-travel-summary>
</vn-popup>