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

48 lines
1.6 KiB
HTML

<vn-descriptor-content
module="travel"
description="$ctrl.travel.ref"
summary="$ctrl.$.summary">
<slot-dot-menu>
<vn-travel-descriptor-menu travel-id="$ctrl.travel.id"/>
</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">
</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>