From b078ecca06e96b6aae71c08664c08b998ece6039 Mon Sep 17 00:00:00 2001 From: aserrador Date: Tue, 21 Oct 2025 12:34:04 -0500 Subject: [PATCH] feat: Se agregan ejemplos para impresion en consola --- Api/bill_example.py | 6 ++++++ Api/customer_order_example.py | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 Api/bill_example.py create mode 100644 Api/customer_order_example.py diff --git a/Api/bill_example.py b/Api/bill_example.py new file mode 100644 index 0000000..3ff1846 --- /dev/null +++ b/Api/bill_example.py @@ -0,0 +1,6 @@ +from formats import print_bill +from tools import load_json + +if __name__ == "__main__": + data = load_json('./test/fixtures/bill.json') + print_bill(data, "", "") diff --git a/Api/customer_order_example.py b/Api/customer_order_example.py new file mode 100644 index 0000000..f3d7d52 --- /dev/null +++ b/Api/customer_order_example.py @@ -0,0 +1,6 @@ +from formats import print_customer_order +from tools import load_json + +if __name__ == "__main__": + data = load_json('./test/fixtures/customer_order.json') + print_customer_order(data, "", "")