Project

General

Profile

Development #7151

Updated by Kyle Chong 3 months ago

Refer to: 

 * docs/planning/modules/M11_End_Of_Shift.md 
 * docs/planning/modules/M10_Cash_Movement.md 

 Implement the process for opening a cashier shift. 

 Scope: 

 * Validate logged-in user. 
 * Validate Store/Terminal. 
 * Validate drawer where applicable. 
 * Ensure an incompatible End of Shift (M11) (docs/planning/modules/M11_EOS.md). Build shift is not already active. 
 * Capture/open Shift ID. 
 * Record opening date/time. 
 * Record cashier. 
 * Request opening float where applicable. 
 * Create opening cash movement through M10. 
 * Support configured/default opening float. 
 * Handle supervisor approval where required. 
 * Mark the shift Active only after required opening steps succeed. 
 * Persist shift locally for offline operation. 

 Expected flow: 

 Login → No Active Shift → Open Shift → Opening Float → Shift Active 

 count and close: blind count, variance, approval, report and immutable close record. Done when: A cashier can open a valid shift and POS sales become available only after the shift is successfully activated. when all linked shift-close scenarios pass.

Back