minor fix
This commit is contained in:
parent
999f616d59
commit
31f1f516f8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue