add prefix in print authorization

This commit is contained in:
Wilson Gomez 2023-11-07 16:07:09 -05:00
parent 3d6ab678fe
commit c36e7277d5
1 changed files with 2 additions and 1 deletions

View File

@ -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