Revert "fix(Salary Slip): Consider Leave without Pay for calculation (#16926)"

This reverts commit 6343a697a2.
This commit is contained in:
Nabin Hait
2019-04-01 11:09:55 +05:30
committed by GitHub
parent 08319cecf5
commit 3d6b51089c

View File

@@ -452,7 +452,7 @@ class SalarySlip(TransactionBase):
self.set_loan_repayment()
self.net_pay = (flt(self.gross_pay) - (flt(self.total_deduction) + flt(self.total_loan_repayment))) * flt(self.payment_days / self.total_working_days)
self.net_pay = flt(self.gross_pay) - (flt(self.total_deduction) + flt(self.total_loan_repayment))
self.rounded_total = rounded(self.net_pay,
self.precision("net_pay") if disable_rounded_total else 0)