Sha256: a886cfb6dc1aefe18f6c4eb3d0b6b95a94a0181cafdd5381e8125e0039621fc2
Contents?: true
Size: 960 Bytes
Versions: 22
Compression:
Stored size: 960 Bytes
Contents
<% admin_breadcrumb(link_to t('spree.reports'), spree.admin_reports_path) %> <% admin_breadcrumb(t('spree.sales_total')) %> <% content_for :page_actions do %> <% end %> <% content_for :table_filter_title do %> <%= t('spree.date_range') %> <% end %> <% content_for :table_filter do %> <%= render partial: 'spree/admin/shared/report_order_criteria', locals: { action: :sales_total } %> <% end %> <table class="admin-report" data-hook="sales_total"> <thead> <tr> <th><%= t('spree.currency') %></th> <th><%= t('spree.item_total') %></th> <th><%= t('spree.adjustment_total') %></th> <th><%= t('spree.sales_total') %></th> </tr> </thead> <tbody> <% @totals.each do |key, row| %> <tr> <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
22 entries across 22 versions & 2 rubygems