/live/orders, is the central hub for every transaction your clinic processes. Whether an order was created by a staff member or drafted automatically by the SMS bot, it shows up here. The board tracks each order through its lifecycle and feeds your revenue and KPI tiles.
Order Statuses
Every order carries one status. The status vocabulary (defined in code) is:“Awaiting fulfillment” is not a stored status, it is a derived view meaning
requested or invoiced. The dashboard triage card and the ?status=awaiting filter both use this definition.Creating a New Order
1
Open the new order form
Click New Order on the order board.
2
Select the customer
Search for an existing customer by name or phone. Orders must attach to an existing customer record.
3
Pick a product
Use the searchable product picker. Selecting a product auto-fills its catalog price from the menu.
4
Set channel, payment source, and fees
The channel records how the order was initiated (e.g. in-clinic, phone, SMS bot); payment source records the payment method. An optional Uber fee is captured for the daily-sales ledger.
5
Save the order
Order writes are atomic (header + lines in one transaction) and append an audit-log entry.
Editing an Order
Open an order to edit its products, prices, channel, payment source, and delivery details, or to advance its status. Every change is written atomically and recorded in the activity log (Settings).Awaiting payment
At the top of the Orders screen, an Awaiting payment section lists every SMS-bot draft that has a payment link sent but not yet paid. Each row shows the customer, the items, the amount that was quoted and sent, how long ago the link went out, and a Copy link button so you can resend or follow up. The header shows the count and the total dollar value of outstanding links.Awaiting-payment orders are not counted in revenue, LTV, or P&L. A row only appears when it is backed by a real sent invoice (an actual payment link), so it always reflects a link a customer genuinely received. When the customer pays, the order leaves this section, moves into the board, and starts counting toward revenue.
Revenue and the payment gate
An order contributes to revenue once it reachespaid. Orders in requested/invoiced (and pending_payment drafts) are not yet counted. This keeps unearned revenue out of your P&L by construction, financials only reflect real, paid transactions.
Filtering by Status
Use the status filter at the top of the board, or deep-link with the?status= URL parameter:
SMS Bot Orders
When a customer texts the bot to reorder, the bot creates a draft order on thesms-bot channel. That draft stays in pending_payment (invisible) until the customer pays the link, at which point it commits to paid and the clinic is notified. You then advance it the same way as any other order.
Only customers with a phone number on file can be recognized by the SMS bot. A customer with no phone is unknown to the bot by design.
