2628 - Remove item name from search on tag removal #466

Merged
bernat merged 2 commits from 2628-catalog_search_fix into dev 2020-11-25 06:58:50 +00:00
3 changed files with 5 additions and 2 deletions

View File

@ -636,7 +636,7 @@ export default {
orderSummary: {
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',
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)',
vat: 'vn-order-summary vn-one.taxes > p:nth-child(2)',
total: 'vn-order-summary vn-one.taxes > p:nth-child(3)',

View File

@ -209,7 +209,7 @@ class Controller extends Section {
removeItemName() {
this.itemName = null;
this.applyFilters();
this.$.searchbar.doSearch({}, 'bar');
}
applyFilters(filter = {}) {

View File

@ -45,6 +45,9 @@
<vn-label-value label="Confirmed"
value="{{$ctrl.summary.confirmed | date: 'dd/MM/yyyy HH:mm'}}">
</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"
value="{{$ctrl.formattedAddress}}">
</vn-label-value>