Skip to content

Commit 23cec4e

Browse files
committed
Updated
1 parent edd2634 commit 23cec4e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • satdigitalinvoice/formatting_functions

satdigitalinvoice/formatting_functions/common.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ def pesos(amount):
99
decimal_part = "{:.2f}".format(amount).split(".")[1]
1010
integer_part = num2words(int(amount), lang=LANG, to='currency').upper()
1111

12-
return "${0:,.2f} (SON: {1} {2}/100M.N.)".format(amount, integer_part, decimal_part)
12+
return "${0:,.2f} (SON: {1} {2}/100 MONEDA NACIONAL)".format(amount, integer_part, decimal_part)
1313

1414

15-
def pesos_sinletra(amount):
16-
return "${0:,.2f}".format(amount)
15+
# def pesos_sinletra(amount):
16+
# return "${0:,.2f}".format(amount)
1717

1818
def num_letras(number):
1919
return num2words(number, lang=LANG).upper()

0 commit comments

Comments
 (0)