Ektafe Brew Manor ERP

Service-flow foundation. Running order first, final bill later.

Role session

Login by role

Select a role, choose the staff member, then enter PIN. This keeps entry fast during service and prevents spelling mistakes.

Role
PIN / password
Select staff
No staff selected yet.
Role access uses the role_users table. Counter and Kitchen can have multiple accounts under the same role.
Launch modules

Shared role-based ERP

These screens now point at the current live roles on one shared workflow: owner/admin oversight, manager controls, counter POS, and kitchen/service execution.

Core logic

Corrected service flow

1. Open running order
Create order first. Do not bill yet.
2. Send items to kitchen
Kitchen and counter see live prep state.
3. Staff serves when ready
Ready items move to service staff queue.
4. Add more items later
The same order stays open until customer is leaving.
5. Final bill at departure
Attach member, apply stars/discounts, collect payment, close order.
Current schema baseline

SQL patch already used by this build

This workspace still depends on sql/03_service_flow_patch.sql for running orders, kitchen progression, serving, and final billing. Owner/Admin reporting also expects daily_closings and Manager expects the manager-side support tables you listed.