Development #7189
Updated by Kyle Chong 3 months ago
Refer to: * docs/planning/modules/M16_POS_Setup.md POS Setup — Profile & Key Mapping (M16) (docs/planning/modules/M16_POS_Setup.md). Build the common POS Setup framework used by all M16 configuration screens. Scope: * Load existing POS configuration. * Edit configuration. * setup screen and persist through approved configuration/asset tables. Validate required settings. * Save/Confirm changes. * Support Back without unintentionally applying unsaved changes. * Persist settings locally. * Organise configuration by Store/Terminal inputs and provide safe test action where applicable. * Provide common Active/Inactive behaviour. * Provide common Configure/Test actions. * Ensure other modules consume the stored configuration instead of duplicating settings. * Record configuration changes/audit where required. * Recover safely if POS restarts while configuration is being edited. relevant. Done when: All M16 setup sections when a store can use one common configuration mechanism and saved settings remain available after POS restart. configure without editing database rows.