mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-13 09:43:49 +00:00
fix: use current_tax_amount value for base_total_taxes_and_charges
(cherry picked from commit5a3fcbedb5) (cherry picked from commit7ed3c6d18a)
This commit is contained in:
committed by
Mergify
parent
b7e4fb9d83
commit
c082edabf4
@@ -1800,7 +1800,7 @@ class PaymentEntry(AccountsController):
|
||||
else:
|
||||
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"):
|
||||
self.paid_amount_after_tax = self.get("taxes")[-1].base_total
|
||||
|
||||
Reference in New Issue
Block a user