Feature #666
openDashboard: Post diet charges opens inline, no navigation to Patient charges
0%
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.