Skip to Content
Menu
This question has been flagged
3097 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
6536
2
Dec 19
4380
0
Jul 19
4821
1
Sep 25
521
1
May 25
1718