# Build order

Completed: framework installation, bound-SQL models, MySQL schema/seed, local first-manager setup, staff permissions, live dashboard, management CRUD, opening stock/adjustments, recipes/supplies, persisted POS bills, payment/fulfillment and cancellation/full refund before stock use.

Next:

1. Implement purchase orders, accepted partial receipts, unit conversion and supplier balances/payments.
2. Implement batch recipes/production, waste and physical count documents.
3. Implement unpaid-loss closure and approved bill correction rules.
4. Implement public QR menu/requests, scoped tokens, acceptance/rejection and retry/rate limits.
5. Implement detailed sales/stock/purchasing reports.
6. Validate multi-process concurrency, reconciliation, backup restore and production configuration.

Keep acceptance checks around actual stock/payment transactions. Payment must leave stock unchanged; fulfillment consumes once; stock shortage rolls back the entire action. Preserve the owner's original documents and data.
