Project

General

Profile

Actions

Feature #666

open
NP NP

Dashboard: Post diet charges opens inline, no navigation to Patient charges

Feature #666: Dashboard: Post diet charges opens inline, no navigation to Patient charges

Added by Navya P. 15 days ago. Updated 15 days ago.

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

0%

Estimated time:
Resolved By:

Description

Matched pages/dashboard.html's modalPostCharges: the dashboard's "Post diet charges" button now opens a dialog right there -- same patient/IP no./diet/diet charge/attendant/total/status table, same pending count and total in the footer -- instead of navigating away to the Patient charges page.

Unlike the prototype's own button, which just closes the modal and shows a toast, "Post charges" here calls the real usePostPendingCharges mutation Patient charges itself uses -- the same DietChargeAccrualService.PostAsync sweep, not a fake confirmation. The dialog stays open after posting so the rows that just posted can be seen flipping from Pending to Posted, rather than closing on an assumption.

591/591 frontend, no backend changes -- reuses the existing charges list/post-pending endpoints the Patient charges page already calls.

Commit: 1062cd0.

NP Updated by Navya P. 15 days ago Actions #1

  • Status changed from New to Resolved
Actions

Also available in: PDF Atom