File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
hrms/payroll/doctype/salary_slip Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1018,15 +1018,15 @@ def compute_current_and_future_taxable_earnings(self):
10181018 # get taxable_earnings for current period (all days)
10191019 self .current_taxable_earnings = self .get_taxable_earnings (self .tax_slab .allow_tax_exemption )
10201020 self .future_structured_taxable_earnings = self .current_taxable_earnings .taxable_earnings * (
1021- ceil (self .remaining_sub_periods ) - 1
1021+ round (self .remaining_sub_periods ) - 1
10221022 )
10231023
10241024 current_taxable_earnings_before_exemption = (
10251025 self .current_taxable_earnings .taxable_earnings
10261026 + self .current_taxable_earnings .amount_exempted_from_income_tax
10271027 )
10281028 self .future_structured_taxable_earnings_before_exemption = (
1029- current_taxable_earnings_before_exemption * (ceil (self .remaining_sub_periods ) - 1 )
1029+ current_taxable_earnings_before_exemption * (round (self .remaining_sub_periods ) - 1 )
10301030 )
10311031
10321032 # get taxable_earnings, addition_earnings for current actual payment days
You can’t perform that action at this time.
0 commit comments