Maikel Linke
|
40b0a0bd5a
|
Determine searching state by params, not request
We may want to use GET for searching or POST to display a certain report
type.
|
2018-05-18 11:27:48 +10:00 |
|
Maikel Linke
|
63799b2cb1
|
Remove outdated comment
|
2018-05-18 11:27:48 +10:00 |
|
Maikel Linke
|
8e2aee71da
|
Compile Order Cycle Management only on search
|
2018-05-18 11:27:48 +10:00 |
|
Maikel Linke
|
7a546087b2
|
Compile Packing report data only on search
|
2018-05-18 11:27:47 +10:00 |
|
Maikel Linke
|
1e80487afc
|
Compile Order And Distributors only on search
And move most logic into the report class like the others.
|
2018-05-18 11:27:47 +10:00 |
|
Maikel Linke
|
53436024e2
|
Compile Orders & Fulfillment report only on search
|
2018-05-18 11:27:47 +10:00 |
|
Maikel Linke
|
feb33c3ca5
|
Compile Payments report only on search
|
2018-05-18 11:27:47 +10:00 |
|
Maikel Linke
|
bf74282e5f
|
Compile Bulk Co-Op report only on search
|
2018-05-18 11:27:47 +10:00 |
|
Maikel Linke
|
5f9d239f19
|
Compile Products & Inventory report only on search
|
2018-05-18 11:27:47 +10:00 |
|
Maikel Linke
|
d464216027
|
Don't compile Sales Tax report data before search
|
2018-05-18 11:27:47 +10:00 |
|
Maikel Linke
|
b8ca37e9d2
|
Don't compile xero report data before search
|
2018-05-18 11:27:47 +10:00 |
|
Maikel Linke
|
14e7cdd138
|
Don't compile customers report data before search
Distributors, suppliers and order cycles are still loaded for the search
form.
|
2018-05-18 11:27:47 +10:00 |
|
Maikel Linke
|
8393b1d4c0
|
Don't compile user-enterprises report before search
|
2018-05-18 11:27:47 +10:00 |
|
Maikel Linke
|
fcd41c67fa
|
Add logic for showing empty reports initially
|
2018-05-18 11:27:47 +10:00 |
|
Maikel Linke
|
031c4d417e
|
Simplify report rendering
|
2018-05-18 11:27:47 +10:00 |
|
Maikel Linke
|
41bb5e4e96
|
Unify report rendering
|
2018-05-18 11:27:47 +10:00 |
|
Maikel Linke
|
f3d542a3ec
|
Fix style and spelling
|
2018-05-18 11:27:46 +10:00 |
|
Maikel Linke
|
36b5f0eea7
|
Render only displayed report options
|
2018-05-18 11:27:46 +10:00 |
|
Maikel Linke
|
742e9d2a5f
|
Remove more code duplication
|
2018-05-18 11:27:46 +10:00 |
|
Maikel Linke
|
6a52ca8113
|
Remove code duplication
|
2018-05-18 11:27:46 +10:00 |
|
Matt-Yorkley
|
598677be3f
|
Disable guest checkout for registered users
|
2018-05-11 12:05:26 +10:00 |
|
Pau Perez
|
76fe1c7ee9
|
Auto correct Rubocop's Layout/IndentAssignment cop
|
2018-04-09 18:47:18 +02:00 |
|
Pau Perez
|
6593dea4f6
|
Auto correct Rubocop's Layout/EmptyLinesAroundMethodBody cop
|
2018-04-09 18:47:17 +02:00 |
|
Pau Perez
|
746fcd5802
|
Auto correct Rubocop's Layout/EmptyLinesAroundAccessModifier cop
|
2018-04-09 18:47:17 +02: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 |
|
Rob Harrington
|
e7eb02dfe3
|
Reduce cognitive complexity of VariantsController#search
|
2018-02-09 14:44:12 +11:00 |
|
Rob Harrington
|
d3937e5c80
|
Move customer address lookup action to CustomersController
|
2018-02-09 14:44:03 +11:00 |
|
Rob Harrington
|
9137f68a57
|
Adding logic to SearchController#customer_addresses for case when customer is not found
|
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
|
4a0dab3608
|
Renaming LastUsedAddress as AddressFinder
|
2018-02-09 14:43:59 +11:00 |
|
Rob Harrington
|
1b72b7258d
|
Refactoring LastUsedAddress to take customers or users
|
2018-02-09 14:43:58 +11:00 |
|
Rob Harrington
|
946046e53b
|
Moving action for estimating standing_line_item prices into StandingLineItemController#build
|
2018-02-09 14:43:31 +11:00 |
|
Rob Harrington
|
415955e7b3
|
SO: Adding variants to a new standing order, price estimate provided
|
2018-02-09 14:43:30 +11:00 |
|
Matt-Yorkley
|
b893dea810
|
Make sure userSelect directive uses our Admin::UserSerializer instead of base Spree api view
|
2018-02-07 10:41:53 +11:00 |
|
Matt-Yorkley
|
fde0aba96c
|
Feedback when user changes email addess
|
2018-02-07 10:41:53 +11:00 |
|
Matt-Yorkley
|
6d9cc7e29d
|
Fix account page locale
|
2018-01-18 10:22:40 +11:00 |
|
Pierre de Lacroix
|
e13063e0c6
|
Fix before_filter for Spree::Admin::OrdersController#print_ticket
|
2017-11-23 11:01:41 +11:00 |
|
Julius Pabrinkis
|
94e31e35ba
|
Fix Spree::Admin::BaseController related issues
|
2017-11-10 08:47:12 +11:00 |
|
Rob Harrington
|
098afc62c1
|
Fix rubocop issues
|
2017-09-23 14:58:34 +10:00 |
|
Rob Harrington
|
0bbaafbd41
|
Use guard clause
|
2017-09-23 14:58:34 +10:00 |
|
Rob Harrington
|
f6c3a2a46e
|
Remove new credit card initialisation logic from Spree::UsersController#show
|
2017-09-23 14:58:34 +10:00 |
|
Rob Harrington
|
4464a85a74
|
Add missing controller specs for CreditCardController #destroy
|
2017-09-23 14:58:34 +10:00 |
|
Rob Harrington
|
22bbe29f3d
|
Call single-use before_filters from actions instead
|
2017-09-23 14:58:34 +10:00 |
|
Rob Harrington
|
ca1987fc87
|
Prevent Stripe payment methods without account owners from being saved
|
2017-09-23 14:58:34 +10:00 |
|
Rob Harrington
|
6133b302af
|
Use guard clause in PaymentMethodsController#restrict_stripe_account_change
|
2017-09-23 14:58:33 +10:00 |
|
Rob Harrington
|
4865533f26
|
Restrict edit permissions on Stripe payment methods
|
2017-09-23 14:58:33 +10:00 |
|
Rob Harrington
|
8901af897a
|
Store card details submitted via checkout
|
2017-09-23 14:58:33 +10:00 |
|
Rob Harrington
|
ecb78233d9
|
Use guard clauses where possible
|
2017-09-23 14:58:32 +10:00 |
|