Sha256: f088a6425e83b32b3f95cf05d262129965392145906d1280b2edf4f72ddb4920

Contents?: true

Size: 1.77 KB

Versions: 25

Compression:

Stored size: 1.77 KB

Contents

= render 'layout' do
  = render 'effective/event_registrations/content', resource: resource

  - raise('expected a submitted event_registration') unless resource.submitted?
  - raise('expected a deffered event_registration submit_order') unless resource.submit_order&.deferred?

  -# - if resource.event.delayed?
  -#   - raise('expected event delayed_payment_date to match order delayed_payment_date') unless resource.event.delayed_payment_date == resource.submit_order.delayed_payment_date

  .mb-4
    = link_to "Return to Dashboard", return_to_dashboard_path, class: 'btn btn-lg btn-primary btn-block'

  = render 'effective/event_registrations/summary', event_registration: resource

  - if resource.event.allow_blank_registrants? && EffectiveResources.authorized?(self, :update_blank_registrants, resource)
    = card do
      %h3 Incomplete Ticket Information
      = render 'effective/event_registrations/form_blank_registrants', event_registration: resource

  - if resource.delayed_payment_date_upcoming? && resource.can_visit_step?(:tickets)
    - order = resource.submit_order

    = card do
      %h3 All done
      %p The registration for #{resource.event} has been submitted. You're all done!
      %p= resource.submit_order.delayed_payment_info

      - if resource.event_registrants.any?(&:waitlisted?)
        %p Any waitlist tickets are not charged. If you are moved off the waitlist, the full price will be charged.

      %p You can #{link_to('change your registration', wizard_path(:tickets))} until the payment date.

  = render 'effective/event_registrations/event_registration', event_registration: resource
  = render 'effective/event_registrations/orders', event_registration: resource

  = link_to "Return to Dashboard", return_to_dashboard_path, class: 'btn btn-lg btn-primary btn-block'

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
effective_events-2.25.0 app/views/effective/event_registrations/submitted.html.haml
effective_events-0.24.0 app/views/effective/event_registrations/submitted.html.haml
effective_events-0.23.1 app/views/effective/event_registrations/submitted.html.haml
effective_events-0.23.0 app/views/effective/event_registrations/submitted.html.haml
effective_events-0.22.2 app/views/effective/event_registrations/submitted.html.haml
effective_events-0.22.1 app/views/effective/event_registrations/submitted.html.haml
effective_events-0.22.0 app/views/effective/event_registrations/submitted.html.haml
effective_events-0.21.3 app/views/effective/event_registrations/submitted.html.haml
effective_events-0.21.2 app/views/effective/event_registrations/submitted.html.haml
effective_events-0.21.1 app/views/effective/event_registrations/submitted.html.haml
effective_events-0.21.0 app/views/effective/event_registrations/submitted.html.haml
effective_events-0.20.6 app/views/effective/event_registrations/submitted.html.haml
effective_events-0.20.5 app/views/effective/event_registrations/submitted.html.haml
effective_events-0.20.4 app/views/effective/event_registrations/submitted.html.haml
effective_events-0.20.3 app/views/effective/event_registrations/submitted.html.haml
effective_events-0.20.2 app/views/effective/event_registrations/submitted.html.haml
effective_events-0.20.1 app/views/effective/event_registrations/submitted.html.haml
effective_events-0.20.0 app/views/effective/event_registrations/submitted.html.haml
effective_events-0.19.2 app/views/effective/event_registrations/submitted.html.haml
effective_events-0.19.1 app/views/effective/event_registrations/submitted.html.haml