Sha256: b5688a4f4164e26007f696a01e18d6de5fdf69158026e62c2f779c61fee5ad54

Contents?: true

Size: 1.01 KB

Versions: 15

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 '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_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

Version Path
spree_backend-2.1.4 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.0.8 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.1.3 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.0.7 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.1.2 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.0.6 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.1.1 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.0.5 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.1.0 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.0.4 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.0.3 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.0.2 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.0.1 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.0.0 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-2.0.0.rc1 app/views/spree/admin/reports/sales_total.html.erb