Skip to Content
Menu
This question has been flagged
3248 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
6796
2
Dec 19
4511
0
Jul 19
4992
1
Sep 25
675
1
May 25
2008