Project

General

Profile

Actions

Feature #156

open
NP NP

Canteen: employee meal accounts and subsidy engine

Feature #156: Canteen: employee meal accounts and subsidy engine

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

Staff meals charged to a monthly account with the subsidy worked out by rule.

  • Meal card per employee, resolved by card number.
  • Monthly account per employee: gross, subsidy and subsidised units.
  • Subsidy engine applies the employee's rule with daily and monthly caps; a capped employee pays the full staff rate.
  • Card resolve endpoint always answers 200; a refused card comes back as data with a stable reason code.
  • /employee-meals page with the account dialog.
  • HR employee data comes from a fake directory until the HR contract is deployed.

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): meal cards, month accounts, HR employee directory (4a51f04); card resolution + refusals + month statement (765d6b2).

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