From c36e7277d52e935460c1b66574b0508c147e2e07 Mon Sep 17 00:00:00 2001 From: Wilson Gomez Date: Tue, 7 Nov 2023 16:07:09 -0500 Subject: [PATCH] add prefix in print authorization --- app/reporting.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/reporting.py b/app/reporting.py index 6004ada..815a91c 100755 --- a/app/reporting.py +++ b/app/reporting.py @@ -1052,8 +1052,9 @@ class Receipt(object): from_auth = auth['from_auth'] to_auth = auth['to_auth'] number = auth['number'] + prefix = auth.get('prefix', "") if auth: - res = f"Autorizacion de facturacion {kind} No {number} del {start_date_auth}, habilita desde {from_auth} a {to_auth}" + res = f"Autorizacion de facturacion {kind} No {number} del {start_date_auth}, prefijo {prefix} habilita desde {from_auth} a {to_auth}" return res