05/07 Phase 3: initial codes

This commit is contained in:
2026-05-07 12:17:19 -04:00
parent 6e5518c103
commit ce462c57b2
107 changed files with 6365 additions and 208 deletions
+28 -8
View File
@@ -92,16 +92,36 @@ def create_tenant_app(config_override=None):
from app.tenant.staff_auth.routes import staff_auth_bp
from app.tenant.checkin.routes import checkin_bp
from app.tenant.dashboard.routes import dashboard_bp
from app.tenant.locations.routes import locations_bp
from app.tenant.customers.routes import customers_bp
from app.tenant.services.routes import services_bp
from app.tenant.appointments.routes import appointments_bp
from app.tenant.pos.routes import pos_bp
from app.tenant.gift_cards.routes import gift_cards_bp
from app.tenant.staff.routes import staff_bp
from app.tenant.staff_portal.routes import staff_portal_bp
from app.tenant.booking.routes import booking_bp
from app.tenant.waitlist.routes import waitlist_bp
from app.tenant.reviews.routes import reviews_bp
from app.tenant.reconciliation.routes import reconciliation_bp
from app.tenant.settings.routes import settings_bp
flask_app.register_blueprint(tenant_auth_bp)
flask_app.register_blueprint(staff_auth_bp)
flask_app.register_blueprint(checkin_bp)
flask_app.register_blueprint(dashboard_bp)
for bp in [
tenant_auth_bp, staff_auth_bp, checkin_bp, dashboard_bp,
locations_bp, customers_bp, services_bp, appointments_bp,
pos_bp, gift_cards_bp, staff_bp, staff_portal_bp,
booking_bp, waitlist_bp, reviews_bp, reconciliation_bp,
settings_bp,
]:
flask_app.register_blueprint(bp)
# Remaining blueprints registered in Phases 36:
# locations, customers, appointments, services, pos, staff,
# staff_portal, booking, waitlist, gift_cards, reviews,
# reconciliation, inventory, marketing, reports, settings
# Phase 4+ stubs (inventory, marketing, reports)
from app.tenant.inventory.routes import inventory_bp
from app.tenant.marketing.routes import marketing_bp
from app.tenant.reports.routes import reports_bp
flask_app.register_blueprint(inventory_bp)
flask_app.register_blueprint(marketing_bp)
flask_app.register_blueprint(reports_bp)
# ── Import all models for Migrate ─────────────────────────
import app.models # noqa: F401