Skip to main content

HTML Prototype — Cashier & Shift Management

Light-theme static HTML prototype dựa trên tài liệu yêu cầu Cashier & Shift Management Soft Release.

Mở prototype

Mở file index trong trình duyệt — không cần server hay thư viện ngoài:

Mở Prototype Index

Hoặc chạy local docs site (npm run start trong site-documents) rồi mở http://localhost:3000/prototypes/cashier-management/index.html.

Portal bao gồm

PortalMàn hình
Shop PortalCashier accounts, devices, scheduling, exceptions, approvals, reconciliation, reports
Cashier PortalLogin, assigned shift, opening cash, active transactions, cash drop, closing count, handover

Luồng đầy đủ cho một scheduled shift lifecycle:

Create Shift → Opening Cash → Cash Transactions → Closing → Manager Review

Bắt đầu từ Shift Schedule hoặc theo thứ tự bên dưới.


Shop Portal screens

Màn hìnhFileRequirementsMục đích
Prototype Indexindex.htmlTổng quan scope
Cashier Managementshop-cashiers.htmlFR-CA-001, FR-CA-002, FR-CA-003, NFR-009Danh sách tài khoản Cashier
Cashier Detailshop-cashier-detail.htmlFR-CA-003, FR-DV-002, FR-DV-003, FR-SP-001Profile / device authorization
Device Managementshop-devices.htmlFR-DV-001..004, FR-SP-003Quản lý thiết bị
Shift Scheduleshop-shifts.htmlFR-SH-001..005Lịch shift
Create / Edit Shiftshop-shift-form.htmlFR-SH-001..006Tạo/sửa shift, conflict validation
Shift Detailshop-shift-detail.htmlFR-ST-001..004, FR-TX-003, FR-SP-001..002Lifecycle chi tiết
Exception Queueshop-exceptions.htmlFR-NS-001..003, FR-SP-002, FR-AC-001No-show / suspend / auto-lock
Redemption Approvalsshop-redemption-approvals.htmlFR-TX-002, FR-TX-005Duyệt redemption
Manager Reconciliationshop-reconciliation.htmlFR-CL-001..009Đối soát Manager
Shift Reportsshop-reports.htmlFR-RP-*, NFR-005, NFR-010Báo cáo / audit

Cashier Portal screens

Màn hìnhFileRequirementsMục đích
Logincashier-login.htmlFR-CA-001, FR-DV-001Đăng nhập / device check
My Shiftcashier-home.htmlFR-ST-001..003, NFR-009Shift được assign
Opening Cashcashier-opening-cash.htmlFR-ST-002..004, NFR-001Đếm denomination đầu ca
Active Shiftcashier-active-shift.htmlFR-TX-001..005Deposit / redemption
Cash Dropcashier-cash-drop.htmlFR-CD-001..004Cash drop
Closing Countcashier-closing.htmlFR-CL-001..005Blind closing count
Shift Handovercashier-handover.htmlFR-HO-001..004Bàn giao ca

Prototype behavior

  • Forms và buttons demo trạng thái qua client-side JavaScript (app.js).
  • Dữ liệu là sample-only, không persist.
  • Toast messages và modals minh họa state transitions.

Files trong static

site-documents/static/prototypes/cashier-management/
├── index.html
├── shop-*.html (10 màn hình Shop Portal)
├── cashier-*.html (7 màn hình Cashier Portal)
├── app.js
├── styles.css
├── prototype_manifest.json
├── requirements_traceability.csv
└── README.md

Out of scope (prototype)

Break time · Fixed/flexible shift types · Recurring schedules · Shift templates · Overtime · Payroll · Formal timekeeping · Online swap/coverage workflows