fix reporting set bold totals
This commit is contained in:
parent
7279122984
commit
4cad1aaa84
|
@ -523,7 +523,9 @@ class Receipt(object):
|
|||
self.print_split('Subtotal Base:', money(untaxed_amount))
|
||||
self.print_split('Impuesto:', money(sale['tax_amount']))
|
||||
self.print_split('', '----------------')
|
||||
self._printer.set(bold=True, height=2)
|
||||
self.print_split('Total:', money(total_amount))
|
||||
self._printer.set(bold=False, height=1)
|
||||
net_amount = sale['total_amount']
|
||||
if not short:
|
||||
self.print_enter()
|
||||
|
@ -903,7 +905,9 @@ class Receipt(object):
|
|||
self.print_enter()
|
||||
|
||||
if self.order_kind == 'dispatch':
|
||||
self._printer.set(bold=True, height=2)
|
||||
self._printer.text('VALOR: ' + str(order['total_amount']))
|
||||
self._printer.set(bold=False, height=1)
|
||||
self.print_enter()
|
||||
if order.get('pos_notes'):
|
||||
self._printer.text(order['pos_notes'])
|
||||
|
|
Loading…
Reference in New Issue