correction d'une erreur sur le nombre de mois cotisés entre janv et aout
This commit is contained in:
parent
c265300548
commit
5c7287c8ee
@ -51,10 +51,10 @@ class CotisationComputes:
|
||||
|
||||
if start > 8 and end > 8:
|
||||
next_months_available = range(start, end + 1)
|
||||
elif start <= 8 and end < 9:
|
||||
next_months_available = range(start, end + 1)
|
||||
elif start > 8:
|
||||
next_months_available = range(start, 13) + range(1, end + 1 )
|
||||
elif start <= 8 and end < 9:
|
||||
next_months_available = range(start, 9)
|
||||
else:
|
||||
raise Exception("invalid start and end")
|
||||
#end if
|
||||
|
Loading…
Reference in New Issue
Block a user