mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-21 07:38:29 +00:00
fix: use current_tax_amount value for base_total_taxes_and_charges
(cherry picked from commit 5a3fcbedb5)
This commit is contained in:
committed by
Mergify
parent
0a67d20ff8
commit
7ed3c6d18a
@@ -1800,7 +1800,7 @@ class PaymentEntry(AccountsController):
|
|||||||
else:
|
else:
|
||||||
self.total_taxes_and_charges += current_tax_amount
|
self.total_taxes_and_charges += current_tax_amount
|
||||||
|
|
||||||
self.base_total_taxes_and_charges += tax.base_tax_amount
|
self.base_total_taxes_and_charges += current_tax_amount
|
||||||
|
|
||||||
if self.get("taxes"):
|
if self.get("taxes"):
|
||||||
self.paid_amount_after_tax = self.get("taxes")[-1].base_total
|
self.paid_amount_after_tax = self.get("taxes")[-1].base_total
|
||||||
|
|||||||
Reference in New Issue
Block a user