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 |
|
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 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 |
|
Rob Harrington
|
e12207f3de
|
Use shop contact email and contact name for subscription emails
|
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
|
71370e0bce
|
Replace references to 'standing order' with 'subscription' (cleanup)
|
2018-02-09 14:44:14 +11:00 |
|
Rob Harrington
|
501fa4c901
|
Replace references to 'standing order' with 'subscription' (erb)
|
2018-02-09 14:44:14 +11:00 |
|
Rob Harrington
|
094c3e70f7
|
Replace references to 'standing order' with 'subscription' (HAML)
|
2018-02-09 14:44:13 +11:00 |
|
Rob Harrington
|
b3eaa30f3d
|
Replace references to 'standing order' with 'subscription' (JS)
|
2018-02-09 14:44:13 +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
|
fe7b86ff60
|
Fix broken call to log_order which should have been record_order
|
2018-02-09 14:44:12 +11:00 |
|
Rob Harrington
|
17950ba498
|
Lazy load summarizers for standing order jobs outside of initializer
The enqueue script seems to causes delayed job to skip initialization of the job class, meaning that the summarizers were missing
|
2018-02-09 14:44:12 +11:00 |
|
Rob Harrington
|
ccbe33001f
|
Add missing interpolation for shop name
|
2018-02-09 14:44:12 +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
|
17a0b18e50
|
Reduce cognitive complexity of StandingLineItemsController#build
|
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
|
88a5d4be47
|
Reduce cognitive complexity of LineItemSyncer#update_item_quantities
|
2018-02-09 14:44:12 +11:00 |
|
Rob Harrington
|
224249d66b
|
Reduce cognitive complexity of OrderSyncer
|
2018-02-09 14:44:11 +11:00 |
|
Rob Harrington
|
ceab1fe16a
|
Reduce cognitive complexity of StandingOrderPaymentUpdater
|
2018-02-09 14:44:11 +11:00 |
|
Rob Harrington
|
ce09a8dad6
|
Reduce cognitive complexity of StandingOrder#state
|
2018-02-09 14:44:11 +11:00 |
|
Rob Harrington
|
d6924d2866
|
Add comment to OrderUpdateIssues
|
2018-02-09 14:44:11 +11:00 |
|
Rob Harrington
|
3e68973812
|
Rename StandingOrderUpdater to OrderSyncer
|
2018-02-09 14:44:11 +11:00 |
|
Rob Harrington
|
bbc3cad67d
|
Refactor large StandingOrderUpdater#update! method
Note: extracted line items logic into separate class
|
2018-02-09 14:44:11 +11:00 |
|
Rob Harrington
|
50d3522b2c
|
Extract logic for recording issues with updating orders to separate class
|
2018-02-09 14:44:11 +11:00 |
|
Rob Harrington
|
2c5bfab29f
|
Refactoring price estimation logic for StandingOrderForm
|
2018-02-09 14:44:11 +11:00 |
|
Rob Harrington
|
844cd79270
|
Clean-up of standing order form and spec
|
2018-02-09 14:44:10 +11:00 |
|
Rob Harrington
|
8ae4307a69
|
Move logic for updating orders to dedicated class
|
2018-02-09 14:44:09 +11:00 |
|
Rob Harrington
|
2c40252edb
|
Extract validation logic for standing orders into service object
|
2018-02-09 14:44:09 +11:00 |
|
Rob Harrington
|
0c302b022a
|
Move StandingOrderForm to app/services folder
|
2018-02-09 14:44:09 +11:00 |
|
Rob Harrington
|
7581779a0d
|
Remove weird escape characters
|
2018-02-09 14:44:09 +11:00 |
|
Rob Harrington
|
f9727de206
|
Comment out interface for turning standing orders ON for an enterprise
|
2018-02-09 14:44:09 +11:00 |
|
Rob Harrington
|
76daa183d5
|
Add orders sub-menu to standing-order index page
|
2018-02-09 14:44:09 +11:00 |
|
Rob Harrington
|
981b874263
|
Remove unused method active? for order cycles
|
2018-02-09 14:44:09 +11:00 |
|