From 3b804f2c34387289775ec8c687b8f8cb47aa5c31 Mon Sep 17 00:00:00 2001 From: consultoria-as Date: Tue, 31 Mar 2026 04:09:25 +0000 Subject: [PATCH] feat(pos): register invoicing + accounting blueprints --- pos/app.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pos/app.py b/pos/app.py index 9669382..fe55968 100644 --- a/pos/app.py +++ b/pos/app.py @@ -25,6 +25,12 @@ def create_app(): from blueprints.cashregister_bp import cashregister_bp app.register_blueprint(cashregister_bp) + from blueprints.invoicing_bp import invoicing_bp + app.register_blueprint(invoicing_bp) + + from blueprints.accounting_bp import accounting_bp + app.register_blueprint(accounting_bp) + # Health check @app.route('/pos/health') def health(): @@ -52,6 +58,14 @@ def create_app(): def pos_customers(): return render_template('customers.html') + @app.route('/pos/invoicing') + def pos_invoicing(): + return render_template('invoicing.html') + + @app.route('/pos/accounting') + def pos_accounting(): + return render_template('accounting.html') + @app.route('/pos/static/') def pos_static(filename): return send_from_directory('static', filename)