Sha256: baf1e6adee4f31203af2337313190fcfa4e3bb30c3a3d4402a5a17bf076b9038
Contents?: true
Size: 994 Bytes
Versions: 9
Compression:
Stored size: 994 Bytes
Contents
<% content_for :page_title do %> <%= t(:sales_totals) %> <% end %> <% content_for :page_actions do %> <li><%= link_to_with_icon 'icon-arrow-left', t(:back_to_reports_list), spree.admin_reports_url, :class => 'button' %></li> <% end %> <% content_for :table_filter_title do %> <%= t(:date_range) %> <% end %> <% content_for :table_filter do %> <%= render :partial => 'spree/admin/shared/report_criteria', :locals => {} %> <% end %> <table class="admin-report" data-hook="sales_total"> <thead> <tr> <th><%= t(:currency) %></th> <th><%= t(:item_total) %></th> <th><%= t(:adjustment_total) %></th> <th><%= 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
9 entries across 9 versions & 2 rubygems