This extension adds a frontend interface to allow user to ask for items returns.
This fork makes the following changes:
- add exchange options to the frontend interface
- only allow a return request to be file when there is no existing return authorization on the item (or when all existing ones are canceled)
Add spree_return_authorizations_frontend to your Gemfile:
gem 'spree_return_authorizations_frontend', github: 'strava/spree_return_authorizations_frontend', branch: '2-4-stable'
Bundle your dependencies and run the installation generator:
bundle
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_return_authorizations_frontend/factories'
Copyright (c) 2015 [Nebulab], released under the New BSD License