Project

General

Profile

Actions

Feature #159

open
NP NP

Canteen: two-person void with month reversal

Feature #159: Canteen: two-person void with month reversal

Added by Navya P. about 2 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
09/28/2026
Due date:
% Done:

0%

Estimated time:
Resolved By:

Description

A completed sale can be voided only by a second person.

  • A cashier requests the void with a reason; a manager approves or rejects.
  • The requester and the cashier who rang the sale cannot approve: 403 SelfApprovalForbidden.
  • Same business day only; a sale on a closed day cannot be voided.
  • Approving an employee sale gives the month back exactly what the sale took (gross, subsidy and subsidised units) in the same transaction, under the sale and account locks.
  • A voided sale keeps its bill number.
  • Audit entries for request, approve and reject.
  • Manager list of pending void requests.

Built and tested on integration/canteen-v1; merge to dev pending.

NP Updated by Navya P. about 1 month ago Actions #1

  • Status changed from New to In Progress

Work started (see prior commits).

NP Updated by Navya P. about 1 month ago Actions #2

  • Status changed from In Progress to Resolved
  • Resolved By set to Navya P.

feat(canteen): two-person void, employee month reversal (2e68847).

Built and tested (API unit + integration, portal) on integration/canteen-v1. Merge to dev pending - see the module's week-4 TDD plan.

Actions

Also available in: PDF Atom