Skip to content

lenart/spree_suppliers

Repository files navigation

Spree Suppliers

A Lekarnar.com module for reveiewing purchased items and ordering additional new items from suppliers.

Installation

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

Example

http://localhost:3000/admin/reports/suppliers_orders

Todo

Testing

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

About

Add custom Suppliers model to Spree for Lekarnar3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published