Sha256: 16e437c6cb995015fc29a4124fed1dcd43c0244ad89a6458f058c8e91ea71ef3

Contents?: true

Size: 672 Bytes

Versions: 1

Compression:

Stored size: 672 Bytes

Contents

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

  - raise('expected a submitted resource') unless resource.was_submitted?
  - raise('expected a purchased resource submit_order') unless resource.submit_order&.purchased?

  .alert.alert-warning.mb-4
    Successfully paid on #{resource.submit_order.purchased_at.strftime('%F')}.

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

  = render 'effective/ring_payments/ring_payment', ring_payment: resource
  = render 'effective/ring_payments/orders', ring_payment: resource

  = link_to 'Return to Dashboard', root_path, class: 'btn btn-lg btn-primary'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
effective_products-0.0.2 app/views/effective/ring_payments/submitted.html.haml