Online Aggregator & Web Order Support Request
Extracted from fork anbarasakumar/FloCafe:
Overview
Adds support for taking and processing online orders coming from third-party delivery platforms or online web ordering systems (e.g. Swiggy, Zomato, UberEats, DoorDash, custom web store).
Proposed Changes
- Order Type & Cart Panel Input:
- Add
online to orderType options (counter, dine_in, takeaway, delivery, online).
- Add UI inputs in
CartPanel.tsx for selecting the online platform name and entering the external order ID.
- Schema & API Updates:
- Add
external_order_id column to orders table (main/db.ts).
- Persist
external_order_id and onlinePlatform in order creation payload (main/routes/orders.ts).
- Thermal Receipt Banner:
- Update receipt encoder (
frontend/src/lib/printer/receipt-encoder.ts) to render a prominent "ONLINE ORDER" header banner displaying the platform name and external order ID.
- Reference Commits:
- Commits
ee0bd53, 5642272, 3a9eec7, fca1af1, 048a2ff in anbarasakumar/FloCafe.
Online Aggregator & Web Order Support Request
Extracted from fork
anbarasakumar/FloCafe:Overview
Adds support for taking and processing online orders coming from third-party delivery platforms or online web ordering systems (e.g. Swiggy, Zomato, UberEats, DoorDash, custom web store).
Proposed Changes
onlinetoorderTypeoptions (counter,dine_in,takeaway,delivery,online).CartPanel.tsxfor selecting the online platform name and entering the external order ID.external_order_idcolumn toorderstable (main/db.ts).external_order_idandonlinePlatformin order creation payload (main/routes/orders.ts).frontend/src/lib/printer/receipt-encoder.ts) to render a prominent "ONLINE ORDER" header banner displaying the platform name and external order ID.ee0bd53,5642272,3a9eec7,fca1af1,048a2ffinanbarasakumar/FloCafe.