Sha256: a60561bbcfca6ca8d15a0a0d4bb641a1b0e77926415bf908a2cc81e1720758be

Contents?: true

Size: 611 Bytes

Versions: 158

Compression:

Stored size: 611 Bytes

Contents

- if orders.present?
  %table.table
    %thead
      %tr
        %th Order
        %th Date
        %th Description
        %th
    %tbody
      - orders.each do |order|
        %tr
          %td ##{order.to_param}
          %td
            = (order.purchased? ? 'Purchased' : 'Created')
            = (order.purchased_at || order.created_at).strftime("%F %H:%M")
          %td= order_summary(order)
          %td
            - if order.pending?
              = link_to_checkout(order: order)
            - else
              = link_to 'View', effective_orders.order_path(order)
- else
  %p No previous orders.

Version data entries

158 entries across 158 versions & 1 rubygems

Version Path
effective_orders-6.4.4 app/views/effective/orders/_orders_table.html.haml
effective_orders-6.4.3 app/views/effective/orders/_orders_table.html.haml
effective_orders-6.4.2 app/views/effective/orders/_orders_table.html.haml
effective_orders-6.4.1 app/views/effective/orders/_orders_table.html.haml
effective_orders-6.4.0 app/views/effective/orders/_orders_table.html.haml
effective_orders-6.3.2 app/views/effective/orders/_orders_table.html.haml
effective_orders-6.3.1 app/views/effective/orders/_orders_table.html.haml
effective_orders-6.3.0 app/views/effective/orders/_orders_table.html.haml
effective_orders-6.2.1 app/views/effective/orders/_orders_table.html.haml
effective_orders-6.2.0 app/views/effective/orders/_orders_table.html.haml
effective_orders-6.1.5 app/views/effective/orders/_orders_table.html.haml
effective_orders-6.1.4 app/views/effective/orders/_orders_table.html.haml
effective_orders-6.1.3 app/views/effective/orders/_orders_table.html.haml
effective_orders-6.1.2 app/views/effective/orders/_orders_table.html.haml
effective_orders-6.1.1 app/views/effective/orders/_orders_table.html.haml
effective_orders-6.1.0 app/views/effective/orders/_orders_table.html.haml
effective_orders-6.0.1 app/views/effective/orders/_orders_table.html.haml
effective_orders-6.0.0 app/views/effective/orders/_orders_table.html.haml
effective_orders-5.9.4 app/views/effective/orders/_orders_table.html.haml
effective_orders-5.9.3 app/views/effective/orders/_orders_table.html.haml