diff --git a/app/reporting.py b/app/reporting.py index 5a28639..c5cd2c8 100755 --- a/app/reporting.py +++ b/app/reporting.py @@ -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)