effective_events 2.29.4 → 2.29.5
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: c14e31c639caed97a4e6f5b15206e6da6734c97a5cd60af0aebcc654ac41fc8a
|
4
|
+
data.tar.gz: 2f9ec428eb3d1794f77b8ed757af584c3323e98c75e6040e2d64994ba70ed303
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 985572039dc88d35c6e339acfbf38fac38e6d96b388210ed2f6f416a3c215fd1acbf35dd8a3f1991ca622cfc75e8a3d818377faa636dc432a13226baaf3162de
|
7
|
+
data.tar.gz: 499e41790fd28b1c6d74af26bcfca71c76fc1256a8fe4280982e8072dcaa0b0150bc2f05d30bd33b583ac388a17f22e9aeb6b4bb97cc4055dffa5788ec3c0e01
|
@@ -21,6 +21,7 @@ module Effective
|
|
21
21
|
return if resource.event.blank?
|
22
22
|
return if resource.submit_order&.deferred?
|
23
23
|
return if resource.event.registerable? && !resource.event.sold_out?(except: resource)
|
24
|
+
return if resource.just_let_them_edit_tickets_and_register_anyway?
|
24
25
|
|
25
26
|
flash[:danger] = "Your selected event is not available for registration. This event registration not available."
|
26
27
|
return redirect_to(view_context.return_to_dashboard_path)
|
@@ -32,6 +33,7 @@ module Effective
|
|
32
33
|
return if resource.event.blank?
|
33
34
|
return if resource.selection_not_expired?
|
34
35
|
return if resource.orders.any? { |order| order.declined? && order.delayed? }
|
36
|
+
return if resource.just_let_them_edit_tickets_and_register_anyway?
|
35
37
|
|
36
38
|
resource.ticket_selection_expired!
|
37
39
|
|
@@ -522,6 +522,10 @@ module EffectiveEventsEventRegistration
|
|
522
522
|
EffectiveEvents.send_email(:event_registration_confirmation, self)
|
523
523
|
end
|
524
524
|
|
525
|
+
def just_let_them_edit_tickets_and_register_anyway?
|
526
|
+
false
|
527
|
+
end
|
528
|
+
|
525
529
|
private
|
526
530
|
|
527
531
|
def update_deferred_event_registration!
|
@@ -4,6 +4,9 @@
|
|
4
4
|
|
5
5
|
- if resource.submit_order.deferred?
|
6
6
|
= render_checkout_step2(resource.submit_order, purchased_url: wizard_path(:complete), deferred_url: wizard_path(:submitted), declined_url: wizard_path(:checkout))
|
7
|
+
- elsif resource.just_let_them_edit_tickets_and_register_anyway?
|
8
|
+
= card do
|
9
|
+
= render_checkout_step2(resource.submit_order, purchased_url: wizard_path(:complete), deferred_url: wizard_path(:submitted), declined_url: wizard_path(:checkout))
|
7
10
|
- elsif resource.event.registerable? == false
|
8
11
|
.alert.alert-danger Your selected event is no longer available for registration.
|
9
12
|
- elsif resource.unavailable_event_tickets.present?
|
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: 2.29.
|
4
|
+
version: 2.29.5
|
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: 2025-02-
|
11
|
+
date: 2025-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|