Skip to Content
Menu
This question has been flagged
2063 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
2
Dec 19
2925
0
Jul 19
3388
3
Jul 19
4763
1
Dec 24
394
0
Nov 24
107