Project

General

Profile

Actions

Feature #180

open
NP NP

Canteen: dashboard tiles

Feature #180: Canteen: dashboard tiles

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

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
09/30/2026
Due date:
09/30/2026 (44 days late)
% Done:

100%

Estimated time:
Resolved By:

Description

Tiles the caller can read and the tenant has licensed. Sales today, gross, bills, net. Store alerts, below reorder and expiring within two days. Hygiene, overdue and warn. Employees capped this month. Pending void requests. Footfall, bills per hour, hospital local time. Sales by payment mode, cash, coupon, IP bill. No UPI tile, no refunds row. One database round trip per tile. A cashier sees only sales tiles, a storekeeper only store and hygiene tiles.

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

  • Status changed from New to Resolved
  • Resolved By set to Navya P.

Shipped 30 Sep 2026. Dashboard returns seven tiles: sales today, store alerts, hygiene, employees capped this month, pending void requests, footfall by hour, and by payment mode. Each tile is gated independently by its own capability and permission check inside the service, since a Cashier and a Storekeeper need disjoint sets of tiles from the same endpoint and no single controller attribute can express that. Each tile costs exactly one database round trip, proven by a test that counts SQL commands rather than timing the call. Acceptance case from the plan is covered directly: a Cashier sees only the sales tiles, a Storekeeper sees only store and hygiene. Portal dashboard page rebuilt on the real tiles, with the day close button gated on the existing permission key. Full suite green: API unit and integration tests, portal tests, and typecheck all pass.

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

  • Due date set to 09/30/2026
  • % Done changed from 0 to 100
Actions

Also available in: PDF Atom