Skip to content

Rework bulk payment ticket around the payer#2008

Merged
maebeale merged 4 commits into
mainfrom
maebeale/bulk-payment-ticket-details
Jul 22, 2026
Merged

Rework bulk payment ticket around the payer#2008
maebeale merged 4 commits into
mainfrom
maebeale/bulk-payment-ticket-details

Conversation

@maebeale

@maebeale maebeale commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

🤖 suggested review level: 3 Read 📖 view-only restructure of the bulk-payment ticket + a shared payment badge (text/color); no logic/data changes

What

Reworks the public bulk-payment ticket (events/bulk_payments/ticket.html.erb) around the fact that the viewer is the payer covering other people, not an attendee.

  • Event context card at top (image spanning title / date-time / cost rows), then a perforation "ticket tear".
  • Payer + payment status as the headline: name (prominent), organization, and a "Covering N registrants" pill — no field labels.
  • Registrant details list, header shows (listed of covered) e.g. (3 of 3).
  • Invoice + submission links grouped together at the bottom.
  • Payment allocations box (already admin-gated) gets an explicit "Admin only" badge.
  • Shared _payment_badge: the paid-but-unallocated state now reads "unallocated" (not "remaining") and is orange to signal it needs action. Also affects the bulk payments dashboard card.

Why

Unlike a registration ticket, the person reading this is paying on behalf of others, so payer identity and what they owe matter more than event details.

Notes

The viewer of a bulk payment ticket is the payer covering other people, not
an attendee — so the ticket now leads with the event context card, then the
payer identity (name, organization, count of registrants covered) and payment
status as the headline, followed by the per-person registrant details and the
grouped invoice/submission document links. Drops the field labels on the payer
block in favor of a prominent name + secondary org line.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 22, 2026 12:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@maebeale
maebeale marked this pull request as ready for review July 22, 2026 12:46
- Move the perforation "ticket tear" up so it separates the event card from the
  payer/payment portion, and drop the divider between the payer and the
  registrant list (they're one unit — the payer covers these registrants).
- Registrant details count now reads "(listed of covered)", e.g. "(3 of 3)",
  since the covered total is already stated above.
- Add an explicit "Admin only" badge to the (already admin-gated) payment
  allocations box.
- Payment badge: paid-but-unallocated now reads "unallocated" (not "remaining")
  and is orange to signal it needs action.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 22, 2026 13:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

…/time

- Replace the "View submission" card with a plain "View your form responses"
  text link grouped with the resend-confirmation action, matching the
  registration ticket. Leaves the invoice as the sole document card.
- Event card date/time now reads on one row as "<date range> (<time tz>)" via
  date_range + times, dropping the styled two-row layout whose oversized
  timezone abbreviation looked off.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 22, 2026 13:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Add EventDecorator#short_date_range (same collapsed range as date_range but
without the weekday prefix) and use it for the compact event card, where the
weekday and inline time were noise.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 22, 2026 13:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@maebeale
maebeale merged commit 11a2686 into main Jul 22, 2026
3 checks passed
@maebeale
maebeale deleted the maebeale/bulk-payment-ticket-details branch July 22, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants