Pau Perez
|
1b39d57800
|
Remove deprecated reference to Spree::MailMethod
Said class is removed in https://github.com/spree/spree/pull/2643 in
Spree.
|
2018-03-07 16:24:39 +01:00 |
|
Rob Harrington
|
09ca9ac2dd
|
Alter scope to return both completed and resumed orders
|
2018-03-07 14:24:59 +11:00 |
|
Rob Harrington
|
b98afc00ba
|
Show message about resumable orders when unpausing a subscription
|
2018-03-07 14:24:59 +11:00 |
|
Rob Harrington
|
28491ee948
|
Skip stock check when requested quantity is zero
This prevents an error being raised when available stock is negative
|
2018-03-02 14:53:24 +11:00 |
|
Rob Harrington
|
31750a7bba
|
Add logic for calculator of fee estimates to SubscriptionEstimator
|
2018-03-02 10:11:26 +11:00 |
|
Rob Harrington
|
1ac9417a20
|
Add class description for ProxyOrder
|
2018-02-22 16:23:10 +11:00 |
|
Rob Harrington
|
d7d40a4a0f
|
Create new OrderFactory service object for initializing order from attr hash
|
2018-02-22 16:16:49 +11:00 |
|
Maxime Lalisse
|
11eda94949
|
Add i18n for admin/orders
|
2018-02-09 17:40:31 +01:00 |
|
Pau Perez
|
c79641c77c
|
Fix typos in documentation
|
2018-02-09 09:53:40 +01:00 |
|
Rob Harrington
|
7017c8540c
|
Replace references to 'standing line item' with 'subscription line item'
|
2018-02-09 14:44:15 +11:00 |
|
Rob Harrington
|
ae4420d9ba
|
Rename standing line item files
|
2018-02-09 14:44:14 +11:00 |
|
Rob Harrington
|
672f96b85b
|
Replace references to 'standing order' with 'subscription'
|
2018-02-09 14:44:13 +11:00 |
|
Rob Harrington
|
a9b5fd69d8
|
Renaming standing order files
|
2018-02-09 14:44:13 +11:00 |
|
Rob Harrington
|
c5f3249172
|
Fix rubocop issues
|
2018-02-09 14:44:12 +11:00 |
|
Rob Harrington
|
e7eb02dfe3
|
Reduce cognitive complexity of VariantsController#search
|
2018-02-09 14:44:12 +11:00 |
|
Rob Harrington
|
2012c23956
|
Reduce cognitive complexity of ProxyOrder#state
|
2018-02-09 14:44:12 +11:00 |
|
Rob Harrington
|
ce09a8dad6
|
Reduce cognitive complexity of StandingOrder#state
|
2018-02-09 14:44:11 +11:00 |
|
Rob Harrington
|
981b874263
|
Remove unused method active? for order cycles
|
2018-02-09 14:44:09 +11:00 |
|
Rob Harrington
|
8bf460c93a
|
Manually fix remaining rubocop offences
|
2018-02-09 14:44:08 +11:00 |
|
Rob Harrington
|
84ad996ef8
|
Use guard clauses
|
2018-02-09 14:44:07 +11:00 |
|
Rob Harrington
|
fb28940952
|
Use Time.zone.now instead of Time.now
|
2018-02-09 14:44:07 +11:00 |
|
Rob Harrington
|
03f1980b1b
|
Auto-correct rubocop offences for standing-orders
|
2018-02-09 14:44:07 +11:00 |
|
Rob Harrington
|
494f2f4821
|
Add cards lookup action to CustomersController
|
2018-02-09 14:44:04 +11:00 |
|
Rob Harrington
|
d3937e5c80
|
Move customer address lookup action to CustomersController
|
2018-02-09 14:44:03 +11:00 |
|
Rob Harrington
|
3ac2ac34ed
|
Add credit_card_id to StandingOrder model
|
2018-02-09 14:44:03 +11:00 |
|
Rob Harrington
|
25907d8969
|
Prevent standing order form from accepting non cash/stripe payment methods
|
2018-02-09 14:44:03 +11:00 |
|
Rob Harrington
|
07a7993109
|
Require a Cash or Stripe payment method in standing order setup process
|
2018-02-09 14:44:03 +11:00 |
|
Rob Harrington
|
6081db382c
|
Updating addresses on standing order updates addresses on any initialised orders
|
2018-02-09 14:44:03 +11:00 |
|
Rob Harrington
|
ab5dc7ddd5
|
Require action from user when pausing/cancelling standing order with open orders
|
2018-02-09 14:44:02 +11:00 |
|
Rob Harrington
|
3ce8a1abba
|
Tweaking proxy order state logic
Inherits 'paused' state from standing order if present
|
2018-02-09 14:44:02 +11:00 |
|
Rob Harrington
|
42266397aa
|
Improving performance of available variant lookup for standing orders
Only search the DB for available variants once
|
2018-02-09 14:44:01 +11:00 |
|
Rob Harrington
|
7dcd39986f
|
Refactoring StandingOrder validations and errors
Moving validations to StandingOrderForm
|
2018-02-09 14:44:01 +11:00 |
|
Rob Harrington
|
877a5f27d1
|
ProxyOrder state is 'pending' until OC opens, then 'cart' until OC closes
|
2018-02-09 14:44:00 +11:00 |
|
Rob Harrington
|
6ac49a7694
|
Adding route and controller action for searching for customer addresses using AddressFinder
|
2018-02-09 14:44:00 +11:00 |
|
Rob Harrington
|
25639a822a
|
Implementing standing order feature toggle on back-end interface
|
2018-02-09 14:43:57 +11:00 |
|
Rob Harrington
|
0cf7d1a63d
|
Link standing order orders to user on initialisation if customer user exists
|
2018-02-09 14:43:56 +11:00 |
|
Rob Harrington
|
e6fbdb17e8
|
Only initialise a proxy order once
|
2018-02-09 14:43:55 +11:00 |
|
Rob Harrington
|
875557dc9d
|
WIP: ProxyOrders don't require an order, fixing remainder of specs
|
2018-02-09 14:43:55 +11:00 |
|
Rob Harrington
|
be8fa1f4e4
|
WIP: ProxyOrders don't require an order, calculating total for serialized proxy orders from standing order where order does not exist
|
2018-02-09 14:43:55 +11:00 |
|
Rob Harrington
|
3d3013a592
|
WIP: ProxyOrders don't require an order, adding an edit path for proxy orders
initialises an order if one does not exist and redirects to its edit path
|
2018-02-09 14:43:55 +11:00 |
|
Rob Harrington
|
4b440c83a4
|
WIP: ProxyOrders don't require an order, StandingOrderForm changes
|
2018-02-09 14:43:55 +11:00 |
|
Rob Harrington
|
e29a4f9a8a
|
Moving order initialisation logic from StandingOrderForm to ProxyOrder model
|
2018-02-09 14:43:54 +11:00 |
|
Rob Harrington
|
64206bc35b
|
ProxyOrders belong to order cycles
|
2018-02-09 14:43:54 +11:00 |
|
Rob Harrington
|
e351c3e355
|
Renaming StandingOrderOrder to ProxyOrder
|
2018-02-09 14:43:54 +11:00 |
|
Rob Harrington
|
8e0f2fcb35
|
Adding optional manual override of line item stock level check
|
2018-02-09 14:43:54 +11:00 |
|
Rob Harrington
|
e068c4831b
|
Adding job to send confirm emails for standing orders on order cycle close
|
2018-02-09 14:43:54 +11:00 |
|
Rob Harrington
|
d6e5c0b346
|
Adding extra scopes to StandingOrder model
|
2018-02-09 14:43:53 +11:00 |
|
Rob Harrington
|
9a984963a7
|
Ensuring that only active standing orders are processed when order cycle opens
|
2018-02-09 14:43:53 +11:00 |
|
Rob Harrington
|
b9316422d2
|
Adding method to determine state of standing orders
|
2018-02-09 14:43:52 +11:00 |
|
Rob Harrington
|
8ff9ffbc38
|
Adding controller actions and routes for pausing and unpausing a standing order
|
2018-02-09 14:43:52 +11:00 |
|