Sha256: f7d870ac0180f4ae9b53b893ea09848598e6311a20aae0c191e0c2496268dbec
Contents?: true
Size: 778 Bytes
Versions: 19
Compression:
Stored size: 778 Bytes
Contents
%h2.effective-orders-page-title= (@page_title || 'Sales History') %table.table %thead %tr %th Product %th Order %th Buyer %th Date of Sale %th Description %tbody - (@order_items || {}).group_by(&:purchasable).each do |purchasable, order_items| - order_items.each_with_index do |order_item, x| %tr - if x == 0 %td{:rowspan => order_items.size} = link_to purchasable.title, acts_as_purchasable_path(purchasable) %td= "##{order_item.order.to_param}" %td= order_item.order.try(:user).try(:to_s) %td= order_item.order.purchased_at.strftime("%Y-%m-%d %H:%M") %td= order_item_summary(order_item) - unless @order_items.present? %p You have no sales
Version data entries
19 entries across 19 versions & 1 rubygems