A spree extension with additional reports:
- Total Sales Of Each Product
- Order Counts for Last 10 Days
- Order Counts for Last 30 Days
Add spree_simple_reports to your Gemfile:
gem 'spree_simple_reports', github: 'nebulab/spree_simple_reports'
Bundle your dependencies and run the installation generator:
bundle
bundle exec rails g spree_simple_reports:install
First bundle your dependencies, then run rake
. rake
will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using rake test_app
.
bundle
bundle exec rake
When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:
require 'spree_simple_reports/factories'
Copyright (c) 2015 Nebulab, released under the New BSD License