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

65 lines
2.3 KiB
HTML
Raw Normal View History

2020-05-06 12:38:09 +00:00
<vn-descriptor-content
module="entry"
description="$ctrl.entry.supplier.nickname"
summary="$ctrl.$.summary">
<slot-menu>
2020-05-06 12:38:09 +00:00
<vn-item
ng-click="$ctrl.showEntryReport()"
translate>
Show entry report
</vn-item>
</slot-menu>
<slot-body>
2020-01-10 10:52:35 +00:00
<div class="attributes">
2020-02-21 11:48:34 +00:00
<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>
2020-01-10 10:52:35 +00:00
</div>
2020-03-11 07:02:58 +00:00
<div class="icons">
<vn-icon
vn-tooltip="Is inventory entry"
icon="icon-inventory"
2022-07-01 07:53:44 +00:00
ng-if="$ctrl.entry.isExcludedFromAvailable">
2020-03-11 07:02:58 +00:00
</vn-icon>
<vn-icon
vn-tooltip="Is virtual entry"
icon="icon-net"
2020-12-04 12:40:58 +00:00
ng-if="$ctrl.entry.isRaid">
2020-03-11 07:02:58 +00:00
</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>