← back to reference index ← dashboard

BentaOS

by SchedHubPH

Live-synced with Inventory Ana R. · clocked in 9:02 Counter 1 · cash session open · float ₱2,000 →
STATUS: interactive demo — behavior shown here is the intended contract
Manage stock →

Every product here is a Product/SKU (§13) — each sale deducts from Inventory in real time (a dish takes its recipe’s ingredients, D118), which is what makes this checkout screen work equally well for a full-service restaurant or a grocery/sari-sari store selling by SKU count.

Implementation notes for Cursor

Entities: Order/OrderLineItem, Product (SKU, price, stock), Payment (method, §4/D26), InventoryMovement (auto-created per sale).

Key states: tapping a product decrements its live stock count client-side here for demo purposes — the real deduction happens server-side on order line creation, atomically, to avoid overselling under concurrent checkouts. Low-stock banner threshold (≤10) and out-of-stock disabling should read the same reorder-point config used on the Inventory page, not a separate hardcoded number. "Add" tile is Manager+/Owner-only (§5.1/D20) and only picks from existing Inventory `Product` rows — no freetext product creation here (§13, D25) to keep POS and Inventory catalogs in sync.

Forbidden inventions: never add VAT on top of the displayed price. Prices are VAT-inclusive and VAT is extracted (§19, D35, provisional). Payment (incl. split tender) happens on pos-payment.html and the drawer on pos-cash-session.html (§13a, D36). Void/park stay unwired here (see button titles).

Governs: §13 (POS/Inventory, Product/SKU, discounts D47), §4/D26 (Payment.method), D15 (BentaOS surfaces), D25 (catalog-only product add), D35 (VAT-inclusive totals), D36 (payment/void rules), D38 (stock per Location, provisional).