Project

General

Profile

Actions

Development #7150

open

Feature #7148: End of Shift / Terminal Shift Management (M11)

Validate shift after user login

Added by Kyle Chong 3 months ago. Updated 3 months ago.

Status:
New
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Complete Date:

Description

Refer to:

  • docs/planning/modules/M11_End_Of_Shift.md
  • docs/planning/modules/M01_Login_Auth.md

Integrate M11 with the POS+ login flow.

Scope:

  • After successful M01 authentication, check the user's current shift status.
  • Detect active shift on the current terminal.
  • Detect active shift belonging to another terminal where applicable.
  • Detect stale/unclosed previous shift.
  • Determine whether the current user may open a new shift.
  • Route user to Shift Opening when a cashier has no active shift.
  • Allow authorised non-sales functions without forcing every user to open a cashier shift.
  • Do not duplicate authentication logic inside M11.

Important behaviour:

Login Success + Active Shift → Enter POS Sales

Login Success + No Active Shift → Sales Blocked → Open Shift / Allowed Non-Sales Functions

Done when: Every authenticated POS user has a clearly resolved shift state before entering normal cashier operations.

Actions

Also available in: Atom PDF