fix: Not able to save salary slip
This commit is contained in:
parent
3fa54905a2
commit
72264697be
@ -446,7 +446,7 @@ class SalarySlip(TransactionBase):
|
||||
else:
|
||||
component_row.additional_amount = amount
|
||||
|
||||
if not overwrite:
|
||||
if not overwrite and component_row.default_amount:
|
||||
amount += component_row.default_amount
|
||||
|
||||
component_row.amount = amount
|
||||
|
Loading…
x
Reference in New Issue
Block a user