Sha256: 64a351d4e9ba01793ca29bfa8f4e2ff603e6c5bb0644181d40d530e9a063277b

Contents?: true

Size: 1.01 KB

Versions: 75

Compression:

Stored size: 1.01 KB

Contents

<% content_for :page_title do %>
  <%= Spree.t(:sales_totals) %>
<% end %>

<% content_for :page_actions do %>
  <li><%= link_to_with_icon 'arrow-left', Spree.t(:back_to_reports_list), spree.admin_reports_url, :class => 'button' %></li>
<% 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

75 entries across 75 versions & 2 rubygems

Version Path
spree_backend-2.3.11 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.2.12 app/views/spree/admin/reports/sales_total.html.erb
solidus_backend-1.0.0.pre app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.4.7 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.3.10 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.4.6 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.3.9 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.2.11 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.2.10 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.3.8 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.4.5 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.4.4 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.3.7 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.4.3 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.2.9 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.4.2 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.3.6 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.2.8 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.4.1 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.4.0 app/views/spree/admin/reports/sales_total.html.erb