diff --git a/client/item/src/summary/index.html b/client/item/src/summary/index.html
index 90404014f..08c2758f3 100644
--- a/client/item/src/summary/index.html
+++ b/client/item/src/summary/index.html
@@ -8,17 +8,17 @@
+ 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/>
Visible
- {{::$ctrl.summary.visible}}
+ {{$ctrl.summary.visible}}
Available
- {{::$ctrl.summary.available}}
+ {{$ctrl.summary.available}}
@@ -27,39 +27,39 @@
Basic data
+ value="{{$ctrl.summary.item.name}}">
+ value="{{$ctrl.summary.item.longName}}">
+ value="{{$ctrl.summary.item.itemType.name}}">
+ value="{{$ctrl.summary.item.intrastat.id}}">
+ value="{{$ctrl.summary.item.intrastat.description}}">
+ value="{{$ctrl.summary.item.relevancy}}">
+ value="{{$ctrl.summary.item.origin.name}}">
+ value="{{$ctrl.summary.item.expence.name}}">
+ value="{{$ctrl.summary.item.itemType.worker.firstName}} {{$ctrl.summary.item.itemType.worker.name}}">
Tax
-
+
@@ -68,16 +68,16 @@
Tags
-
+
Niche
-
+
@@ -85,13 +85,13 @@
Botanical
+ value="{{$ctrl.summary.botanical.botanical}}">
+ value="{{$ctrl.summary.botanical.genus.latin_genus_name}}">
+ value="{{$ctrl.summary.botanical.specie.latin_species_name}}">
diff --git a/client/item/src/summary/index.js b/client/item/src/summary/index.js
index d90f93e1c..3bea01ea5 100644
--- a/client/item/src/summary/index.js
+++ b/client/item/src/summary/index.js
@@ -7,14 +7,15 @@ class Controller {
}
getSummary() {
- this.$http.get(`/item/api/Items/${this.item.id}/getSummary`).then(response => {
+ this.$http.get(`/item/api/Items/${this.item.id}/getSummary`).then((response) => {
this.summary = response.data;
});
}
$onChanges() {
- if (this.item && this.item.id)
+ if (this.item && this.item.id) {
this.getSummary();
+ }
}
}
@@ -24,6 +25,6 @@ ngModule.component('vnItemSummary', {
template: require('./index.html'),
controller: Controller,
bindings: {
- item: '<'
- }
+ item: '<',
+ },
});