From 358b1436cb701e8bd004422d000ea4f6ba503149 Mon Sep 17 00:00:00 2001
From: Justin Miller <16829344+jmilljr24@users.noreply.github.com>
Date: Mon, 8 Jun 2026 14:34:34 -0400
Subject: [PATCH 1/3] filter reg form selection on role
---
app/controllers/events_controller.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/controllers/events_controller.rb b/app/controllers/events_controller.rb
index 5cc01367a..f36e1239d 100644
--- a/app/controllers/events_controller.rb
+++ b/app/controllers/events_controller.rb
@@ -315,7 +315,7 @@ def set_form_variables
@event.build_primary_asset if @event.primary_asset.blank?
@event.gallery_assets.build
@locations = Location.order(:city, :state)
- @registration_forms = Form.standalone.where(role: [ nil, "", "registration" ]).order(:name)
+ @registration_forms = Form.standalone.where(role: "registration").order(:name)
@categories_grouped =
Category
.includes(:category_type)
From dca3008f7f408529e256d7c67b13287c7663c0b1 Mon Sep 17 00:00:00 2001
From: Justin Miller <16829344+jmilljr24@users.noreply.github.com>
Date: Mon, 8 Jun 2026 14:41:24 -0400
Subject: [PATCH 2/3] link to payment from group payment
---
app/views/events/group_payments.html.erb | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/app/views/events/group_payments.html.erb b/app/views/events/group_payments.html.erb
index 4ed7eac2e..1fa4f26db 100644
--- a/app/views/events/group_payments.html.erb
+++ b/app/views/events/group_payments.html.erb
@@ -27,9 +27,10 @@
<%= payment_method.presence || "—" %>
<% if submission.payments.any? %>
-
+ <%= link_to payment_path(submission.payments.first),
+ class: "inline-flex items-center gap-1 rounded-full bg-green-100 px-2.5 py-0.5 text-xs font-medium text-green-800 hover:bg-green-200" do %>
Paid
-
+ <% end %>
<% else %>
Pending
From c4acf486114e52ff019e4a60bfb9de029494ede6 Mon Sep 17 00:00:00 2001
From: Justin Miller <16829344+jmilljr24@users.noreply.github.com>
Date: Mon, 8 Jun 2026 14:49:14 -0400
Subject: [PATCH 3/3] add metadata to payemnts
---
db/migrate/20260608184843_add_metadata_to_payments.rb | 7 +++++++
db/schema.rb | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
create mode 100644 db/migrate/20260608184843_add_metadata_to_payments.rb
diff --git a/db/migrate/20260608184843_add_metadata_to_payments.rb b/db/migrate/20260608184843_add_metadata_to_payments.rb
new file mode 100644
index 000000000..d46940277
--- /dev/null
+++ b/db/migrate/20260608184843_add_metadata_to_payments.rb
@@ -0,0 +1,7 @@
+class AddMetadataToPayments < ActiveRecord::Migration[8.1]
+ def change
+ unless column_exists?(:payments, :metadata)
+ add_column :payments, :metadata, :json
+ end
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index d221ed1ff..a8ea8fe31 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema[8.1].define(version: 2026_06_08_133158) do
+ActiveRecord::Schema[8.1].define(version: 2026_06_08_184843) do
create_table "action_text_mentions", charset: "utf8mb4", collation: "utf8mb4_unicode_ci", force: :cascade do |t|
t.bigint "action_text_rich_text_id", null: false
t.datetime "created_at", null: false