effective_events 3.2.14 → 3.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fd180b5f199ddb9ef64f1d8cf28a9821e77838fcbc91b1a25d54f0a159cdfbd3
|
|
4
|
+
data.tar.gz: b36eb8d1dc211c904504e29244ca555fb7d491cd3cd42b2b0e9af9f7fcedf2a2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f115de0886f518227880c392c2d5748d7fb12cb2f25824fa04ca76b2a29097926b95abe8f499ecfeeaa5fee5587e79dc49f37b15388e902506b093bd38fb5735
|
|
7
|
+
data.tar.gz: b66ccab92f62daa0f507fd6265a8a8e4d150d900d14a0be156bfa2262652f0ff5652566015a453837275c71f587c36e8d96d93f186dc6f53f0100df342ad225b
|
|
@@ -89,6 +89,13 @@ module Admin
|
|
|
89
89
|
col :response2
|
|
90
90
|
col :response3
|
|
91
91
|
|
|
92
|
+
col(:billing_address1, visible: false) { |registrant| registrant.user.try(:billing_address).try(:address1) }
|
|
93
|
+
col(:billing_address2, visible: false) { |registrant| registrant.user.try(:billing_address).try(:address2) }
|
|
94
|
+
col(:billing_city, visible: false) { |registrant| registrant.user.try(:billing_address).try(:city) }
|
|
95
|
+
col(:billing_province, visible: false) { |registrant| registrant.user.try(:billing_address).try(:province) }
|
|
96
|
+
col(:billing_postal_code, visible: false) { |registrant| registrant.user.try(:billing_address).try(:postal_code) }
|
|
97
|
+
col(:billing_country, visible: false) { |registrant| registrant.user.try(:billing_address).try(:country) }
|
|
98
|
+
|
|
92
99
|
actions_col do |registrant|
|
|
93
100
|
if EffectiveResources.authorized?(self, :impersonate, registrant.owner)
|
|
94
101
|
dropdown_link_to("Impersonate", "/admin/users/#{registrant.owner_id}/impersonate", data: { confirm: "Really impersonate #{registrant.owner}?", method: :post, remote: true })
|
|
@@ -97,7 +104,7 @@ module Admin
|
|
|
97
104
|
end
|
|
98
105
|
|
|
99
106
|
collection do
|
|
100
|
-
scope = Effective::EventRegistrant.deep.all
|
|
107
|
+
scope = Effective::EventRegistrant.deep.includes(user: :addresses).all
|
|
101
108
|
|
|
102
109
|
if attributes[:event_id].present?
|
|
103
110
|
scope = scope.where(event: event)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: effective_events
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.2.
|
|
4
|
+
version: 3.2.15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Code and Effect
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-02-
|
|
11
|
+
date: 2026-02-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|