Set company address while making invoice from SO, don't show taxes in print if amount is zero, fixed state code

This commit is contained in:
Nabin Hait
2017-07-12 15:45:32 +05:30
parent c1a1e62c0d
commit 0a32b7a6eb
7 changed files with 33 additions and 15 deletions

View File

@@ -675,7 +675,7 @@ erpnext.taxes_and_totals = erpnext.payments.extend({
item_tax[item_code][tax.name] = [tax_rate, tax_amount];
} else {
item_tax[item_code][tax.name] = [flt(tax_data, tax_rate_precision) + "%", ""];
item_tax[item_code][tax.name] = [flt(tax_data, tax_rate_precision) + "%", "0.00"];
}
});
tax_accounts.push([tax.name, tax.account_head]);