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: 7653da73f90a91355b58b9da44d32ad5a9c9cfb4cda6c996f08bb052e143714f
4
- data.tar.gz: 9f845411770991a68ebd447e7a3007240175489071eb4d21053044414a23e9cd
3
+ metadata.gz: e49dbeed14ddc0a39bfb16c58d43d8a27221be836ccf68b71d1750509d3cc192
4
+ data.tar.gz: df551529a5da562d702fdcdef007d5c3f8bd15f80de0bf1642a7db8cb1bb5daa
5
5
  SHA512:
6
- metadata.gz: 67d2066762e9fde6cfbec7c4d3ba73140eb1d284e730a45a49a24a6a397b58763a146e4dee5da75069f7405703a97ce2847dba2774c2aed99e056bde5db4687c
7
- data.tar.gz: 3bf8b960cead89efb84a40cf3e27c319987eb5e36d49c71a8f32c46411e40280aa0b139e9c52e37da401ac91575b45ce4e61dc40ea7d2b8215a21ac23077262a
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&.deferred?
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
@@ -1,3 +1,3 @@
1
1
  module EffectiveEvents
2
- VERSION = '2.25.0'.freeze
2
+ VERSION = '2.25.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_events
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.25.0
4
+ version: 2.25.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect