mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-09 00:01:18 +00:00
fix: ImponibileImporto for On Previous Row Total (#18947)
This commit is contained in:
committed by
Nabin Hait
parent
0be054ae0f
commit
8c9fd62775
@@ -153,7 +153,8 @@ def get_invoice_summary(items, taxes):
|
||||
tax_rate=tax.rate,
|
||||
tax_amount=(reference_row.tax_amount * tax.rate) / 100,
|
||||
net_amount=reference_row.tax_amount,
|
||||
taxable_amount=reference_row.tax_amount,
|
||||
taxable_amount=(reference_row.tax_amount if tax.charge_type == 'On Previous Row Amount'
|
||||
else reference_row.total),
|
||||
item_tax_rate={tax.account_head: tax.rate},
|
||||
charges=True,
|
||||
type="Actual",
|
||||
|
||||
Reference in New Issue
Block a user