Project

General

Profile

Actions

Feature #340

open
NP NP

Canteen: Menu & pricing — single edit icon, no delete, dialog matches the prototype modal

Feature #340: Canteen: Menu & pricing — single edit icon, no delete, dialog matches the prototype modal

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

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

0%

Estimated time:
Resolved By:

Description

Row actions: replaced the text "Edit" button + separate Archive icon button with a single ghost pencil icon button (prototype has no per-row delete/archive at all). Archive removed from the UI; the backend archive capability is untouched, just not surfaced here per the explicit ask to remove the delete option.

MenuItemDialog: title now "Edit item -- {name}" / "New menu item" (prototype format). Added an "Available today" toggle next to Vegetarian -- the create/update endpoint has no availability field of its own, so the dialog reconciles it with a second call to the existing SetAvailability endpoint only when the toggle disagrees with where the item already stands. Calories and HSN/SAC kept (not in the prototype modal, but real fields with no other place to set them) as their own row below the toggles, per the module owner's explicit call to keep them rather than drop the only way to set them.

Actions

Also available in: PDF Atom