This commit is contained in:
parent
d167c8208a
commit
9ba426e2e6
|
@ -634,7 +634,7 @@ class Receipt(object):
|
|||
self._printer.set(custom_size=True, width=1, height=2)
|
||||
print('order_lines >>>>> ', order['lines'])
|
||||
for line in order['lines']:
|
||||
qty = str(int(line['quantity']))
|
||||
qty = ' ' + str(int(Decimal(line['quantity'])))
|
||||
self._printer.set(custom_size=True, width=1, height=2)
|
||||
self.print_col(qty, self.order_col_1)
|
||||
self.print_col(line['name'], col_width_name)
|
||||
|
|
Loading…
Reference in New Issue