Rohan Mitchell
|
20745825bf
|
Fix finding producers for shopfront, moving to SQL-land in the process. Woo.
|
2014-03-26 12:56:58 +11:00 |
|
Rohan Mitchell
|
ec0191806a
|
Update specs to explicitly specify exchange direction
|
2014-03-26 12:17:49 +11:00 |
|
Rohan Mitchell
|
abf83b0e58
|
Find only outgoing exchanges for Enterprise scopes using with_order_cycles_outer
|
2014-03-26 12:07:06 +11:00 |
|
Rohan Mitchell
|
ac8990f7e7
|
Rename enterprises_spec to singular for consistency
|
2014-03-26 11:46:51 +11:00 |
|
Rohan Mitchell
|
f184f0c246
|
Fix inappropriate intimacy: Extract exchange-specific queries from OrderCycle back into exchange
|
2014-03-26 11:43:32 +11:00 |
|
Rohan Mitchell
|
ac92d0919a
|
Add incoming boolean field to Exchange, determine exchange direction from this field rather than sender/receiver roles
|
2014-03-26 11:19:35 +11:00 |
|
Rohan Mitchell
|
4aace221ea
|
Enterprise user can reorder product properties and update product images
|
2014-03-20 11:41:08 +11:00 |
|
Rohan Mitchell
|
638e922ae2
|
Do not allow customer to purchase the obsolete master of a product
|
2014-03-20 10:56:46 +11:00 |
|
Will Marshall
|
abf1b17fe9
|
Taking payment methods with no distributor out of circulation
|
2014-03-19 12:03:39 +11:00 |
|
Rohan Mitchell
|
98776caa51
|
Rename Exchange.any_variant to with_any_variant for clarity
|
2014-03-14 11:18:59 +11:00 |
|
Rohan Mitchell
|
affb2a5743
|
Fix bug: Whole order fees being charged once per variant. Exchange.any_variant was returning duplicate rows.
|
2014-03-14 11:18:59 +11:00 |
|
Rohan Mitchell
|
0d97397084
|
Fix fragile specs (ordering)
|
2014-03-12 15:00:20 +11:00 |
|
Rohan Mitchell
|
a8373b7bef
|
Fix specs: stale data
|
2014-03-12 13:34:05 +11:00 |
|
Rohan Mitchell
|
356099a49a
|
When product unit changed, remove option types from master as well as other variants
|
2014-03-12 12:35:52 +11:00 |
|
Rohan Mitchell
|
68eaa61732
|
Enterprise user can delete product images
|
2014-03-12 12:35:51 +11:00 |
|
Will Marshall
|
84955d3647
|
Merging master
|
2014-03-06 16:53:03 +11:00 |
|
Will Marshall
|
cc3fb27490
|
Restoring the old checkout, but NOW our new checkout is broken
|
2014-03-06 16:16:00 +11:00 |
|
Rohan Mitchell
|
07caf99488
|
Enterprise user can delete product properties
|
2014-03-05 16:52:06 +11:00 |
|
Rohan Mitchell
|
637ccc113b
|
Do not show products that have no stock available to the current distribution
|
2014-03-05 13:54:02 +11:00 |
|
Rohan Mitchell
|
17debd9fad
|
On product list view, do not show variants that are out of stock
|
2014-03-05 13:54:02 +11:00 |
|
Rohan Mitchell
|
8234812157
|
Do not include master when outputting variants for oc/d
|
2014-03-05 13:54:02 +11:00 |
|
Rohan Mitchell
|
ec6f70c145
|
On product list view, only show variants that are a member of the current order cycle
|
2014-03-05 13:54:02 +11:00 |
|
Will Marshall
|
74238b111e
|
Fixing the order spec
|
2014-02-28 15:19:57 +11:00 |
|
Will Marshall
|
1d5addb06e
|
Patching up our checkout flow so we don't try to create shipments before we have valid shipping addresses
|
2014-02-28 13:41:02 +11:00 |
|
Will Marshall
|
86a8b926f3
|
Adding conditions to the autopopulator for shipping address
|
2014-02-28 11:53:45 +11:00 |
|
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 |
|