From 9ba426e2e627dd4f0a790e099b8d12b7dedacbac Mon Sep 17 00:00:00 2001 From: Oscar Alvarez Date: Wed, 23 Dec 2020 20:58:35 -0500 Subject: [PATCH] m --- app/reporting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)