watchers reducidos

This commit is contained in:
gerard 2018-07-19 14:09:50 +02:00
parent 927c3d05a8
commit 71d63aea4f
2 changed files with 17 additions and 17 deletions

View File

@ -83,8 +83,8 @@
</vn-td>
<vn-td style="text-align: center">
<img
ng-src="//verdnatura.es/vn-image-data/catalog/50x50/{{sale.image}}"
zoom-image="//verdnatura.es/vn-image-data/catalog/1600x900/{{sale.image}}"
ng-src="//verdnatura.es/vn-image-data/catalog/50x50/{{::sale.image}}"
zoom-image="//verdnatura.es/vn-image-data/catalog/1600x900/{{::sale.image}}"
on-error-src/>
</vn-td>
<vn-td ng-click="$ctrl.showDescriptor($event, sale.itemFk)"

View File

@ -6,48 +6,48 @@
<vn-horizontal class="ticketSummary__data">
<vn-one>
<vn-label-value label="State"
value="{{$ctrl.summary.tracking.state.name}}">
value="{{::$ctrl.summary.tracking.state.name}}">
</vn-label-value>
<vn-label-value label="Comercial Name"
value="{{$ctrl.summary.client.salesPerson.firstName}} {{$ctrl.summary.client.salesPerson.name}}">
value="{{::$ctrl.summary.client.salesPerson.firstName}} {{$ctrl.summary.client.salesPerson.name}}">
</vn-label-value>
<vn-label-value label="Agency"
value="{{$ctrl.summary.agencyMode.name}}">
value="{{::$ctrl.summary.agencyMode.name}}">
</vn-label-value>
<vn-label-value label="Warehouse"
value="{{$ctrl.summary.warehouse.name}}">
value="{{::$ctrl.summary.warehouse.name}}">
</vn-label-value>
<vn-label-value label="Package size"
value="{{$ctrl.summary.packages}}">
value="{{::$ctrl.summary.packages}}">
</vn-label-value>
</vn-one>
<vn-one>
<vn-label-value label="Shipped"
value="{{$ctrl.summary.shipped | date: 'dd/MM/yyyy HH:mm'}}">
value="{{::$ctrl.summary.shipped | date: 'dd/MM/yyyy HH:mm'}}">
</vn-label-value>
<vn-label-value label="Landed"
value="{{$ctrl.summary.landed | date: 'dd/MM/yyyy'}}">
value="{{::$ctrl.summary.landed | date: 'dd/MM/yyyy'}}">
</vn-label-value>
<vn-label-value label="Route"
value="{{$ctrl.summary.routeFk}}">
value="{{::$ctrl.summary.routeFk}}">
</vn-label-value>
<vn-label-value label="Address"
value="{{$ctrl.formattedAddress}}">
value="{{::$ctrl.formattedAddress}}">
</vn-label-value>
<vn-label-value label="Phone"
value="{{$ctrl.summary.address.phone}}">
value="{{::$ctrl.summary.address.phone}}">
</vn-label-value>
</vn-one>
<vn-one class="ticketSummary__notes">
<vn-label-value label="{{note.observationType.description}}" ng-repeat="note in $ctrl.summary.notes track by note.id"
value="{{note.description}}">
<vn-label-value label="{{::note.observationType.description}}" ng-repeat="note in $ctrl.summary.notes track by note.id"
value="{{::note.description}}">
</vn-label-value>
</vn-one>
<vn-one class="ticketSummary__taxes">
<section>
<p><vn-label translate>Subtotal</vn-label> {{$ctrl.summary.subTotal | currency:' €':2}}</p>
<p><vn-label translate>VAT</vn-label> {{$ctrl.summary.VAT | currency:' €':2}}</p>
<p><vn-label><strong>Total</strong></vn-label> <strong>{{$ctrl.summary.total | currency:' €':2}}</strong></p>
<p><vn-label translate>Subtotal</vn-label> {{::$ctrl.summary.subTotal | currency:' €':2}}</p>
<p><vn-label translate>VAT</vn-label> {{::$ctrl.summary.VAT | currency:' €':2}}</p>
<p><vn-label><strong>Total</strong></vn-label> <strong>{{::$ctrl.summary.total | currency:' €':2}}</strong></p>
</section>
</vn-one>
</vn-horizontal>