Merge pull request #2819 from brkcvn/master

Condition added into the tax for exception
This commit is contained in:
Burak Civan 2022-12-14 11:48:27 +03:00 committed by GitHub
commit 353942eb20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -470,11 +470,13 @@ const app = new Vue({
let selected_tax;
if (this.dynamic_taxes.length) {
this.dynamic_taxes.forEach(function(tax) {
if (tax.id == this.tax_id) {
selected_tax = tax;
}
}, this);
}
this.items[item_index].tax_ids.push({
id: selected_tax.id,