effective_events 2.28.0 → 2.28.2

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: 2a2da9770f5c4f1594f4364d6ac060476cdd4e4624c8c1e8866c4ce096001ba6
4
- data.tar.gz: 94af1b7beb1e82aa64fce228e047dfbca828bf5fddc1e88ffb7d59b1e94a0833
3
+ metadata.gz: 6130c240c651d39a73336de7887344539eb6bc88dc7aa6a7f7cd513ce4f64ee5
4
+ data.tar.gz: 62cf88742008ab057676b15ca4b375f90c3be9440533371e0fe7f10bac3a1034
5
5
  SHA512:
6
- metadata.gz: ac0da1b17544723dbf542c7286fa456991b0882baf0c5bb0aefe5ef3d4f3cd18aecef8741a984761ffc33f54c50930d3a90dfbe398aefcca97baf3332abdf12d
7
- data.tar.gz: 6a194263574e2a7b715573f39a94fc06c9e653100b80f98f1e123a7a034ebf21fb9549f140a266501e28aaf3a1634515a3ad79afff752eb2a6a8dd1902d4f85b
6
+ metadata.gz: c286740eef5dab3c8f33fe5ce4c67e485036db315aca7a90a55b1d22ad04ed0007ea07b6db7e35d09f2726b743c893554a0a62000c1329b1021a4c92705cdb3e
7
+ data.tar.gz: d30685a52414d140bc3b15cd42e83d1abf9590b491130c255f9cd72da1f250a299fb36a4b2f1ec0a9648336cd3eca585033c5c64c0fae2f34539856b45db8754
@@ -31,7 +31,7 @@ module Effective
31
31
  subject = subject_for(__method__, "Confirmation - #{@event}", resource, opts)
32
32
  headers = headers_for(resource, opts)
33
33
 
34
- mail(to: resource.owner.email, subject: subject, **headers)
34
+ mail(to: resource.owner.email, cc: mailer_admin, subject: subject, **headers)
35
35
  end
36
36
 
37
37
  # Sent manually by an admin to one registrant
@@ -45,7 +45,7 @@ module Effective
45
45
  subject = subject_for(__method__, "Confirmation - #{@event}", resource, opts)
46
46
  headers = headers_for(resource, opts)
47
47
 
48
- mail(to: resource.email, subject: subject, **headers)
48
+ mail(to: resource.email, cc: mailer_admin, subject: subject, **headers)
49
49
  end
50
50
 
51
51
  protected
@@ -0,0 +1,2 @@
1
+ - if resource.submitted? && resource.event&.delayed_payment_date_upcoming?
2
+ .alert.alert-warning.mb-4 Please note: you must submit each step and checkout for your ticket changes to be saved. You will receive a new confirmation email.
@@ -1,4 +1,6 @@
1
1
  = render 'layout' do
2
+ = render('effective/event_registrations/changing', resource: resource)
3
+
2
4
  .card.mb-4
3
5
  .card-body
4
6
  %p
@@ -1,5 +1,6 @@
1
1
  = render 'layout' do
2
- = render 'effective/event_registrations/content', resource: resource
2
+ = render('effective/event_registrations/changing', resource: resource)
3
+ = render('effective/event_registrations/content', resource: resource)
3
4
 
4
5
  - raise('expected owner to respond to billing_address') unless resource.owner.respond_to?(:billing_address)
5
6
 
@@ -1,9 +1,9 @@
1
1
  = render 'layout' do
2
- = render 'effective/event_registrations/content', resource: resource
2
+ = render('effective/event_registrations/changing', resource: resource)
3
+ = render('effective/event_registrations/content', resource: resource)
3
4
 
4
5
  - if resource.submit_order.deferred?
5
- = card do
6
- = render_checkout_step2(resource.submit_order, purchased_url: wizard_path(:complete), deferred_url: wizard_path(:submitted), declined_url: wizard_path(:checkout))
6
+ = render_checkout_step2(resource.submit_order, purchased_url: wizard_path(:complete), deferred_url: wizard_path(:submitted), declined_url: wizard_path(:checkout))
7
7
  - elsif resource.event.registerable? == false
8
8
  .alert.alert-danger Your selected event is no longer available for registration.
9
9
  - elsif resource.unavailable_event_tickets.present?
@@ -1,5 +1,5 @@
1
1
  = render 'layout' do
2
- = render 'effective/event_registrations/content', resource: resource
2
+ = render('effective/event_registrations/content', resource: resource)
3
3
 
4
4
  - raise('expected a completed event_registration') unless resource.completed?
5
5
  - raise('expected a purchased event_registration submit_order') unless resource.submit_order&.purchased?
@@ -1,4 +1,5 @@
1
1
  = render 'layout' do
2
+ = render('effective/event_registrations/changing', resource: resource)
2
3
  = render('effective/event_registrations/content', resource: resource)
3
4
 
4
5
  = effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
@@ -1,5 +1,5 @@
1
1
  = render 'layout' do
2
- = render 'effective/event_registrations/content', resource: resource
2
+ = render('effective/event_registrations/content', resource: resource)
3
3
 
4
4
  - # Signed out
5
5
  - if resource.owner.blank?
@@ -1,4 +1,5 @@
1
1
  = render 'layout' do
2
+ = render('effective/event_registrations/changing', resource: resource)
2
3
  = render('effective/event_registrations/content', resource: resource)
3
4
  = render('effective/event_registrations/event_registration', event_registration: resource)
4
5
 
@@ -1,4 +1,5 @@
1
1
  = render 'layout' do
2
+ = render('effective/event_registrations/changing', resource: resource)
2
3
  = render('effective/event_registrations/content', resource: resource)
3
4
 
4
5
  = effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
@@ -1,3 +1,3 @@
1
1
  module EffectiveEvents
2
- VERSION = '2.28.0'.freeze
2
+ VERSION = '2.28.2'.freeze
3
3
  end
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.28.0
4
+ version: 2.28.2
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: 2024-12-18 00:00:00.000000000 Z
11
+ date: 2024-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -269,6 +269,7 @@ files:
269
269
  - app/views/effective/event_addons/_fields.html.haml
270
270
  - app/views/effective/event_registrants/_fields.html.haml
271
271
  - app/views/effective/event_registrations/_addons.html.haml
272
+ - app/views/effective/event_registrations/_changing.html.haml
272
273
  - app/views/effective/event_registrations/_content.html.haml
273
274
  - app/views/effective/event_registrations/_dashboard.html.haml
274
275
  - app/views/effective/event_registrations/_details.html.haml