Class: Spree::SalesPerformanceReport

Inherits:
Report
  • Object
show all
Defined in:
app/reports/spree/sales_performance_report.rb

Defined Under Namespace

Classes: ProfitLossChart, ProfitLossPercentChart, Result, SaleCostPriceChart

Constant Summary collapse

HEADERS =
{ sale_price: :integer, cost_price: :integer, promotion_discount: :integer, profit_loss: :integer, profit_loss_percent: :integer }
SEARCH_ATTRIBUTES =
{ start_date: :orders_created_from, end_date: :orders_created_till }
SORTABLE_ATTRIBUTES =
[]

Constants inherited from Report

Report::TIME_SCALES

Instance Attribute Summary

Attributes inherited from Report

#current_page, #paginate, #records_per_page, #reporting_period, #search, #sortable_attribute, #sortable_type, #total_records

Method Summary

Methods inherited from Report

#active_record_sort, deeplink, #deeplink_properties, #generate, #get_results, #header_sorted?, #initialize, #name, #paginated?, #pagination_required?, #set_sortable_attributes, #time_scale_columns, #time_scale_columns_to_s, #time_scale_selects, #total_pages

Constructor Details

This class inherits a constructor from Spree::Report