This commit is contained in:
Oscar Alvarez 2020-12-23 20:58:35 -05:00
parent d167c8208a
commit 9ba426e2e6
1 changed files with 1 additions and 1 deletions

View File

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