65 lines
2.3 KiB
HTML
65 lines
2.3 KiB
HTML
<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="Is inventory entry"
|
|
icon="icon-inventory"
|
|
ng-if="$ctrl.entry.isExcludedFromAvailable">
|
|
</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>
|
|
<vn-popup vn-id="summary">
|
|
<vn-entry-summary entry="$ctrl.entry"></vn-entry-summary>
|
|
</vn-popup> |