2024-10-24 17:32:02 +00:00
|
|
|
<vn-descriptor-content
|
|
|
|
module="entry"
|
|
|
|
description="$ctrl.entry.supplier.nickname"
|
|
|
|
summary="$ctrl.$.summary">
|
|
|
|
<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="It is a raid {{$ctrl.entryData.travel.daysInForward}} days forward"
|
|
|
|
icon="icon-inventory"
|
|
|
|
ng-if="$ctrl.entry.isExcludedFromAvailable">
|
|
|
|
</vn-icon>
|
|
|
|
<vn-icon
|
|
|
|
vn-tooltip="Is virtual entry"
|
|
|
|
icon="icon-net"
|
2024-11-11 13:19:11 +00:00
|
|
|
ng-if="$ctrl.entryData.travel.isRaid">
|
2024-10-24 17:32:02 +00:00
|
|
|
</vn-icon>
|
|
|
|
</div>
|
|
|
|
<div class="quicklinks">
|
|
|
|
<div ng-transclude="btnOne">
|
|
|
|
<vn-quick-link
|
|
|
|
tooltip="Supplier card"
|
|
|
|
state="['supplier.index', {q: $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>
|
|
|
|
<vn-popup vn-id="summary">
|
|
|
|
<vn-entry-summary entry="$ctrl.entry"></vn-entry-summary>
|
|
|
|
</vn-popup>
|