changes in reporting.py

This commit is contained in:
Elvis 2023-09-08 09:47:22 -05:00
parent 53189db00f
commit 2324feec07
1 changed files with 3 additions and 1 deletions

View File

@ -1022,9 +1022,11 @@ class Receipt(object):
print_lines_order(order['lines'])
else:
for cat in order['lines'].values():
self._printer.set(align='center', custom_size=True, width=1, height=2)
self._printer.text(cat['name'])
self._printer.ln()
print_lines_order(cat['lines'], group=True)
self._printer.ln(2)
self._printer.ln()
self.print_enter()
self.print_horinzontal_double_line()