Sha256: 016451fa83080a0491116f0ef73971fe5b506f1aa47ef130b1b156eacda4cdcf
Contents?: true
Size: 697 Bytes
Versions: 14
Compression:
Stored size: 697 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 - if order.purchased? Purchased = order.purchased_at.strftime("%Y-%m-%d %H:%M") - else Created = order.created_at.strftime("%Y-%m-%d %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
14 entries across 14 versions & 1 rubygems