mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 17:04:47 +00:00
fix: Other charges on income tax (#22798)
This commit is contained in:
@@ -776,10 +776,10 @@ class SalarySlip(TransactionBase):
|
|||||||
|
|
||||||
# other taxes and charges on income tax
|
# other taxes and charges on income tax
|
||||||
for d in tax_slab.other_taxes_and_charges:
|
for d in tax_slab.other_taxes_and_charges:
|
||||||
if flt(d.min_taxable_income) and flt(d.min_taxable_income) > tax_amount:
|
if flt(d.min_taxable_income) and flt(d.min_taxable_income) > annual_taxable_earning:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if flt(d.max_taxable_income) and flt(d.max_taxable_income) < tax_amount:
|
if flt(d.max_taxable_income) and flt(d.max_taxable_income) < annual_taxable_earning:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
tax_amount += tax_amount * flt(d.percent) / 100
|
tax_amount += tax_amount * flt(d.percent) / 100
|
||||||
|
|||||||
Reference in New Issue
Block a user