Sha256: c2a7fb13235de60ea16b6fee0220330cefe25730e416b446ef315a23f085080a

Contents?: true

Size: 929 Bytes

Versions: 5

Compression:

Stored size: 929 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.18.2 app/views/effective/orders/_order_deferred.html.haml
effective_orders-6.18.1 app/views/effective/orders/_order_deferred.html.haml
effective_orders-6.18.0 app/views/effective/orders/_order_deferred.html.haml
effective_orders-6.17.2 app/views/effective/orders/_order_deferred.html.haml
effective_orders-6.17.1 app/views/effective/orders/_order_deferred.html.haml