Skip to content

Add ticket payment due date to events - #2173

Merged
maebeale merged 2 commits into
mainfrom
maebeale/payment-due-reminders
Aug 12, 2026
Merged

Add ticket payment due date to events#2173
maebeale merged 2 commits into
mainfrom
maebeale/payment-due-reminders

Conversation

@maebeale

@maebeale maebeale commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

🤖 suggested review level: 3 Read 📖 new event column surfaced on the payment callout; contained logic, no scheduled sends

What is the goal of this PR and why is this important?

  • Adds a ticket payment due date to events, distinct from the existing CE payment deadline (the only payment deadline we had — the ticket one was hardcoded copy on the payment page).
  • Surfaces it on the ticket payment callout card ("$X due by Apr 9") and the payment callout page.

How did you approach the change?

  • New events.payment_due_deadline datetime, mirroring the CE deadline pattern: virtual date/time accessors, decorator display, permitted params, and an admin form field next to cost.
  • Marks the required start/end date inputs with SimpleForm's required marker (matching the admin-form convention).
  • BuiltinCalloutCards#payment_card appends the deadline to the "due" badge; payment.html.erb renders the real deadline instead of the hardcoded "April 9th".

Anything else to add?

  • The automated payment reminder emails built on this column are split into a follow-up PR stacked on this one.

Copilot AI lite review requested due to automatic review settings August 12, 2026 01:53

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.

Copilot AI review requested due to automatic review settings August 12, 2026 01:56

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.

Copilot AI review requested due to automatic review settings August 12, 2026 02:00

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 force-pushed the maebeale/payment-due-reminders branch from 7252fde to 0a940ae Compare August 12, 2026 02:12
Copilot AI review requested due to automatic review settings August 12, 2026 02:12

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.

Copilot AI review requested due to automatic review settings August 12, 2026 02:15

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 August 12, 2026 02:17
Copilot AI review requested due to automatic review settings August 12, 2026 02:22

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.

Copilot AI review requested due to automatic review settings August 12, 2026 02:29

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.

Copilot AI review requested due to automatic review settings August 12, 2026 02:29

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 and others added 2 commits August 11, 2026 22:37
A payment deadline for the event ticket, distinct from the CE payment deadline:
migration, virtual date/time accessors, decorator display, permitted params, and
an admin form field next to cost. Also marks the required start/end date inputs
with SimpleForm's required marker, matching the admin-form convention.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The payment card's due badge now reads e.g. "$1,350 due by Apr 9", and the
payment callout page shows the deadline under the amount-due pill and in the
pay-by-check note (replacing hardcoded copy).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@maebeale
maebeale force-pushed the maebeale/payment-due-reminders branch from b6fe072 to d724b06 Compare August 12, 2026 02:38
Copilot AI review requested due to automatic review settings August 12, 2026 02:38

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 changed the title Ticket payment due date + automated payment reminders Add ticket payment due date to events Aug 12, 2026
@maebeale
maebeale merged commit 3264d92 into main Aug 12, 2026
3 checks passed
@maebeale
maebeale deleted the maebeale/payment-due-reminders branch August 12, 2026 02:44
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