Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
satcfdi committed Mar 17, 2024
1 parent 014f64f commit 36540ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion satdigitalinvoice/formatting_functions/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def get_month_name(month_number):


def delta_tiempo(duracion):
if duracion.months == 12:
months = duracion.years * 12 + duracion.months
if months == 12:
return 'UN AÑO'
return num_letras(duracion.months) + ' MESES'

0 comments on commit 36540ca

Please sign in to comment.