Fixed onSelectedTax function undefined 'id' issue ( 3764853095 )
This commit is contained in:
parent
75bc117b5f
commit
574afbebd1
@ -493,6 +493,7 @@ const app = new Vue({
|
||||
}
|
||||
}, this);
|
||||
|
||||
if (selected_tax) {
|
||||
this.items[item_index].tax_ids.push({
|
||||
id: selected_tax.id,
|
||||
name: selected_tax.title,
|
||||
@ -507,6 +508,7 @@ const app = new Vue({
|
||||
this.taxes[this.tax_id] = [];
|
||||
this.taxes[this.tax_id].push(this.items[item_index].item_id);
|
||||
}
|
||||
}
|
||||
|
||||
this.tax_id = '';
|
||||
this.items[item_index].add_tax = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user