Sha256: c318566367c5c0f2e6e11dd88e7b9d8772d60d638fe6eaee7a813704ee85ee9a

Contents?: true

Size: 585 Bytes

Versions: 32

Compression:

Stored size: 585 Bytes

Contents

- if order.purchased?
  .effective-order-payment-details
    %table.table
      %thead
        %tr
          %th Payment
          %th
      %tbody
        %tr
          %td Provider
          %td= order.payment_provider

        - if order.payment_card.present?
          %tr
            %td Card
            %td
              = payment_card_label(order.payment_card)
              - if order.payment.kind_of?(Hash)
                = order.payment[:active_card] || order.payment['f4l4']

        %tr
          %td Purchased at
          %td= order.purchased_at&.strftime('%F %H:%M')

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
effective_orders-4.5.2 app/views/effective/orders/_order_payment.html.haml
effective_orders-4.5.1 app/views/effective/orders/_order_payment.html.haml
effective_orders-4.5.0 app/views/effective/orders/_order_payment.html.haml
effective_orders-4.4.10 app/views/effective/orders/_order_payment.html.haml
effective_orders-4.4.9 app/views/effective/orders/_order_payment.html.haml
effective_orders-4.4.8 app/views/effective/orders/_order_payment.html.haml
effective_orders-4.4.7 app/views/effective/orders/_order_payment.html.haml
effective_orders-4.4.6 app/views/effective/orders/_order_payment.html.haml
effective_orders-4.4.5 app/views/effective/orders/_order_payment.html.haml
effective_orders-4.4.4 app/views/effective/orders/_order_payment.html.haml
effective_orders-4.4.3 app/views/effective/orders/_order_payment.html.haml
effective_orders-4.4.2 app/views/effective/orders/_order_payment.html.haml