Sha256: b0b1293d72b46f3e13049a0d4d7d3f025abd32ec98cbc868759b6e8ab8c591e1

Contents?: true

Size: 928 Bytes

Versions: 5

Compression:

Stored size: 928 Bytes

Contents

- if order.deferred?
  .effective-order-deferred
    %table.table
      %thead
        %tr
          %th Payment
      %tbody
        %tr
          %td
            - if order.delayed?
              %p Your #{order.delayed_payment_method} will be charged on #{order.delayed_payment_date.strftime('%F')}
            - else
              %p Waiting for payment by #{order.payment_provider}

              - if order.payment_provider == "etransfer" && (EffectiveOrders.etransfer[:success] rescue false).present?
                %p= EffectiveOrders.etransfer[:success].html_safe

              - if order.payment_provider == "cheque" && (EffectiveOrders.cheque[:success] rescue false).present?
                %p= EffectiveOrders.cheque[:success].html_safe

              - if order.payment_provider == "phone" && (EffectiveOrders.phone[:success] rescue false).present?
                %p= EffectiveOrders.phone[:success].html_safe

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
effective_orders-6.17.0 app/views/effective/orders/_order_deferred.html.haml
effective_orders-6.16.4 app/views/effective/orders/_order_deferred.html.haml
effective_orders-6.16.3 app/views/effective/orders/_order_deferred.html.haml
effective_orders-6.16.2 app/views/effective/orders/_order_deferred.html.haml
effective_orders-6.16.1 app/views/effective/orders/_order_deferred.html.haml