From 2157e8a015f803dcbe1545275ea7bf1014747efb Mon Sep 17 00:00:00 2001 From: sinergia Date: Tue, 27 Feb 2024 17:09:12 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20Se=20a=C3=B1ade=20Propina=20al=20final?= =?UTF-8?q?=20de=20la=20cuenta?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api.py b/api.py index 1ed17f7..e3745a3 100644 --- a/api.py +++ b/api.py @@ -63,6 +63,8 @@ def print_bill(data, address, waiter): printer.textln('================================================') text = "Descuento Realizado: "+str(d["total_discount"])+"\n" printer.text(text) + text = "Propina: "+str(d["total_tip"])+"\n" + printer.text(text) text = "Total (sin impuestos): "+str(d["untaxed_amount"])+"\n" printer.text(text) text = "Impuestos (INC): "+str(d["tax_amount"])+"\n"