Rob Harrington
|
3b2d4ae2d4
|
Estimator take variant overrides into account
|
2018-03-02 10:11:26 +11:00 |
|
Rob Harrington
|
14a03aab35
|
Fallback to previous saved estimate if calculator not available
|
2018-03-02 10:11:26 +11:00 |
|
Rob Harrington
|
904a364bf1
|
Stop unnecessarily passing fee_calculators around
|
2018-03-02 10:11:26 +11:00 |
|
Rob Harrington
|
30df1d4345
|
Refector controller to allow price_estimate calculation
|
2018-03-02 10:11:26 +11:00 |
|
Rob Harrington
|
b85e38010f
|
Delegate responsibility to estimating prices for subscriptions to dedicated service object
|
2018-03-02 10:11:26 +11:00 |
|
Enrico Stano
|
14caac0212
|
Merge pull request #2074 from mjal/2057states-are-not-displayed-in-modify-address-pop-in-and-prevent-saving-2
Bug fix in customers edit address
|
2018-03-01 14:59:02 +01:00 |
|
Enrico Stano
|
6e9efe79b7
|
Merge pull request #2053 from Matt-Yorkley/uk/enterprise_limit
Increase default enterprise limit
|
2018-03-01 14:40:24 +01:00 |
|
Maxime Lalisse
|
cff1d7224d
|
Bug fix in customers edit address
|
2018-03-01 22:02:39 +11:00 |
|
Rob Harrington
|
1ac9417a20
|
Add class description for ProxyOrder
|
2018-02-22 16:23:10 +11:00 |
|
Rob Harrington
|
ae1c8344d1
|
Ensure price estimates generated for subscriptions take overrides into account
|
2018-02-22 16:16:49 +11:00 |
|
Rob Harrington
|
add9c83812
|
Ensure correct price is used by OrderFactory when building line items
|
2018-02-22 16:16:49 +11:00 |
|
Rob Harrington
|
993f02a989
|
Add knowledge of variant overrides to OrderFactory
|
2018-02-22 16:16:49 +11:00 |
|
Rob Harrington
|
d7d40a4a0f
|
Create new OrderFactory service object for initializing order from attr hash
|
2018-02-22 16:16:49 +11:00 |
|
Rob Harrington
|
6bf4ed1ac5
|
Add new review view to subscription wizard
|
2018-02-22 16:13:29 +11:00 |
|
Rob Harrington
|
6bdbdc06e7
|
Use select2_search instead of targetted_select2_search
|
2018-02-22 16:13:29 +11:00 |
|
Rob Harrington
|
2e94654f91
|
Create factory to hold auxillary functions for subscriptions
NOTE: Moved estimatedSubtotal and estimatedTotal functions to the new factory from the subscription line items controller
|
2018-02-22 16:13:29 +11:00 |
|
Rob Harrington
|
2a731b2db5
|
Rename SubscriptionPrototype to SubscriptionActions
|
2018-02-22 16:13:29 +11:00 |
|
Rob Harrington
|
dcfa5fa42d
|
Use services to access injected data arrays
|
2018-02-22 16:13:29 +11:00 |
|
Rob Harrington
|
ad62b258ac
|
Populate 'all' array from Schedules#load
|
2018-02-22 16:13:29 +11:00 |
|
Rob Harrington
|
95f70409ee
|
Auto-load customers into service when present
|
2018-02-22 16:13:29 +11:00 |
|
Rob Harrington
|
3ac57269ed
|
Use .all convention for shipping and payment methods resource services
|
2018-02-22 16:13:29 +11:00 |
|
Rob Harrington
|
8951c79f71
|
Only count future orders in subs index order count
|
2018-02-22 15:09:33 +11:00 |
|
Rob Harrington
|
b3e7badd37
|
Fix incorrect translation key
|
2018-02-22 14:33:25 +11:00 |
|
Rob Harrington
|
cec5fddf6a
|
Add missing translation
|
2018-02-22 14:33:25 +11:00 |
|
Rob Harrington
|
c4a81bdc48
|
Translate subscriptions loading flash
|
2018-02-22 14:33:25 +11:00 |
|
Rob Harrington
|
9887819c16
|
Update ref for ofn-qz
|
2018-02-22 13:56:10 +11:00 |
|
Pau Pérez Fabregat
|
c1b7e9f79e
|
Merge pull request #2069 from HugsDaniel/1889_bug_in_order_cycles_filter_on_customer_admin_reports
Loads all order cycles for current user whether he is producer, distributor or coordinator
|
2018-02-21 17:11:52 +01:00 |
|
Hugo Daniel
|
3fa5ca7eae
|
Use accessible_by method instead of involving_managed_distributors method to fetch all order cycles
|
2018-02-21 17:33:28 +11:00 |
|
Hugo Daniel
|
65fea6291e
|
CodeClimate requested changes
|
2018-02-21 17:33:28 +11:00 |
|
Hugo Daniel
|
64c2bdda1c
|
Added loading of all active or complete order cycles concerned by the current user to the reports form collection
User will see all order cycles he is concerned by as producer, distributor or coordinator
|
2018-02-21 17:33:28 +11:00 |
|
Pau Pérez Fabregat
|
183621f90b
|
Merge pull request #2080 from coopdevs/add-skylight-staging
Enable Skylight in staging
|
2018-02-15 11:26:16 +01:00 |
|
Pau Perez
|
a7dcaf15fa
|
Enable Skylight in staging
This is a follow-up of
https://github.com/openfoodfoundation/openfoodnetwork/pull/2070.
When running the production API key in staging, the `log/skylight.log`
showed:
```
[SKYLIGHT] [1.5.0] You are running in the staging environment but
haven't added it to config.skylight.environments, so no data will be
sent to skylight.io.
```
According to
https://www.skylight.io/support/advanced-setup#setting-up-multiple-environments
it turns out we need to create a new app for staging and use its API
key.
|
2018-02-14 14:46:10 +01:00 |
|
Matt-Yorkley
|
237854c781
|
Update enterprise limit error text and use expect sytnax
|
2018-02-13 14:05:18 +00:00 |
|
Matt-Yorkley
|
3c5b01ece0
|
Update enterprise limit spec
|
2018-02-13 14:05:18 +00:00 |
|
Matt-Yorkley
|
d52f9fd43f
|
Add enterprise limit modal
|
2018-02-13 14:05:18 +00:00 |
|
Pierre de Lacroix
|
5c046b76f0
|
Fix failing tests
|
2018-02-13 14:05:17 +00:00 |
|
Pierre de Lacroix
|
ab1ed16435
|
Add a migration to change Spree::Users enterprise_limit default value from 1 to 5
|
2018-02-13 14:05:17 +00:00 |
|
Pau Pérez Fabregat
|
23d36e3898
|
Merge pull request #2058 from coopdevs/improve-order-cycle-notification
Improve code style and docs of job
|
2018-02-09 13:19:32 +01:00 |
|
Pau Perez
|
c79641c77c
|
Fix typos in documentation
|
2018-02-09 09:53:40 +01:00 |
|
Pau Perez
|
aa4bd7f397
|
Improve code style and docs of job
|
2018-02-09 09:53:39 +01:00 |
|
Pau Pérez Fabregat
|
be07996656
|
Merge pull request #2070 from chancancode/skylight
Add Skylight instrumentation
|
2018-02-09 08:55:30 +01:00 |
|
Rob Harrington
|
e12207f3de
|
Use shop contact email and contact name for subscription emails
|
2018-02-09 14:44:15 +11:00 |
|
Rob Harrington
|
09b800672d
|
Fix specs to handle non-deterministic ordering
|
2018-02-09 14:44:15 +11:00 |
|
Rob Harrington
|
c59b172348
|
Fix typo
|
2018-02-09 14:44:15 +11: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
|
eb53df8238
|
Rename 'standing_line_items' table to 'subscription_line_items'
|
2018-02-09 14:44:14 +11:00 |
|
Rob Harrington
|
71370e0bce
|
Replace references to 'standing order' with 'subscription' (cleanup)
|
2018-02-09 14:44:14 +11:00 |
|
Rob Harrington
|
ba66c0e862
|
Replace references to 'standing order' with 'subscription' (schedule)
|
2018-02-09 14:44:14 +11:00 |
|
Rob Harrington
|
c605742671
|
Replace references to 'standing order' with 'subscription' (routes)
|
2018-02-09 14:44:14 +11:00 |
|