Rohan Mitchell
|
b9e5821497
|
Add EnterpriseRelationship scopes permitting and with_permission
|
2014-08-28 10:09:50 +10:00 |
|
Rohan Mitchell
|
057ad9c6d3
|
Set enterprise relationship permissions from a list
|
2014-08-25 14:54:52 +10:00 |
|
Rohan Mitchell
|
3524e658f8
|
Error when creating product and master is invalid, instead of creating a product without a master
|
2014-08-25 11:52:15 +10:00 |
|
Rohan Mitchell
|
50e4c5fac9
|
Users with only a profile-level enterprise see only menu items for enterprise management
|
2014-08-19 14:26:45 +10:00 |
|
Rob H
|
044a4c6816
|
Finish changing class names for PayPal gateways
|
2014-08-08 23:19:13 +10:00 |
|
Rob H
|
51f912033b
|
Remove test for PayPalExpress UK which does not exist anymore
|
2014-08-08 22:39:26 +10:00 |
|
Rob H
|
40d290951c
|
Fix failing specs related to requiring distributor for payment method
|
2014-08-08 17:47:51 +10:00 |
|
Rob H
|
16215289d0
|
Spec for payment method clean_name translation
|
2014-08-08 17:47:50 +10:00 |
|
Rob H
|
f021d260b1
|
Require payment_methods to be associated with at least one hub
|
2014-08-08 17:47:50 +10:00 |
|
Rohan Mitchell
|
7476860b47
|
Comment out intermittently failing spec - we intend to remove product distributions soon anyway
|
2014-08-07 17:20:38 +10:00 |
|
Rohan Mitchell
|
8c41a6c909
|
Calculate fee breakdown
|
2014-07-31 11:36:53 +10:00 |
|
Rohan Mitchell
|
45fd479ade
|
WIP: Call create_order_adjustments_for on EnterpriseFeeCalculator
|
2014-07-31 11:36:53 +10:00 |
|
Rohan Mitchell
|
8fe355b6da
|
WIP: Call create_line_item_adjustments_for on EnterpriseFeeCalculator
|
2014-07-31 11:36:53 +10:00 |
|
Rohan Mitchell
|
b40b6f9faf
|
WIP: Call fees_for on EnterpriseFeeCalculator
|
2014-07-31 11:36:53 +10:00 |
|
Rohan Mitchell
|
66cece5903
|
WIP: Extract order cycle fee calculations to EnterpriseFeeCalculator
|
2014-07-31 11:36:53 +10:00 |
|
Will Marshall
|
606981dee9
|
Merge branch 'maps'
|
2014-07-29 15:32:23 +10:00 |
|
Will Marshall
|
8496609cc2
|
Fixing up a couple of regressions
|
2014-07-29 13:46:38 +10:00 |
|
Will Marshall
|
a5f478bde7
|
Ajax submission of max quantity
|
2014-07-28 13:33:13 +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
|
b326ec8a3c
|
Remove landing page images
|
2014-07-17 14:26:46 +10:00 |
|
Will Marshall
|
cd033c300e
|
Reworking order populator and controller to handle replacement of line items rather than addition
|
2014-07-16 16:00:28 +10:00 |
|
Will Marshall
|
ea357b54ab
|
Adding some map searching capabilities
|
2014-07-16 11:19:16 +10:00 |
|
Rohan Mitchell
|
b7a08bcb9b
|
Add Spree::Variant.in_order_cycle
|
2014-07-16 09:33:59 +10:00 |
|
Rohan Mitchell
|
0ecfee79d4
|
Add Spree::Variant.in_distributor
|
2014-07-16 09:33:59 +10:00 |
|
Rob H
|
fa337fcd6e
|
Prevent display_as and display_name from being used when blank
|
2014-07-10 17:04:35 +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
|
94902268e2
|
Initialise enterprise country in controller, not model. Fixes address SQL load every time an enterprise is instanciated.
|
2014-07-04 14:39:27 +10:00 |
|
Rohan Mitchell
|
206275b794
|
Code cleanups
|
2014-07-04 14:39:27 +10:00 |
|
Will Marshall
|
c57148340c
|
Fixing spec regression
|
2014-07-04 14:39:26 +10:00 |
|
Will Marshall
|
0177a56408
|
Caching address and touching enterprise on save
|
2014-07-04 14:39:26 +10:00 |
|
Will Marshall
|
74f29f8c74
|
Tweaking spec names
|
2014-07-04 14:39:26 +10:00 |
|
Will Marshall
|
23034a55d4
|
Adding tests and full touch behaviour for caching
|
2014-07-04 14:39:26 +10:00 |
|
Will Marshall
|
fab96b58a7
|
Fixing spec regression
|
2014-07-04 13:51:23 +10:00 |
|
Will Marshall
|
2f98da8eef
|
Caching address and touching enterprise on save
|
2014-07-04 13:51:23 +10:00 |
|
Will Marshall
|
22b5e152d1
|
Tweaking spec names
|
2014-07-04 13:51:23 +10:00 |
|
Will Marshall
|
17612f14f5
|
Adding tests and full touch behaviour for caching
|
2014-07-04 13:51:23 +10:00 |
|
Will Marshall
|
f8d51c3105
|
Fixing intermittent spec failure
|
2014-06-26 15:43:33 +10:00 |
|
Will Marshall
|
9eb43e6c09
|
Removing visible scopes from enteprise distributors and producers
|
2014-06-26 15:26:15 +10:00 |
|
Will Marshall
|
1ed634239d
|
Major refactoring
|
2014-06-20 16:31:49 +10:00 |
|
Rohan Mitchell
|
4eee7d4901
|
Enterprise user can manage their enterprises' producer properties
|
2014-06-18 16:04:41 +10:00 |
|
Rohan Mitchell
|
92e3546a76
|
Retrieve properties for a product as a hash
|
2014-06-18 15:22:03 +10:00 |
|
Rohan Mitchell
|
0139c4bda2
|
Set producer property
|
2014-06-18 15:22:03 +10:00 |
|
Will Marshall
|
f7c71568df
|
Merge branch 'laura_and_will'
Conflicts:
app/models/spree/variant_decorator.rb
db/schema.rb
spec/models/spree/product_spec.rb
spec/models/spree/variant_spec.rb
|
2014-06-13 12:42:14 +10:00 |
|
Will Marshall
|
7a062b0310
|
Reworking the variant display of units and names
|
2014-06-12 16:13:51 +10:00 |
|
Rohan Mitchell
|
836a08606c
|
Product and variant deletion removes the product or variant from any order cycles
|
2014-06-12 14:59:27 +10:00 |
|
Rohan Mitchell
|
083220089f
|
WIP: Delete ExchangeVariants when product is soft-deleted
|
2014-06-12 14:59:27 +10:00 |
|
Rohan Mitchell
|
e6c7acdff3
|
Add soft-delete method to variant
|
2014-06-12 14:59:26 +10:00 |
|
Rob H
|
9f681bd1ef
|
Use display_as as option value for variant when it is present
|
2014-06-12 12:57:56 +10:00 |
|
Rob H
|
1a91b5a728
|
Move option value naming logic into separate lib class
|
2014-06-12 12:55:53 +10:00 |
|
Rob H
|
c09aeeee8f
|
Recalculate option values on variants when product variant unit is changed
|
2014-06-12 12:11:20 +10:00 |
|