effective_events 2.25.0 → 2.25.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e49dbeed14ddc0a39bfb16c58d43d8a27221be836ccf68b71d1750509d3cc192
|
4
|
+
data.tar.gz: df551529a5da562d702fdcdef007d5c3f8bd15f80de0bf1642a7db8cb1bb5daa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b70217d0fd2310908a1c562995360703784b7802ddb55de57ea3112d77e9e5d945ea23086311f2154e76f00f7280eaa078354bc2bd1fc6dec0b58641ec79714c
|
7
|
+
data.tar.gz: 1c8cdecacf234f76524d580ff360f365a95da3ac872e6d9070e68c85d1c39f355a90a735f43bebe2eb89c32784cd17d73c5603bde2123774850434db85b70127
|
@@ -342,6 +342,14 @@ module EffectiveEventsEventRegistration
|
|
342
342
|
save!
|
343
343
|
end
|
344
344
|
|
345
|
+
def details!
|
346
|
+
after_commit do
|
347
|
+
update_submit_fees_and_order! if submit_order.present?
|
348
|
+
end
|
349
|
+
|
350
|
+
save!
|
351
|
+
end
|
352
|
+
|
345
353
|
def addons!
|
346
354
|
after_commit do
|
347
355
|
update_submit_fees_and_order! if submit_order.present?
|
@@ -2,7 +2,7 @@
|
|
2
2
|
= render 'effective/event_registrations/content', resource: resource
|
3
3
|
|
4
4
|
- raise('expected a submitted event_registration') unless resource.submitted?
|
5
|
-
- raise('expected a deffered event_registration submit_order') unless resource.submit_order&.
|
5
|
+
- raise('expected a deffered event_registration submit_order') unless resource.submit_order&.was_deferred?
|
6
6
|
|
7
7
|
-# - if resource.event.delayed?
|
8
8
|
-# - raise('expected event delayed_payment_date to match order delayed_payment_date') unless resource.event.delayed_payment_date == resource.submit_order.delayed_payment_date
|