Skip to content

Commit

Permalink
Work with 5 periods
Browse files Browse the repository at this point in the history
  • Loading branch information
eberloso committed Dec 9, 2020
1 parent 319f987 commit c982d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gestionatr/helpers/funcions.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def codi_dh(tarifa, nlectures=6):
elif tarifa in ('003', '012', '013', '014', '015', '016', '017'):
return '6'
elif tarifa == '011':
if nlectures == 6:
if nlectures in (6, 5):
return '6'
else:
return '3'
Expand Down

0 comments on commit c982d49

Please sign in to comment.