A Lekarnar.com module for reveiewing purchased items and ordering additional new items from suppliers.
Add gem to your Gemfile
gem 'spree_suppliers'
Run the generators to copy assets and migrations.
rails g spree_suppliers:install
Add javascript and stylesheets to your assets (remove them from javascripts/all.js and stylesheets/all.css if they were added by the generator).
# app/assets/admin/all.js
//= require admin/spree_suppliers
# app/assets/stylesheets/all.css
//* require admin/spree_suppliers
http://localhost:3000/admin/reports/suppliers_orders
Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.
$ bundle
$ bundle exec rake test_app
$ bundle exec rspec spec
Copyright (c) 2013 Lenart Rudel, released under the New BSD License