Skip to Content
Menu
This question has been flagged
3253 Views

that is the wrong in this:

if worked_days.Unpaid.number_of_days > 0:

 result = 0

 else:

 if worked_days.Late.number_of_hours > 0:

 result = 0

 else:

 if worked_days.Left.number_of_hours > 0:

 result = 0

 else:

 result = 15

Avatar
Discard
Related Posts Replies Views Activity
4
Sep 25
6805
2
Dec 19
4514
0
Jul 19
4998
1
Sep 25
689
1
May 25
2023