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;"
|
2023-01-25 14:19:33 +00:00
|
|
|
ng-src="{{$root.imagePath('catalog', '200x200', $ctrl.item.id)}}"
|
2020-11-27 12:10:39 +00:00
|
|
|
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>
|
2023-02-07 12:40:39 +00:00
|
|
|
<vn-one>
|
|
|
|
<p>
|
2023-01-25 14:19:33 +00:00
|
|
|
<vn-icon
|
2023-02-07 12:40:39 +00:00
|
|
|
ng-if="$ctrl.warehouseText != null"
|
2023-01-25 14:19:33 +00:00
|
|
|
icon="info_outline"
|
2023-02-07 12:40:39 +00:00
|
|
|
vn-tooltip="{{$ctrl.warehouseText}}"
|
2023-01-25 14:19:33 +00:00
|
|
|
pointer>
|
|
|
|
</vn-icon>
|
|
|
|
</p>
|
2023-02-07 12:40:39 +00:00
|
|
|
</vn-one>
|
2019-01-20 15:47:04 +00:00
|
|
|
</vn-horizontal>
|
|
|
|
</vn-one>
|
|
|
|
<vn-one name="basicData">
|
2021-01-12 06:39:12 +00:00
|
|
|
<h4 ng-show="$ctrl.isBuyer">
|
2023-01-25 14:19:33 +00:00
|
|
|
<a
|
2021-01-12 09:11:37 +00:00
|
|
|
ui-sref="item.card.basicData({id:$ctrl.item.id})"
|
|
|
|
target="_self">
|
2021-01-11 09:36:20 +00:00
|
|
|
<span translate vn-tooltip="Go to">Basic data</span>
|
2021-01-08 14:43:33 +00:00
|
|
|
</a>
|
|
|
|
</h4>
|
2021-01-12 06:39:12 +00:00
|
|
|
<h4
|
2023-01-25 14:19:33 +00:00
|
|
|
translate
|
2021-01-12 09:11:37 +00:00
|
|
|
ng-show="!$ctrl.isBuyer">
|
|
|
|
Basic data
|
2021-01-12 06:39:12 +00:00
|
|
|
</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>
|
2023-01-25 14:19:33 +00:00
|
|
|
<vn-label-value label="Full name"
|
2019-01-20 15:47:04 +00:00
|
|
|
value="{{$ctrl.summary.item.longName}}">
|
|
|
|
</vn-label-value>
|
2023-01-25 14:19:33 +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>
|
2023-01-25 14:19:33 +00:00
|
|
|
<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>
|
2023-01-25 14:19:33 +00:00
|
|
|
<vn-label-value label="Origin"
|
2019-01-20 15:47:04 +00:00
|
|
|
value="{{$ctrl.summary.item.origin.name}}">
|
|
|
|
</vn-label-value>
|
2023-01-25 14:19:33 +00:00
|
|
|
<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>
|
2023-01-25 14:19:33 +00:00
|
|
|
<vn-label-value label="Multiplier"
|
2021-02-17 14:38:57 +00:00
|
|
|
value="{{$ctrl.summary.item.stemMultiplier}}">
|
|
|
|
</vn-label-value>
|
2020-09-03 13:11:16 +00:00
|
|
|
<vn-label-value label="Buyer">
|
2023-01-25 14:19:33 +00:00
|
|
|
<span
|
2020-09-03 13:11:16 +00:00
|
|
|
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>
|
2023-02-03 07:35:15 +00:00
|
|
|
<vn-horizontal>
|
2023-01-17 09:11:41 +00:00
|
|
|
<vn-check
|
2023-02-03 07:35:15 +00:00
|
|
|
label="Do photo"
|
2023-01-17 09:11:41 +00:00
|
|
|
disabled="true"
|
|
|
|
vn-one
|
|
|
|
ng-model="$ctrl.item.isPhotoRequested"
|
|
|
|
info="This item does need a photo">
|
|
|
|
</vn-check>
|
2023-02-03 07:35:15 +00:00
|
|
|
</vn-horizontal>
|
2019-01-20 15:47:04 +00:00
|
|
|
</vn-one>
|
|
|
|
<vn-one name="otherData">
|
2021-01-12 06:39:12 +00:00
|
|
|
<h4 ng-show="$ctrl.isBuyer">
|
2023-01-25 14:19:33 +00:00
|
|
|
<a
|
2021-01-12 09:11:37 +00:00
|
|
|
ui-sref="item.card.basicData({id:$ctrl.item.id})"
|
|
|
|
target="_self">
|
2021-01-11 09:36:20 +00:00
|
|
|
<span translate vn-tooltip="Go to">Other data</span>
|
2021-01-08 14:43:33 +00:00
|
|
|
</a>
|
|
|
|
</h4>
|
2021-01-12 06:39:12 +00:00
|
|
|
<h4
|
2023-01-25 14:19:33 +00:00
|
|
|
translate
|
2021-01-12 09:11:37 +00:00
|
|
|
ng-show="!$ctrl.isBuyer">
|
|
|
|
Other data
|
2021-01-12 06:39:12 +00:00
|
|
|
</h4>
|
2023-01-25 14:19:33 +00:00
|
|
|
<vn-label-value label="Intrastat code"
|
2019-01-20 15:47:04 +00:00
|
|
|
value="{{$ctrl.summary.item.intrastat.id}}">
|
|
|
|
</vn-label-value>
|
2023-01-25 14:19:33 +00:00
|
|
|
<vn-label-value label="Intrastat"
|
2019-01-20 15:47:04 +00:00
|
|
|
value="{{$ctrl.summary.item.intrastat.description}}">
|
|
|
|
</vn-label-value>
|
2023-01-25 14:19:33 +00:00
|
|
|
<vn-label-value label="Reference"
|
2019-01-20 15:47:04 +00:00
|
|
|
value="{{$ctrl.summary.item.comment}}">
|
|
|
|
</vn-label-value>
|
2023-01-25 14:19:33 +00:00
|
|
|
<vn-label-value label="Relevancy"
|
2019-01-20 15:47:04 +00:00
|
|
|
value="{{$ctrl.summary.item.relevancy}}">
|
|
|
|
</vn-label-value>
|
2023-01-25 14:19:33 +00:00
|
|
|
<vn-label-value label="Weight/Piece"
|
2022-08-24 12:13:26 +00:00
|
|
|
value="{{$ctrl.summary.item.weightByPiece}}">
|
2019-01-20 15:47:04 +00:00
|
|
|
</vn-label-value>
|
2023-07-11 05:58:18 +00:00
|
|
|
<vn-label-value label="Units/Box"
|
2023-07-11 05:37:51 +00:00
|
|
|
value="{{$ctrl.summary.item.packingOut}}">
|
|
|
|
</vn-label-value>
|
2023-01-25 14:19:33 +00:00
|
|
|
<vn-label-value label="Expense"
|
2019-12-13 10:59:25 +00:00
|
|
|
value="{{$ctrl.summary.item.expense.name}}">
|
2019-01-20 15:47:04 +00:00
|
|
|
</vn-label-value>
|
2023-07-11 05:58:18 +00:00
|
|
|
<vn-label-value label="Generic"
|
2023-07-11 05:37:51 +00:00
|
|
|
value="{{$ctrl.summary.item.genericFk}}">
|
|
|
|
</vn-label-value>
|
2023-07-11 06:41:43 +00:00
|
|
|
<vn-label-value label="Recycled Plastic"
|
2023-07-11 05:37:51 +00:00
|
|
|
value="{{$ctrl.summary.item.recycledPlastic}}">
|
|
|
|
</vn-label-value>
|
2023-07-11 06:41:43 +00:00
|
|
|
<vn-label-value label="Non recycled plastic"
|
2023-07-11 05:37:51 +00:00
|
|
|
value="{{$ctrl.summary.item.nonRecycledPlastic}}">
|
|
|
|
</vn-label-value>
|
2019-01-20 15:47:04 +00:00
|
|
|
</vn-one>
|
|
|
|
<vn-one name="tags">
|
2021-01-12 06:39:12 +00:00
|
|
|
<h4 ng-show="$ctrl.isBuyer || $ctrl.isReplenisher">
|
2023-01-25 14:19:33 +00:00
|
|
|
<a
|
2021-01-12 09:11:37 +00:00
|
|
|
ui-sref="item.card.tags({id:$ctrl.item.id})"
|
|
|
|
target="_self">
|
2021-01-11 09:36:20 +00:00
|
|
|
<span translate vn-tooltip="Go to">Tags</span>
|
2021-01-08 14:43:33 +00:00
|
|
|
</a>
|
|
|
|
</h4>
|
2023-01-25 14:19:33 +00:00
|
|
|
<h4
|
2021-01-12 09:11:37 +00:00
|
|
|
translate
|
2021-03-08 08:12:10 +00:00
|
|
|
ng-show="!$ctrl.isBuyer && !$ctrl.isReplenisher">
|
2021-01-12 09:11:37 +00:00
|
|
|
Tags
|
2021-01-12 06:39:12 +00:00
|
|
|
</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>
|
2022-08-10 10:13:31 +00:00
|
|
|
<vn-one name="description" ng-if="$ctrl.summary.item.description">
|
|
|
|
<h4 ng-show="$ctrl.isBuyer">
|
2023-01-25 14:19:33 +00:00
|
|
|
<a
|
2022-08-10 10:13:31 +00:00
|
|
|
ui-sref="item.card.basicData({id:$ctrl.item.id})"
|
|
|
|
target="_self">
|
|
|
|
<span translate vn-tooltip="Go to">Description</span>
|
|
|
|
</a>
|
|
|
|
</h4>
|
|
|
|
<h4
|
2023-01-25 14:19:33 +00:00
|
|
|
translate
|
2022-08-10 10:13:31 +00:00
|
|
|
ng-show="!$ctrl.isBuyer">
|
|
|
|
Description
|
|
|
|
</h4>
|
|
|
|
<p>
|
|
|
|
{{$ctrl.summary.item.description}}
|
|
|
|
</p>
|
|
|
|
</vn-one>
|
2019-01-20 15:47:04 +00:00
|
|
|
<vn-one name="tax">
|
2021-01-12 06:39:12 +00:00
|
|
|
<h4 ng-show="$ctrl.isBuyer || $ctrl.isAdministrative">
|
2023-01-25 14:19:33 +00:00
|
|
|
<a
|
2021-01-12 09:11:37 +00:00
|
|
|
ui-sref="item.card.tax({id:$ctrl.item.id})"
|
|
|
|
target="_self">
|
2021-01-11 09:36:20 +00:00
|
|
|
<span translate vn-tooltip="Go to">Tax</span>
|
2021-01-08 14:43:33 +00:00
|
|
|
</a>
|
|
|
|
</h4>
|
2023-01-25 14:19:33 +00:00
|
|
|
<h4
|
2021-01-12 09:11:37 +00:00
|
|
|
translate
|
2021-03-08 08:12:10 +00:00
|
|
|
ng-show="!$ctrl.isBuyer && !$ctrl.isAdministrative">
|
2021-01-12 09:11:37 +00:00
|
|
|
Tax
|
2021-01-12 06:39:12 +00:00
|
|
|
</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="botanical">
|
2021-01-12 06:39:12 +00:00
|
|
|
<h4 ng-show="$ctrl.isBuyer">
|
2023-01-25 14:19:33 +00:00
|
|
|
<a
|
2021-01-12 09:11:37 +00:00
|
|
|
ui-sref="item.card.botanical({id:$ctrl.item.id})"
|
|
|
|
target="_self">
|
2021-01-11 09:36:20 +00:00
|
|
|
<span translate vn-tooltip="Go to">Botanical</span>
|
2021-01-08 14:43:33 +00:00
|
|
|
</a>
|
|
|
|
</h4>
|
2023-01-25 14:19:33 +00:00
|
|
|
<h4
|
2021-01-12 09:11:37 +00:00
|
|
|
translate
|
|
|
|
ng-show="!$ctrl.isBuyer">
|
|
|
|
Botanical
|
2021-01-12 06:39:12 +00:00
|
|
|
</h4>
|
2023-01-25 14:19:33 +00:00
|
|
|
<vn-label-value label="Genus"
|
2021-03-04 06:56:31 +00:00
|
|
|
value="{{$ctrl.summary.botanical.genus.name}}">
|
2019-01-20 15:47:04 +00:00
|
|
|
</vn-label-value>
|
2023-01-25 14:19:33 +00:00
|
|
|
<vn-label-value label="Specie"
|
2021-03-04 06:56:31 +00:00
|
|
|
value="{{$ctrl.summary.botanical.specie.name}}">
|
2019-01-20 15:47:04 +00:00
|
|
|
</vn-label-value>
|
|
|
|
</vn-one>
|
|
|
|
<vn-one name="barcode">
|
2021-01-12 06:39:12 +00:00
|
|
|
<h4 ng-show="$ctrl.isBuyer || $ctrl.isReplenisher">
|
2023-01-25 14:19:33 +00:00
|
|
|
<a
|
2021-01-12 09:11:37 +00:00
|
|
|
ui-sref="item.card.itemBarcode({id:$ctrl.item.id})"
|
|
|
|
target="_self">
|
2021-01-11 09:36:20 +00:00
|
|
|
<span translate vn-tooltip="Go to">Barcode</span>
|
2021-01-08 14:43:33 +00:00
|
|
|
</a>
|
|
|
|
</h4>
|
2023-01-25 14:19:33 +00:00
|
|
|
<h4
|
2021-01-12 09:11:37 +00:00
|
|
|
translate
|
2021-03-08 08:12:10 +00:00
|
|
|
ng-show="!$ctrl.isBuyer && !$ctrl.isReplenisher">
|
2021-01-12 09:11:37 +00:00
|
|
|
Barcode
|
2021-01-12 06:39:12 +00:00
|
|
|
</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>
|
2023-01-25 14:19:33 +00:00
|
|
|
<vn-worker-descriptor-popover
|
2020-09-03 13:11:16 +00:00
|
|
|
vn-id="workerDescriptor">
|
2023-01-25 14:19:33 +00:00
|
|
|
</vn-worker-descriptor-popover>
|