Bug
This commit is contained in:
parent
0a88ed2683
commit
3faa808b9d
4
api.py
4
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)
|
||||
|
Loading…
Reference in New Issue
Block a user