pelagia-portal/App/app/(portal)/payments
Hardik c92f136b09 fix(ui): reset pending state on success for all save/confirm buttons
Parent button components (EditVendorButton, EditAccountButton, etc.) stay
mounted even when their AdminDialog closes — so pending was never cleared
on success, causing buttons to show 'Saving...' on the next open. The
payment confirm button (no dialog) was stuck in 'Confirming...' until the
page re-render eventually unmounted it. Added setPending(false) before
setOpen/router.refresh in every success path.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-27 04:36:29 +05:30
..
history fix(po): tighten filters and export data 2026-05-22 17:15:03 +05:30
actions.ts fix(payments): only log PRODUCT_PRICE_UPDATED when price actually changed 2026-05-27 04:28:40 +05:30
page.tsx feat(payments): partial/advance payment support 2026-05-27 04:17:19 +05:30
payment-actions.tsx fix(ui): reset pending state on success for all save/confirm buttons 2026-05-27 04:36:29 +05:30