minor fix

This commit is contained in:
wilsongomez 2022-06-25 11:23:31 -05:00
parent 999f616d59
commit 31f1f516f8
1 changed files with 5 additions and 4 deletions

View File

@ -700,10 +700,11 @@ class Receipt(object):
if auth_kind and sale['state'] not in ['draft']:
auth_data = self._authorizations[auth_kind]
self._printer.text(self.get_authorization(auth_data))
self.print_enter()
elif self._gta_info and sale['state'] not in ['draft']:
self._printer.text(self._gta_info)
self.print_enter()
if not short:
self.print_enter()
# elif self._gta_info and sale['state'] not in ['draft']:
# self._printer.text(self._gta_info)
# self.print_enter()
if not short:
self._printer.text('Fecha de creacion: %s' % sale["create_date"])
self._printer.ln(2)