salix/modules/item/front/summary/index.html

127 lines
6.0 KiB
HTML
Raw Normal View History

2018-12-19 10:37:30 +00:00
<vn-card class="summary">
2018-02-20 11:33:17 +00:00
<vn-vertical pad-medium>
<vn-horizontal>
2018-12-19 10:37:30 +00:00
<vn-auto margin-medium>
2018-04-16 06:25:45 +00:00
<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-12-19 07:42:07 +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-12-17 13:15:39 +00:00
<vn-label-value label="Size"
value="{{$ctrl.summary.item.itemType.size}}">
</vn-label-value>
<vn-label-value label="Origin"
value="{{$ctrl.summary.item.origin.name}}">
</vn-label-value>
<vn-label-value label="stems"
value="{{$ctrl.summary.item.origin.stems}}">
</vn-label-value>
<vn-label-value label="Buyer"
value="{{$ctrl.summary.item.itemType.worker.firstName}} {{$ctrl.summary.item.itemType.worker.name}}">
</vn-label-value>
</vn-vertical>
</vn-one>
<vn-one margin-medium>
2018-12-19 07:42:07 +00:00
<vn-vertical name="otherData">
<h5 translate>Other data</h5>
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>
2018-12-17 13:15:39 +00:00
<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>
2018-12-17 13:15:39 +00:00
<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>
<vn-label-value label="Expence"
value="{{$ctrl.summary.item.expence.name}}">
</vn-label-value>
2018-02-20 11:33:17 +00:00
</vn-one>
<vn-one margin-medium>
2018-12-17 13:15:39 +00:00
<vn-vertical name="tags">
<h5 translate>Tags</h5>
<vn-label-value label="{{tag.priority}} {{tag.tag.name}}" ng-repeat="tag in $ctrl.summary.tags track by tag.id"
value="{{tag.value}}">
</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-12-17 13:15:39 +00:00
<vn-vertical name="tax">
<h5 translate>Tax</h5>
<vn-label-value label="{{tax.country.country}}" ng-repeat="tax in $ctrl.summary.item.taxes"
value="{{tax.taxClass.description}}">
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"
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>