Project

General

Profile

Actions

Development #7215

closed

Feature #7213: Training Mode (M17)

Build Training Mode switch

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

Status:
Closed
Assignee:
Start date:
28/09/2026
Due date:
29/09/2026
% Done:

100%

Estimated time:
Complete Date:
29/09/2026

Description

Refer to:

  • docs/planning/modules/M17_Training_Mode.md

Implement the function for switching Cashier between Production Mode and Training Mode.

Scope:

  • Allow authorised user to enter Training Mode.
  • Do not allow mode switching while there is an active transaction.
  • When entering Training Mode:
  • Prepare/load the Training database set.
  • Switch Cashier database connections to the Training database set.
  • Set the Training Business Date.
  • When exiting Training Mode:
  • Close Training database connections.
  • Restore the Production database connections.
  • Restore the Production Business Date/context.
  • Do not require separate Training versions of existing POS modules.

Done when: Cashier can safely switch between Production and Training database contexts.

Actions

Also available in: Atom PDF