From 3faa808b9db796480f6520e83d0eeea9c0154d1b Mon Sep 17 00:00:00 2001 From: sinergia Date: Thu, 27 Jul 2023 07:36:04 -0500 Subject: [PATCH] Bug --- api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api.py b/api.py index 9c26877..f1466f2 100644 --- a/api.py +++ b/api.py @@ -77,7 +77,7 @@ def print_bill(data, address): printer.text("Recuerde que la propina es voluntaria.\n") printer.text("Gracias por visitarnos, vuelva pronto.\n") printer.text("SOFTWARE POTENCIADO POR ONECLUSTER.ORG.\n") - printer.text("Pedido Por: " + str(d['user'])+ '\n') + #printer.text("Pedido Por: " + str(d['user'])+ '\n') format_date_time = datetime.now().strftime('%Y-%m-%d %H:%M:%S') printer.text(str(format_date_time)+'\n') @@ -101,7 +101,7 @@ def print_customer_order(data, address): # Imprime el encabezado printer.set(align='center', bold=False, height=1, width=1) - printer.text("Pedido Por: " + str(d['user'])+ '\n') + #printer.text("Pedido Por: " + str(d['user'])+ '\n') format_date_time = datetime.now().strftime('%Y-%m-%d %H:%M:%S') printer.text(str(format_date_time)+'\n') printer.set(align='center', bold=False, height=2, width=2, custom_size=True)