salix/client/item/src/summary/index.html

108 lines
5.2 KiB
HTML
Raw Normal View History

<vn-card class="summary">
2018-02-20 11:33:17 +00:00
<vn-vertical pad-medium>
<vn-horizontal>
2018-04-16 06:25:45 +00:00
<vn-auto margin-medium>
<vn-vertical>
<vn-one>
<h5 text-center pad-small-v class="title">{{$ctrl.item.id}}</h5>
2018-04-16 06:25:45 +00:00
</vn-one>
<vn-one>
<img
ng-src="//verdnatura.es/vn-image-data/catalog/200x200/{{::$ctrl.item.image}}"
zoom-image="//verdnatura.es/vn-image-data/catalog/1600x900/{{::$ctrl.item.image}}" on-error-src/>
2018-04-16 06:25:45 +00:00
</vn-one>
<vn-horizontal class="state">
<vn-one>
<p class="title" uppercase text-center>Visible</p>
<h5 class="title" text-center>{{::$ctrl.summary.visible}}</h5>
</vn-one>
<vn-one>
<p class="title" uppercase translate text-center>Available</p>
<h5 text-center class="title">{{::$ctrl.summary.available}}</h5>
</vn-one>
</vn-horizontal>
2018-04-16 06:25:45 +00:00
</vn-vertical>
</vn-auto>
2018-02-20 11:33:17 +00:00
<vn-one margin-medium>
2018-04-17 12:49:55 +00:00
<vn-vertical name="basicData">
2018-02-20 11:33:17 +00:00
<h5 translate>Basic data</h5>
<vn-label-value label="Name"
value="{{::$ctrl.summary.item.name}}">
</vn-label-value>
<vn-label-value label="Full name"
value="{{::$ctrl.summary.item.longName}}">
</vn-label-value>
<vn-label-value label="Type"
value="{{::$ctrl.summary.item.itemType.name}}">
</vn-label-value>
2018-06-21 07:11:25 +00:00
<vn-label-value label="Intrastat code"
value="{{::$ctrl.summary.item.intrastat.id}}">
2018-06-21 07:11:25 +00:00
</vn-label-value>
<vn-label-value label="Intrastat"
value="{{::$ctrl.summary.item.intrastat.description}}">
</vn-label-value>
<vn-label-value label="Relevancy"
value="{{::$ctrl.summary.item.relevancy}}">
</vn-label-value>
<vn-label-value label="Origin"
value="{{::$ctrl.summary.item.origin.name}}">
</vn-label-value>
<vn-label-value label="Expence"
value="{{::$ctrl.summary.item.expence.name}}">
</vn-label-value>
<vn-label-value label="Buyer"
value="{{::$ctrl.summary.item.itemType.worker.firstName}} {{::$ctrl.summary.item.itemType.worker.name}}">
</vn-label-value>
2018-02-20 11:33:17 +00:00
</vn-vertical>
</vn-one>
<vn-one margin-medium>
2018-04-17 12:49:55 +00:00
<vn-vertical name="tax">
2018-03-08 08:47:56 +00:00
<h5 translate>Tax</h5>
<vn-label-value label="{{::tax.country.country}}" ng-repeat="tax in $ctrl.summary.item.taxes track by $index"
value="{{::tax.taxClass.description}}">
</vn-label-value>
2018-02-20 11:33:17 +00:00
</vn-vertical>
</vn-one>
</vn-horizontal>
<vn-horizontal>
2018-03-08 08:47:56 +00:00
<vn-one margin-medium>
2018-04-17 12:49:55 +00:00
<vn-vertical name="tags">
<h5 translate>Tags</h5>
<vn-label-value label="{{::tag.tag.name}}" ng-repeat="tag in $ctrl.summary.tags track by tag.id"
value="{{::tag.value}}">
2018-04-17 12:49:55 +00:00
</vn-label-value>
</vn-vertical>
2018-03-08 08:47:56 +00:00
</vn-one>
2018-02-20 11:33:17 +00:00
<vn-one margin-medium>
2018-04-17 12:49:55 +00:00
<vn-vertical name="niche">
<h5 translate>Niche</h5>
<vn-label-value label="{{::niche.warehouse.name}}" ng-repeat="niche in $ctrl.summary.niches track by $index"
value="{{::niche.code}}">
</vn-label-value>
2018-02-20 11:33:17 +00:00
</vn-vertical>
</vn-one>
<vn-one margin-medium>
2018-04-17 12:49:55 +00:00
<vn-vertical name="botanical">
2018-02-20 11:33:17 +00:00
<h5 translate>Botanical</h5>
<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>
2018-02-20 11:33:17 +00:00
</vn-vertical>
</vn-one>
<vn-one margin-medium>
2018-04-17 12:49:55 +00:00
<vn-vertical name="barcode">
2018-02-20 11:33:17 +00:00
<h5 translate>Barcode</h5>
2018-07-24 10:53:26 +00:00
<p ng-repeat="barcode in $ctrl.summary.item.itemBarcode track by $index">
2018-02-22 07:18:57 +00:00
<b>{{barcode.code}}</b>
2018-02-20 11:33:17 +00:00
</p>
</vn-vertical>
</vn-one>
</vn-horizontal>
</vn-vertical>
</vn-card>