Project

General

Profile

Actions

Development #7121

closed

Feature #7116: POS Terminal & Cart (M03)

Build price override & supervisor approval integration

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

Status:
Closed
Assignee:
Start date:
30/09/2026
Due date:
02/10/2026
% Done:

100%

Estimated time:
Complete Date:
01/11/2026

Description

Refer to: docs/planning/modules/M03_POS_Terminal_Cart.md

Implement controlled manual price override for a cart item and protect active-cart state from unauthorised exit/re-entry.

Scope:

  • Allow authorised price override.
  • Block unauthorised users.
  • Trigger supervisor/manager approval where configured.
  • Record original price.
  • Record overridden price.
  • Record requesting cashier.
  • Record approving user.
  • Record reason where required.
  • Recalculate cart totals after approval.
  • Record the override in transaction audit information.
  • Reuse M01 authentication/permission mechanisms rather than implementing separate supervisor authentication.

Additional active-cart control:

  • When the cart already contains one or more products, restrict the cashier from navigating back to the main/dashboard page without completing, suspending or voiding the current sale.
  • If the cashier attempts to close/exit the POS application while an active cart contains items, preserve the active cart state locally.
  • On the next POS startup/login, detect the unfinished active cart.
  • Before allowing the user to continue into the POS sales page or clear/recover the unfinished cart, require Manager/Supervisor validation.
  • The Manager/Supervisor approval must use the existing M01 authentication/permission mechanism.
  • Record the requesting cashier, approving Manager/Supervisor, terminal, date/time and recovery/override action in the audit trail.
  • Prevent the cashier from bypassing the control by repeatedly restarting the application.
  • Ensure the unfinished cart is not silently deleted or converted into a completed transaction.
  • After approval, follow the configured action, such as:
    • Resume the unfinished cart, or
    • Void/cancel the unfinished cart with the required reason and audit record.

Done when: Controlled price override can be performed by/with an authorised user and is fully auditable, and an active cart cannot be bypassed by returning to dashboard or intentionally closing/reopening POS without Manager/Supervisor validation.

Actions

Also available in: Atom PDF