Development #7156
Updated by Kyle Chong 3 months ago
Refer to: * docs/planning/modules/M12_End_Of_Day.md * docs/planning/FPOS Implement configurable rules for stores that operate beyond midnight. Scope: * Support configured business-day cutoff time where required. * Support stores that perform End of Day (M12) (docs/planning/modules/M12_EOD.md). Build the EOD manually. * Support stores operating 24/7. * Allow calendar date to change while Business Date remains unchanged. * Determine screen and controlled closing sequence: readiness, sync, backup, report, retry and lock rules. Done when POS should warn that EOD is overdue. * Determine when new sales may continue against the previous Business Date. * Support store-specific operating rules. * Do not hardcode 00:00 as day rollover. * Ensure Business Date only advances through the approved EOD/rollover process. Example configuration: Business Day Cutoff = 02:00 Then: 27 Aug 00:30 → Business Date 26 Aug 27 Aug 01:59 → Business Date 26 Aug EOD/Rollover completed 27 Aug 02:01 → Business Date 27 Aug The exact transition must follow the configured FPOS/POS+ business rule rather than system midnight. Done when: Different stores can operate complete once with their required business-day cutoff without misclassifying after-midnight sales. evidence and unsafe conditions are blocked.