Sha256: 38ae28cafb574a843241d0e01eb9ec2eb7c206aabedaf9d1061e826c84bc82cc
Contents?: true
Size: 1.07 KB
Versions: 11
Compression:
Stored size: 1.07 KB
Contents
<% content_for :page_title do %> <%= link_to Spree.t(:reports), spree.admin_reports_url %> / <%= Spree.t(:sales_totals) %> <%= Spree.t('admin.reports.for', store_name: current_store.unique_name) %> <% end %> <div class="card bg-light mb-3"> <div class="card-body"> <%= render partial: 'spree/admin/shared/report_order_criteria' %> </div> </div> <div class="table-responsive"> <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><%= Spree::Money.new(row[:item_total], { currency: key }) %></td> <td><%= Spree::Money.new(row[:adjustment_total], { currency: key }) %></td> <td><%= Spree::Money.new(row[:sales_total], { currency: key }) %></td> </tr> <% end %> </tbody> </table> </div>
Version data entries
11 entries across 11 versions & 1 rubygems