fix(portal): wire up Pay Now button with payment modal #164

Closed
groombook-engineer[bot] wants to merge 3 commits from fix/gro-261-pay-now-button into main

3 Commits

Author SHA1 Message Date
Barkley Trimsworth 38f435375f fix(portal): prefix unused totalPending param with underscore
Silence @typescript-eslint/no-unused-vars for totalPending in
PaymentModal — it is accepted as a prop for API compatibility but the
modal computes selectedTotal from selected invoices instead.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-29 19:56:14 +00:00
Barkley Trimsworth 9caa03723c fix(portal): prefix unused totalOutstanding param with underscore
Silence @typescript-eslint/no-unused-vars for totalOutstanding in
PaymentModal — it is accepted as a prop for API compatibility but the
modal computes selectedTotal from selected invoices instead.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-29 19:55:06 +00:00
Barkley Trimsworth adcb794019 fix(portal): wire up Pay Now button with payment modal
The Pay Now button in BillingPayments had no onClick handler, making it
non-functional. Added:
- showPaymentModal state to control modal visibility
- onClick handler that opens the payment modal
- PaymentModal component with invoice selection, total calculation,
  and simulated payment processing with success confirmation

Fixes GRO-261
2026-03-29 14:57:50 +00:00