Sha256: 9cac9b36e023c2976da2d8adffb212e76bddb242a6f314effa5c5ec0d5baca9f
Contents?: true
Size: 958 Bytes
Versions: 15
Compression:
Stored size: 958 Bytes
Contents
<% admin_breadcrumb(link_to Spree.t(:reports), spree.admin_reports_path) %> <% admin_breadcrumb(Spree.t(:sales_total)) %> <% content_for :page_actions do %> <% end %> <% content_for :table_filter_title do %> <%= Spree.t(:date_range) %> <% end %> <% content_for :table_filter do %> <%= render :partial => 'spree/admin/shared/report_order_criteria', :locals => {} %> <% end %> <table class="admin-report" data-hook="sales_total"> <thead> <tr> <th><%= Spree.t(:currency) %></th> <th><%= Spree.t(:item_total) %></th> <th><%= Spree.t(:adjustment_total) %></th> <th><%= Spree.t(:sales_total) %></th> </tr> </thead> <tbody> <% @totals.each do |key, row| %> <tr class="align-center"> <td><%= key %></td> <td><%= row[:item_total].format %></td> <td><%= row[:adjustment_total].format %></td> <td><%= row[:sales_total].format %></td> </tr> <% end %> </tbody> </table>
Version data entries
15 entries across 15 versions & 1 rubygems