Will Marshall
|
85606b2a0d
|
Merge branch 'master' into checkout
|
2014-02-27 10:41:39 +11:00 |
|
Rohan Mitchell
|
f7e1befc75
|
Spec fees_for only sums per-item fees
|
2014-02-26 15:16:30 +11:00 |
|
Rohan Mitchell
|
11fb6c96a1
|
Charge per-order fees on orders exactly once
|
2014-02-26 14:34:30 +11:00 |
|
Rohan Mitchell
|
b720a1d8f2
|
EnterpriseFee.clear_all_adjustments_on_order clears adjustments from per-order fees
|
2014-02-26 14:33:28 +11:00 |
|
Rohan Mitchell
|
9dec40703a
|
Find exchanges with any of a number of variants
|
2014-02-26 13:49:10 +11:00 |
|
Rohan Mitchell
|
5057e236a9
|
Find enterprise fees with per-order calculators
|
2014-02-26 13:48:51 +11:00 |
|
Rohan Mitchell
|
75c8da1774
|
Rename create_adjustments_for to create_line_item_adjustments_for, only show per-item fees
|
2014-02-26 12:07:38 +11:00 |
|
Rohan Mitchell
|
febbe087e9
|
Find EnterpriseFees with per-item calculators
|
2014-02-26 10:39:39 +11:00 |
|
Rohan Mitchell
|
da8a8e8a1a
|
Rename method
|
2014-02-21 15:49:10 +11:00 |
|
Rohan Mitchell
|
08009d4020
|
Extract application of enterprise fees as adjustments into its own class
|
2014-02-21 15:48:58 +11:00 |
|
Will Marshall
|
a162f4a108
|
Adding some spec tweaks
|
2014-02-21 15:17:18 +11:00 |
|
Will Marshall
|
1ca9a86042
|
Getting in a spec asserting that percentage-based fees are applied
|
2014-02-07 11:09:47 +11:00 |
|
Will Marshall
|
202f95a8fc
|
Fix for broken percentage Enterprise Fees in place, no test yet
|
2014-02-07 11:09:47 +11:00 |
|
Rohan Mitchell
|
aa9b5c84d9
|
Fix expected variant option type name/presentation
|
2014-02-06 16:14:29 +11:00 |
|
Rohan Mitchell
|
f187041606
|
Do not display a space separating units and scaled values. eg. 1kg, 4 boxes
|
2014-02-06 14:05:26 +11:00 |
|
Rohan Mitchell
|
eccea9d9ff
|
When removing a product's option type, remove its variants' associated option values
|
2014-02-06 10:47:13 +11:00 |
|
Rohan Mitchell
|
d0fd48456e
|
Variant calculates fees and its price inclusive of fees
|
2014-02-05 14:01:10 +11:00 |
|
Rohan Mitchell
|
04487da22a
|
Decouple OrderCycle#fees_for from LineItem
|
2014-02-05 13:27:17 +11:00 |
|
Rohan Mitchell
|
5e0515e6c5
|
Variant value expression returns a value of 1 when unit value equals the scale
|
2014-01-17 16:12:07 +11:00 |
|
Will Marshall
|
b6590000a4
|
Improving Product's has_stock, filtering Shop#products to in_stock products
|
2014-01-17 14:41:15 +11:00 |
|
Rohan Mitchell
|
29235cd2cb
|
Merge branch 'master' into product-amount-units
Conflicts:
app/assets/javascripts/admin/bulk_product_update.js.coffee
spec/spec_helper.rb
|
2014-01-14 15:34:05 +11:00 |
|
Rohan Mitchell
|
28c641a932
|
Remove redundant test stubs
|
2014-01-10 15:44:16 +11:00 |
|
Rohan Mitchell
|
a60c9a9cea
|
When variant already has a value set, remove old option value and assign a new one
|
2014-01-09 14:11:54 +11:00 |
|
Rohan Mitchell
|
cbe46bffed
|
Merge branch 'bpe_paginate'
Conflicts:
config/ng-test.conf.js
|
2014-01-09 12:07:42 +11:00 |
|
Will Marshall
|
e0c352d135
|
Merge branch 'master' into darkswarm
Conflicts:
spec/features/admin/products_spec.rb
|
2014-01-08 14:49:47 +11:00 |
|
Will Marshall
|
7838d759ee
|
Removing redundant functionality from the Order Populator
|
2014-01-08 14:45:40 +11:00 |
|
Rohan Mitchell
|
5f4d787d26
|
Fix sorting error in spec
|
2014-01-08 14:43:46 +11:00 |
|
Rohan Mitchell
|
ea3e697b73
|
Rename method for clarity, remove outdated specs for OrderPopulator
|
2014-01-08 14:14:45 +11:00 |
|
Rohan Mitchell
|
70e16433d3
|
Spec for reusing existing option values
|
2014-01-08 10:16:38 +11:00 |
|
Rohan Mitchell
|
2fec16af5d
|
Merge branch 'master' into product-amount-units
|
2014-01-07 16:00:06 +11:00 |
|
Rohan Mitchell
|
9e6fa4d22d
|
Add spec for small values
|
2014-01-07 15:02:55 +11:00 |
|
Rohan Mitchell
|
ebae76375f
|
Fix specs to work with unit_value stored in base units, scale units correctly for output
|
2014-01-07 14:57:30 +11:00 |
|
Rohan Mitchell
|
5a1249e249
|
When value is blank, display description only
|
2014-01-07 12:19:48 +11:00 |
|
Rohan Mitchell
|
35d0bf6219
|
Generate option value values and units for weight, volume and items
|
2014-01-07 12:07:54 +11:00 |
|
Rohan Mitchell
|
ef6c08408b
|
Generate option value name - value and description
|
2014-01-07 10:57:58 +11:00 |
|
Rohan Mitchell
|
9e956ebec6
|
Add specs for option value creation, create option values for simple case. Delete option value associations, not objects.
|
2014-01-07 10:36:19 +11:00 |
|
Rohan Mitchell
|
6a4c112cf2
|
Rename option_type_for_variant_unit to variant_unit_option_type
|
2014-01-07 10:31:53 +11:00 |
|
Will Marshall
|
1264af584c
|
Removing a pointless test
|
2014-01-06 15:56:28 +11:00 |
|
Will Marshall
|
e20120b9ca
|
Fixing a syntax error
|
2013-12-19 16:05:35 +11:00 |
|
Rohan Mitchell
|
3c95993975
|
Remove order sensitivity in specs
|
2013-12-17 15:25:17 +11:00 |
|
Will Marshall
|
c4c5f3a8c7
|
Merging from master
|
2013-12-17 14:18:21 +11:00 |
|
Will Marshall
|
f6af9e78ac
|
Adding destroy ability to enterprise users
|
2013-12-13 15:40:23 +11:00 |
|
Will Marshall
|
12743850b4
|
Removing a chili, refactoring order mailer
|
2013-12-13 15:40:22 +11:00 |
|
Rohan Mitchell
|
124b6df75d
|
Show undated order cycles on index page
|
2013-12-13 14:51:43 +11:00 |
|
Rohan Mitchell
|
1084862139
|
When product variant unit is changed, remove related option values from variants
|
2013-12-13 12:08:51 +11:00 |
|
Rohan Mitchell
|
f2269654ff
|
Set option type on product when variant unit changed
|
2013-12-13 11:07:57 +11:00 |
|
Rohan Mitchell
|
1b63546a9e
|
Master variants are valid without unit value or description
|
2013-12-05 15:16:51 +11:00 |
|
Rohan Mitchell
|
0bae3e58b8
|
Add product units and amount fields to product and variant models, add validations
|
2013-12-05 15:16:51 +11:00 |
|
Will Marshall
|
ec72e9137a
|
We can now hit the index page
|
2013-12-05 15:07:46 +11:00 |
|
Will Marshall
|
e574185c95
|
Fixing an ordering issue in the order cycle spec
|
2013-11-29 14:48:06 +11:00 |
|