Sha256: 94d9c380cb26a5b43f9dc8f80ba11253f28f844ab8ba70c74b6fdd6bf5433391

Contents?: true

Size: 946 Bytes

Versions: 15

Compression:

Stored size: 946 Bytes

Contents

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

<% content_for :page_actions do %>
  <%= link_to_with_icon 'arrow-left', Spree.t(:back_to_resource_list, resource: Spree.t(:report)), spree.admin_reports_url, class: 'btn btn-default' %>
<% 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

15 entries across 15 versions & 1 rubygems

Version Path
spree_backend-3.0.10 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-3.0.9 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-3.0.8 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-3.0.7 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-3.0.6.1 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-3.0.6 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-3.0.5 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-3.0.4 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-3.0.3 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-3.0.2 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-3.0.1 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-3.0.0 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-3.0.0.rc4 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-3.0.0.rc3 app/views/spree/admin/reports/sales_total.html.erb
spree_backend-3.0.0.rc1 app/views/spree/admin/reports/sales_total.html.erb