Pau Perez
cee24dcca7
Use indented style for multiline method calls
...
This enables the Rubocop's Style/MultilineMethodCallIndentation cop with
indentend enforced style. Which makes you split multiline method calls like:
orders = Spree::Order
.an_scope
.another_scope
.where(id: list_of_ids)
It also autofixes the current violations and updates the
rubocop_todo.yml
2017-07-12 10:40:53 +02:00
Rob Harrington
fab6d70832
Changeable orders only returns orders if the shop allows changes
2017-05-12 16:11:16 +10:00
Julius Pabrinkis
f25e3bc6f7
Implement with_currency rspec helper for money amounts
2017-05-04 18:02:38 +01:00
Julius Pabrinkis
e63f1c2991
Refactor time and currency symbol getters
2017-05-03 12:59:16 +01:00
Julius Pabrinkis
dc69c6e825
Use currency symbol from config in tests
2017-05-03 11:25:37 +01:00
Rohan Mitchell
bbcaef20a8
Add unit specs for Spree::Admin::NavigationHelper
2016-12-09 11:24:58 +11:00
Maikel Linke
a2a6ce1b3e
Revert "TEMP: Remove override for no-longer-present method"
...
This reverts commit a3b91dabe5 .
Conflicts:
app/helpers/spree/admin/navigation_helper_decorator.rb
2016-12-08 10:38:21 +11:00
Rohan Mitchell
a3b91dabe5
TEMP: Remove override for no-longer-present method
2016-11-04 09:39:17 +11:00
Maikel Linke
7c3968b64e
Hide guest checkout if deactivated
2016-10-05 15:41:09 +11:00
Continuous Integration
e252414263
Auto-merge from CI [skip ci]
2016-06-30 01:30:53 +10:00
Lynne Davis
320db21d5c
Updating spec with $ (not £) for automated testing
2016-06-29 16:30:11 +01:00
Rob Harrington
7028fbe288
Find current_customer via current_distributor and current_user rather than current_order
...
Moving available_payment_methods to enterprises_helper, as per available_shipping_methods
2016-05-28 00:31:59 +10:00
Rob Harrington
607b674c57
Refactoring tag rule logic, placing in TagRuleApplicator lib class
2016-05-27 16:25:10 +10:00
Rob Harrington
50738f28e9
Refactoring tag rule application
...
To allow rules to be loaded and counted before being checked for relevance
2016-05-27 16:23:26 +10:00
Lynne Davis
f0a2098826
Adding text generation to new business model features
2016-05-25 09:45:47 +01:00
Rob Harrington
d8c17d160a
Applying shipping method rules in checkout
2016-04-01 19:48:25 +11:00
stveep
48896ab3d8
More serializer specs
2015-12-22 15:09:24 +00:00
Rob Harrington
ca3c464fda
Reorganising busines model config settings, moving account invoice tax rate in busines model config settings
2015-12-16 19:18:57 +11:00
Rob Harrington
5b72f53738
Adding helper for describing monthly billing charges
2015-12-16 19:18:57 +11:00
Rohan Mitchell
b3878b126b
Decouple generic injection spec from EnterpriseSerializer
2015-06-03 12:53:46 +10:00
Rohan Mitchell
e75c6a8e1d
Add helper to display total tax on an order
2015-04-17 13:39:09 +10:00
Rob Harrington
d115ef5f7e
Scoping old generalised order cycle helper methods to a specific order cycle
2015-03-27 16:16:10 +11:00
Rob Harrington
8de6f983a2
User must set the coordinator first when creating an order cycle
2015-02-27 17:24:36 +11:00
Rob Harrington
53594b3a0f
Cannot add unconfirmed enterprises to order cycles
2015-02-27 17:24:36 +11:00
Maikel Linke
211e9c33a7
Fixing link to group website
2015-02-07 19:31:16 +11:00
Maikel Linke
30601b9203
tidy up group contact with helpers
2015-02-05 20:20:28 +11:00
Maikel Linke
504a053693
link_to_ext helper for group pages
2015-02-05 17:21:41 +11:00
Rob Harrington
74642c3825
Update checkout helper spec to reflect Rohan's changes
2014-11-06 21:18:20 +11:00
Rohan Mitchell
9f43146e47
Payment methods need to be available, too
2014-10-31 12:22:02 +11:00
Rohan Mitchell
1d9a3f33e0
Order cycle distributors must have shipping and payment methods
2014-10-31 12:22:02 +11:00
Rohan Mitchell
433806aca8
Remove unused helpers and standardise naming
2014-10-31 12:22:02 +11:00
Rob Harrington
45ed3a4cff
Only pushes activated enterprises through to the frontend
2014-10-22 15:39:49 +11:00
Rob H
ee4a1925fe
Bulk Order Management works with navigation helper override
2014-09-06 00:34:27 +10:00
Rohan Mitchell
abe592c9a3
Allow Reports admin tab to be enabled/disabled through cancan :report resource
2014-08-19 14:22:19 +10:00
Will Marshall
edaba844d9
Merge branch 'laura_and_will' into new_cart
...
Conflicts:
app/views/shop/products/_form.html.haml
app/views/shop/products/_master.html.haml
app/views/shop/products/_variants.html.haml
2014-07-18 17:02:19 +10:00
Rohan Mitchell
19118da82e
Remove old landing page cruft
2014-07-17 14:26:07 +10:00
Will Marshall
158bdd145f
All the new serializers and some specs
2014-07-17 14:23:09 +10:00
Will Marshall
547d9f9f5c
Moving payment methods and shipping methods into their own services
2014-07-17 14:19:39 +10:00
Will Marshall
c640233ee5
Merge branch 'master' into laura_and_will
...
Conflicts:
app/assets/javascripts/darkswarm/filters/taxons.js.coffee
app/models/enterprise.rb
app/serializers/api/enterprise_serializer.rb
db/migrate/20140702053145_add_fields_to_distributors_shipping_methods.rb
db/schema.rb
spec/helpers/shared_helper_spec.rb
spec/javascripts/unit/darkswarm/filters/shipping_spec.js.coffee
spec/javascripts/unit/darkswarm/filters/taxons_spec.js.coffee
spec/javascripts/unit/darkswarm/services/taxon_spec.js.coffee
spec/models/enterprise_spec.rb
2014-07-09 11:40:54 +10:00
Rohan Mitchell
30262e1969
Clean up specs, fix broken spec, remove JS log
2014-07-04 14:39:27 +10:00
Rohan Mitchell
206275b794
Code cleanups
2014-07-04 14:39:27 +10:00
Will Marshall
24d3abf6d5
Adding dereferencing to taxons and reducing our data-set
2014-07-04 14:38:27 +10:00
Will Marshall
487b8616c0
Adding dereferencing to taxons and reducing our data-set
2014-07-04 13:51:22 +10:00
Will Marshall
9667b84c5c
Finishing the transition to AMS from RABL
2014-06-26 11:07:53 +10:00
Will Marshall
476eeef69d
Starting on on the map
2014-06-05 12:18:26 +10:00
Will Marshall
e44853346e
Dropping current producers, switching to suppliers and using Angular
2014-05-29 16:12:58 +10:00
Will Marshall
eab9c28d2e
Adding groups to this branch, also tidying up the shop stuff for Laura
2014-05-16 14:00:33 +10:00
Will Marshall
3ed569b24a
Patching a couple of borked specs
2014-04-24 09:52:29 +10:00
Will Marshall
00f5d09d65
Moving our inputs to magical helpers
2014-04-10 14:48:22 +10:00
Rohan Mitchell
93db813b3a
Make current_producers helper more resilient
2014-03-27 10:25:05 +11:00