2628 - Remove item name from search on tag removal #466
|
@ -636,7 +636,7 @@ export default {
|
||||||
orderSummary: {
|
orderSummary: {
|
||||||
id: 'vn-order-summary vn-one:nth-child(1) > vn-label-value:nth-child(1) span',
|
id: 'vn-order-summary vn-one:nth-child(1) > vn-label-value:nth-child(1) span',
|
||||||
alias: 'vn-order-summary vn-one:nth-child(1) > vn-label-value:nth-child(2) span',
|
alias: 'vn-order-summary vn-one:nth-child(1) > vn-label-value:nth-child(2) span',
|
||||||
consignee: 'vn-order-summary vn-one:nth-child(2) > vn-label-value:nth-child(3) span',
|
consignee: 'vn-order-summary vn-one:nth-child(2) > vn-label-value:nth-child(4) span',
|
||||||
subtotal: 'vn-order-summary vn-one.taxes > p:nth-child(1)',
|
subtotal: 'vn-order-summary vn-one.taxes > p:nth-child(1)',
|
||||||
vat: 'vn-order-summary vn-one.taxes > p:nth-child(2)',
|
vat: 'vn-order-summary vn-one.taxes > p:nth-child(2)',
|
||||||
total: 'vn-order-summary vn-one.taxes > p:nth-child(3)',
|
total: 'vn-order-summary vn-one.taxes > p:nth-child(3)',
|
||||||
|
|
|
@ -209,7 +209,7 @@ class Controller extends Section {
|
||||||
|
|
||||||
removeItemName() {
|
removeItemName() {
|
||||||
this.itemName = null;
|
this.itemName = null;
|
||||||
this.applyFilters();
|
this.$.searchbar.doSearch({}, 'bar');
|
||||||
}
|
}
|
||||||
|
|
||||||
applyFilters(filter = {}) {
|
applyFilters(filter = {}) {
|
||||||
|
|
|
@ -45,6 +45,9 @@
|
||||||
<vn-label-value label="Confirmed"
|
<vn-label-value label="Confirmed"
|
||||||
value="{{$ctrl.summary.confirmed | date: 'dd/MM/yyyy HH:mm'}}">
|
value="{{$ctrl.summary.confirmed | date: 'dd/MM/yyyy HH:mm'}}">
|
||||||
</vn-label-value>
|
</vn-label-value>
|
||||||
|
<vn-label-value label="Landed"
|
||||||
|
value="{{$ctrl.summary.landed | date: 'dd/MM/yyyy HH:mm'}}">
|
||||||
|
</vn-label-value>
|
||||||
<vn-label-value label="Address"
|
<vn-label-value label="Address"
|
||||||
value="{{$ctrl.formattedAddress}}">
|
value="{{$ctrl.formattedAddress}}">
|
||||||
</vn-label-value>
|
</vn-label-value>
|
||||||
|
|
Loading…
Reference in New Issue