2018-12-19 10:37:30 +00:00
|
|
|
<vn-card class="summary">
|
2020-11-23 12:41:51 +00:00
|
|
|
<h5>
|
|
|
|
<a ng-if="::$ctrl.item.id"
|
|
|
|
vn-tooltip="Go to the item"
|
|
|
|
ui-sref="item.card.summary({id: {{::$ctrl.item.id}}})"
|
|
|
|
name="goToSummary">
|
|
|
|
<vn-icon-button icon="launch"></vn-icon-button>
|
|
|
|
</a>
|
|
|
|
<span>{{$ctrl.item.id}} - {{$ctrl.summary.item.name}}</span>
|
|
|
|
</h5>
|
2019-01-20 15:47:04 +00:00
|
|
|
<vn-horizontal>
|
|
|
|
<vn-one>
|
2019-10-18 20:07:55 +00:00
|
|
|
<img style="width: 100%; display: block;"
|
2020-11-27 12:10:39 +00:00
|
|
|
ng-src="{{$root.imagePath('catalog', '200x200', $ctrl.item.id)}}"
|
|
|
|
zoom-image="{{$root.imagePath('catalog', '1600x900', $ctrl.item.id)}}" on-error-src/>
|
2019-02-06 10:24:29 +00:00
|
|
|
<vn-horizontal class="item-state">
|
2019-01-20 15:47:04 +00:00
|
|
|
<vn-one>
|
|
|
|
<p translate>Visible</p>
|
|
|
|
<p>{{$ctrl.summary.visible}}</p>
|
|
|
|
</vn-one>
|
|
|
|
<vn-one>
|
|
|
|
<p translate>Available</p>
|
|
|
|
<p>{{$ctrl.summary.available}}</p>
|
|
|
|
</vn-one>
|
|
|
|
</vn-horizontal>
|
|
|
|
</vn-one>
|
|
|
|
<vn-one name="basicData">
|
2021-01-08 14:43:33 +00:00
|
|
|
<h4>
|
|
|
|
<a ui-sref="item.card.basicData">
|
|
|
|
<span translate vn-tooltip="Edit basic data">Basic data</span>
|
|
|
|
</a>
|
|
|
|
</h4>
|
2019-01-31 13:14:39 +00:00
|
|
|
<vn-label-value label="Name"
|
2019-01-20 15:47:04 +00:00
|
|
|
value="{{$ctrl.summary.item.name}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Full name"
|
|
|
|
value="{{$ctrl.summary.item.longName}}">
|
|
|
|
</vn-label-value>
|
2019-09-24 06:34:14 +00:00
|
|
|
<vn-label-value label="Item family"
|
2019-01-20 15:47:04 +00:00
|
|
|
value="{{$ctrl.summary.item.itemType.name}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Size"
|
2019-04-01 07:01:11 +00:00
|
|
|
value="{{$ctrl.summary.item.size}}">
|
2019-01-20 15:47:04 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Origin"
|
|
|
|
value="{{$ctrl.summary.item.origin.name}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="stems"
|
2019-02-06 09:53:12 +00:00
|
|
|
value="{{$ctrl.summary.item.stems}}">
|
2019-01-20 15:47:04 +00:00
|
|
|
</vn-label-value>
|
2020-09-03 13:11:16 +00:00
|
|
|
<vn-label-value label="Buyer">
|
|
|
|
<span
|
|
|
|
ng-click="workerDescriptor.show($event, $ctrl.summary.item.itemType.worker.userFk)"
|
|
|
|
class="link">
|
|
|
|
{{$ctrl.summary.item.itemType.worker.user.name}}
|
|
|
|
</span>
|
2019-01-20 15:47:04 +00:00
|
|
|
</vn-label-value>
|
|
|
|
</vn-one>
|
|
|
|
<vn-one name="otherData">
|
2021-01-08 14:43:33 +00:00
|
|
|
<h4>
|
|
|
|
<a ui-sref="item.card.basicData">
|
|
|
|
<span translate vn-tooltip="Edit other data">Other data</span>
|
|
|
|
</a>
|
|
|
|
</h4>
|
2019-01-20 15:47:04 +00:00
|
|
|
<vn-label-value label="Intrastat code"
|
|
|
|
value="{{$ctrl.summary.item.intrastat.id}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Intrastat"
|
|
|
|
value="{{$ctrl.summary.item.intrastat.description}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Reference"
|
|
|
|
value="{{$ctrl.summary.item.comment}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Relevancy"
|
|
|
|
value="{{$ctrl.summary.item.relevancy}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Density"
|
|
|
|
value="{{$ctrl.summary.item.density}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Compression"
|
|
|
|
value="{{$ctrl.summary.item.compression}}">
|
|
|
|
</vn-label-value>
|
2019-12-13 10:59:25 +00:00
|
|
|
<vn-label-value label="Expense"
|
|
|
|
value="{{$ctrl.summary.item.expense.name}}">
|
2019-01-20 15:47:04 +00:00
|
|
|
</vn-label-value>
|
|
|
|
</vn-one>
|
|
|
|
<vn-one name="tags">
|
2021-01-08 14:43:33 +00:00
|
|
|
<h4>
|
|
|
|
<a ui-sref="item.card.tags">
|
|
|
|
<span translate vn-tooltip="Edit tags">Tags</span>
|
|
|
|
</a>
|
|
|
|
</h4>
|
2019-01-20 15:47:04 +00:00
|
|
|
<vn-label-value
|
|
|
|
label="{{tag.priority}} {{tag.tag.name}}"
|
2019-01-24 15:04:38 +00:00
|
|
|
ng-repeat="tag in $ctrl.summary.tags track by tag.id"
|
2019-01-20 15:47:04 +00:00
|
|
|
value="{{tag.value}}">
|
|
|
|
</vn-label-value>
|
|
|
|
</vn-one>
|
|
|
|
<vn-one name="tax">
|
2021-01-08 14:43:33 +00:00
|
|
|
<h4>
|
|
|
|
<a ui-sref="item.card.tax">
|
|
|
|
<span translate vn-tooltip="Edit tax">Tax</span>
|
|
|
|
</a>
|
|
|
|
</h4>
|
2019-01-20 15:47:04 +00:00
|
|
|
<vn-label-value label="{{tax.country.country}}"
|
|
|
|
ng-repeat="tax in $ctrl.summary.item.taxes"
|
|
|
|
value="{{tax.taxClass.description}}">
|
|
|
|
</vn-label-value>
|
|
|
|
</vn-one>
|
|
|
|
<vn-one name="niche">
|
2021-01-08 14:43:33 +00:00
|
|
|
<h4>
|
|
|
|
<a ui-sref="item.card.niche">
|
|
|
|
<span translate vn-tooltip="Edit niche">Niche</span>
|
|
|
|
</a>
|
|
|
|
</h4>
|
2019-01-20 15:47:04 +00:00
|
|
|
<vn-label-value label="{{niche.warehouse.name}}"
|
|
|
|
ng-repeat="niche in $ctrl.summary.niches"
|
|
|
|
value="{{niche.code}}">
|
|
|
|
</vn-label-value>
|
|
|
|
</vn-one>
|
|
|
|
<vn-one name="botanical">
|
2021-01-08 14:43:33 +00:00
|
|
|
<h4>
|
|
|
|
<a ui-sref="item.card.botanical">
|
|
|
|
<span translate vn-tooltip="Edit botanical">Botanical</span>
|
|
|
|
</a>
|
|
|
|
</h4>
|
2019-01-20 15:47:04 +00:00
|
|
|
<vn-label-value label="Botanical"
|
|
|
|
value="{{$ctrl.summary.botanical.botanical}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Genus"
|
|
|
|
value="{{$ctrl.summary.botanical.genus.latin_genus_name}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Specie"
|
|
|
|
value="{{$ctrl.summary.botanical.specie.latin_species_name}}">
|
|
|
|
</vn-label-value>
|
|
|
|
</vn-one>
|
|
|
|
<vn-one name="barcode">
|
2021-01-08 14:43:33 +00:00
|
|
|
<h4>
|
|
|
|
<a ui-sref="item.card.itemBarcode">
|
|
|
|
<span translate vn-tooltip="Edit barcode">Barcode</span>
|
|
|
|
</a>
|
|
|
|
</h4>
|
2019-01-20 15:47:04 +00:00
|
|
|
<p ng-repeat="barcode in $ctrl.summary.item.itemBarcode track by $index">
|
|
|
|
<b>{{barcode.code}}</b>
|
|
|
|
</p>
|
|
|
|
</vn-one>
|
|
|
|
</vn-horizontal>
|
2020-09-03 13:11:16 +00:00
|
|
|
</vn-card>
|
|
|
|
<vn-worker-descriptor-popover
|
|
|
|
vn-id="workerDescriptor">
|
|
|
|
</vn-worker-descriptor-popover>
|