Sha256: 9ae653ac96d16a66c02a58cad4db519c35094cc87940cc629bef8cfbee856be5

Contents?: true

Size: 1.78 KB

Versions: 11

Compression:

Stored size: 1.78 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&.was_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

11 entries across 11 versions & 1 rubygems

Version Path
effective_events-2.29.3 app/views/effective/event_registrations/submitted.html.haml
effective_events-2.29.2 app/views/effective/event_registrations/submitted.html.haml
effective_events-2.29.1 app/views/effective/event_registrations/submitted.html.haml
effective_events-2.29.0 app/views/effective/event_registrations/submitted.html.haml
effective_events-2.28.3 app/views/effective/event_registrations/submitted.html.haml
effective_events-2.28.2 app/views/effective/event_registrations/submitted.html.haml
effective_events-2.28.1 app/views/effective/event_registrations/submitted.html.haml
effective_events-2.28.0 app/views/effective/event_registrations/submitted.html.haml
effective_events-2.27.0 app/views/effective/event_registrations/submitted.html.haml
effective_events-2.26.0 app/views/effective/event_registrations/submitted.html.haml
effective_events-2.25.1 app/views/effective/event_registrations/submitted.html.haml