Merge pull request #2819 from brkcvn/master
Condition added into the tax for exception
This commit is contained in:
commit
353942eb20
12
resources/assets/js/views/common/documents.js
vendored
12
resources/assets/js/views/common/documents.js
vendored
@ -470,11 +470,13 @@ const app = new Vue({
|
|||||||
|
|
||||||
let selected_tax;
|
let selected_tax;
|
||||||
|
|
||||||
this.dynamic_taxes.forEach(function(tax) {
|
if (this.dynamic_taxes.length) {
|
||||||
if (tax.id == this.tax_id) {
|
this.dynamic_taxes.forEach(function(tax) {
|
||||||
selected_tax = tax;
|
if (tax.id == this.tax_id) {
|
||||||
}
|
selected_tax = tax;
|
||||||
}, this);
|
}
|
||||||
|
}, this);
|
||||||
|
}
|
||||||
|
|
||||||
this.items[item_index].tax_ids.push({
|
this.items[item_index].tax_ids.push({
|
||||||
id: selected_tax.id,
|
id: selected_tax.id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user