# Version 1 Status

Last checked: 2026-06-14

## Status

Version 1 is complete for the agreed internal operations MVP.

## Completed In Version 1

- Unified project folder at `D:\laragon\www\pizza-damore`.
- React mobile-first frontend.
- Laravel REST API backend.
- MySQL database `pizza_damore`.
- Root README with setup, run, test, and login instructions.
- Login page.
- Simple bearer API token authentication.
- Owner/manager route-level access rules.
- Users table with role, phone, employee link, active status, and API token.
- Dashboard API and frontend.
- Dashboard filters for today, yesterday, week, month, and custom date range.
- Inventory item API and add item form.
- Inventory item edit and deactivate controls.
- Inventory search.
- Searchable inventory item selector for purchases and stock adjustments.
- Nullable inventory item cost.
- Inventory aliases for command matching.
- Manual stock adjustment for stock in, stock out, waste, and correction.
- Inventory movement history API and screen.
- Inventory purchase API and record purchase form.
- Purchase history screen.
- Low-stock alerts.
- Typed inventory command parser.
- Employee API, add employee form, and employee list screen.
- Employee edit and deactivate controls.
- Shift API, create shift form, and shift schedule screen.
- Shift edit and cancel controls.
- Timesheet generation from shifts.
- Manual timesheet form.
- Timesheet edit and delete controls.
- Worked-hours calculation.
- Overnight shift calculation for shifts ending after midnight.
- Hourly-rate snapshot.
- Editable hourly-rate snapshot on timesheets.
- Estimated pay calculation.
- Timesheet approval.
- Timesheet payment tracking for unpaid, partially paid, and paid wages.
- Labor cost included in operational profit.
- Sales API, add sales form, and sales history screen.
- Sales edit and delete controls.
- Expense API, add expense form, and expense history screen.
- Expense edit and delete controls.
- Basic reports page for sales, expenses, labor, and profit.
- Seed demo owner, employees, inventory, sales, expenses, and shifts.
- Backend feature tests for core Version 1 API flows and maintenance update/delete flows.
- Frontend lint and build pass.
- Laravel tests pass.
- API smoke checks pass.
- Browser smoke test passes.
- Currency displays in euros.
- Future shifts are visible by default through the next 14 days range.

## Deferred Beyond Version 1

- Voice commands.
- WhatsApp or external message commands.
- Menu items and recipes.
- Recipe-based inventory deduction.
- Push notifications.
- Multi-branch support.
- Advanced payroll.
- POS or delivery platform integrations.

## Added After Version 1

- Polished mobile-first login and dashboard design.
- Employee portal for employee-role accounts.
- Employee check-in and check-out flow.
- Demo employee login accounts.
- Manager review screen for uncertain inventory commands.
- Stock count submission and approval workflow.
- Stock count reconciliation creates inventory adjustment movement records.
- PWA manifest and service worker registration for production builds.
- Lightweight login rate limiting.

## Notes

- The current UI is a compact MVP interface, not the final polished production design.
- Auth is intentionally simple for Version 1 and should be hardened before real deployment.
- Tests currently use the current MySQL database as requested; reseed after tests when demo data is needed.
