Skip to content

Commit

Permalink
calcular ajust en periodes sense excedents
Browse files Browse the repository at this point in the history
  • Loading branch information
eberloso committed Jun 3, 2021
1 parent 0b64485 commit 5dc508c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gestionatr/input/messages/F1.py
Original file line number Diff line number Diff line change
Expand Up @@ -1841,6 +1841,8 @@ def get_consum_facturat(self, tipus, periode=None):
for concepte in self.conceptos_repercutibles:
if concepte.concepto_repercutible[0] == '7' and (not periode or concepte.concepto_repercutible[1] == periode[1]):
res.append(concepte.unidades)
if not res:
res.append(0.0)
return res

return None
Expand Down

0 comments on commit 5dc508c

Please sign in to comment.