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