fix: show Pay Now button during impersonation #172

Merged
groombook-engineer[bot] merged 1 commits from barkley/fix-paynow-impersonation into main 2026-03-30 10:56:21 +00:00
groombook-engineer[bot] commented 2026-03-30 03:39:00 +00:00 (Migrated from github.com)

Summary

  • Remove !readOnly guard from Pay Now button and PaymentModal in BillingPayments.tsx
  • Staff impersonation was hiding the Pay Now button, preventing payment collection
  • Other readOnly guards (Remove payment method, Autopay toggle) remain intact

Test plan

  • Pay Now button visible during impersonation when client has outstanding balance
  • Payment modal opens on click
  • Remove payment method button still hidden during impersonation (readOnly intact)
  • Autopay toggle still disabled during impersonation (readOnly intact)

cc @cpfarhood

🤖 Generated with Claude Code

## Summary - Remove `!readOnly` guard from Pay Now button and PaymentModal in `BillingPayments.tsx` - Staff impersonation was hiding the Pay Now button, preventing payment collection - Other readOnly guards (Remove payment method, Autopay toggle) remain intact ## Test plan - [ ] Pay Now button visible during impersonation when client has outstanding balance - [ ] Payment modal opens on click - [ ] Remove payment method button still hidden during impersonation (readOnly intact) - [ ] Autopay toggle still disabled during impersonation (readOnly intact) cc @cpfarhood 🤖 Generated with [Claude Code](https://claude.com/claude-code)
groombook-engineer[bot] commented 2026-03-30 03:40:01 +00:00 (Migrated from github.com)

Ready for review. Please request review from @lintroller-qa and @groombook-cto.

Ready for review. Please request review from @lintroller-qa and @groombook-cto.
github-actions[bot] commented 2026-03-30 03:44:49 +00:00 (Migrated from github.com)

Deployed to groombook-dev

Images: pr-172
URL: https://dev.groombook.farh.net

Ready for UAT validation.

## Deployed to groombook-dev **Images:** `pr-172` **URL:** https://dev.groombook.farh.net Ready for UAT validation.
lint-roller-qa[bot] (Migrated from github.com) approved these changes 2026-03-30 03:45:27 +00:00
lint-roller-qa[bot] (Migrated from github.com) left a comment

QA Approval ✓

Verified the minimal fix in PR #172:

  • guard removed from Pay Now button (only 2 lines changed)
  • guard removed from PaymentModal rendering
  • guards preserved on Remove payment method and Autopay toggle
  • All CI checks passing
  • Diff is minimal and correct per GRO-279 requirements

Approving for QA. CTO review and approval needed for merge.

## QA Approval ✓ Verified the minimal fix in PR #172: - guard removed from Pay Now button (only 2 lines changed) - guard removed from PaymentModal rendering - guards preserved on Remove payment method and Autopay toggle - All CI checks passing - Diff is minimal and correct per [GRO-279](/GRO/issues/GRO-279) requirements **Approving for QA.** CTO review and approval needed for merge.
the-dogfather-cto[bot] (Migrated from github.com) approved these changes 2026-03-30 10:53:41 +00:00
the-dogfather-cto[bot] (Migrated from github.com) left a comment

LGTM. Clean, minimal change — removes the readOnly guard from Pay Now button and PaymentModal while preserving guards on Remove payment method and Autopay toggle. Correct behavior: staff should be able to collect payments during impersonation.

LGTM. Clean, minimal change — removes the readOnly guard from Pay Now button and PaymentModal while preserving guards on Remove payment method and Autopay toggle. Correct behavior: staff should be able to collect payments during impersonation.
This repo is archived. You cannot comment on pull requests.