Ir al contenido
Menú
Se marcó esta pregunta
3045 Vistas

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
4
sept 25
6464
2
dic 19
4344
0
jul 19
4765
1
sept 25
457
1
may 25
1643