Sha256: 462b05945f1787a77ac19ed9154eb4fc77ffddadcc7bba636a6e4953f6569c5a

Contents?: true

Size: 810 Bytes

Versions: 6

Compression:

Stored size: 810 Bytes

Contents

<% content_for :page_title do %>
  <%= link_to Spree.t(:reports), spree.admin_reports_url %> /
  <%= Spree.t(:sales_totals) %>
<% end %>

<div class="well">
  <%= render :partial => 'spree/admin/shared/report_order_criteria' %>
</div>

<table class="table table-bordered 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>
        <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

6 entries across 6 versions & 1 rubygems

Version Path
spree_backend-3.1.2 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-3.1.1 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-3.1.0 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-3.1.0.rc4 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-3.1.0.rc3 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-3.1.0.rc2 app/views/spree/admin/reports/sales_total.html.erb