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 @@ -715,7 +715,7 @@ def calculate_lwp_ppl_and_absent_days_based_on_attendance(
715
715
for d in attendance_details :
716
716
if d .leave_type and d .leave_type not in leave_type_map .keys ():
717
717
continue
718
-
718
+
719
719
# Check if attendance date is a holiday
720
720
if getdate (d .attendance_date ) in holidays :
721
721
if credit_present_on_holidays :
@@ -724,7 +724,7 @@ def calculate_lwp_ppl_and_absent_days_based_on_attendance(
724
724
elif d .status == "Half Day" :
725
725
absent -= (1 - daily_wages_fraction_for_half_day )
726
726
continue
727
-
727
+
728
728
elif not consider_absent_on_holidays :
729
729
if d .status in ["Absent" , "Half Day" ] or (
730
730
d .leave_type and not leave_type_map [d .leave_type ]["include_holiday" ]
You can’t perform that action at this time.
0 commit comments