Skip to content

Commit 4d1f126

Browse files
committed
updated accounting
1 parent 5685032 commit 4d1f126

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

satcfdi/accounting/formatters.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,7 @@ def format_fecha_pago(payment: PaymentsDetails):
4949
if payment.pago:
5050
return payment.pago["FechaPago"]
5151

52-
def_pagado = payment.comprobante.saldo_pendiente() == 0
53-
if def_pagado:
54-
return payment.comprobante["Fecha"]
55-
else:
56-
return "Pendiente"
52+
return payment.comprobante["Fecha"]
5753

5854

5955
def format_estado_cfdi(cfdi: SatCFDI):

0 commit comments

Comments
 (0)