Sha256: e292a7464a69a6cc13fc470a2ec413af6a7ac717bba6fb67ac6a02b4139fd611
Contents?: true
Size: 631 Bytes
Versions: 9
Compression:
Stored size: 631 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? || order.confirmed? = link_to_checkout(order: order) - else = link_to 'View', effective_orders.order_path(order) - else %p No previous orders.
Version data entries
9 entries across 9 versions & 1 rubygems