David Cook
|
cf4582c08e
|
Create respond_override to return user back to the referring page. (But it breaks payments#create respond_with..)
|
2013-06-12 11:24:49 +10:00 |
|
David Cook
|
2b15f92ab8
|
fix capture button to link to latest payment
|
2013-06-12 09:58:44 +10:00 |
|
David Cook
|
ada95183a2
|
Start respond_override
|
2013-06-11 17:09:41 +10:00 |
|
David Cook
|
df769a2f4c
|
ensure latest 'payment' object is used for the capture button
|
2013-06-11 16:57:14 +10:00 |
|
David Cook
|
4967093b72
|
Add capture button and resize columns
|
2013-06-11 15:07:41 +10:00 |
|
Rohan Mitchell
|
1e94f88c5e
|
Ensure order decorator is required, fix test fragility
|
2013-06-07 15:40:03 +10:00 |
|
Rohan Mitchell
|
4bcae29553
|
Add specs for OrderPopulator#check_distribution_provided_for and distribution_provided_for
|
2013-06-05 15:50:20 +10:00 |
|
Rohan Mitchell
|
f4df69765d
|
Add spec for OrderPopulator#distributor_can_supply_products_in_cart
|
2013-06-05 15:09:11 +10:00 |
|
Rohan Mitchell
|
fb4f533976
|
Refactor OrderPopulator, add outside level spec
|
2013-06-05 14:44:57 +10:00 |
|
Rohan Mitchell
|
98f3197c08
|
WIP Move orders#populate logic to OrderPopulator class
|
2013-06-05 11:47:47 +10:00 |
|
Rohan Mitchell
|
f91e1144e0
|
Name blank order cycle option
|
2013-06-04 11:11:13 +10:00 |
|
Rohan Mitchell
|
661ce4e597
|
Add to cart page does not allow the user to add a product from an order cycle that cannot supply the cart's products
|
2013-06-04 10:26:13 +10:00 |
|
Rohan Mitchell
|
cb703c2a66
|
Do not give order cycle choice when there is only one option
|
2013-05-28 16:35:39 +10:00 |
|
Rohan Mitchell
|
54fe63e7f3
|
User can add subsequent order cycles product to cart, show order cycle selection in page header along with distributor
|
2013-05-28 16:20:58 +10:00 |
|
Rohan Mitchell
|
1f9f5efb79
|
Add first product to cart with order cycle choice
|
2013-05-28 14:06:52 +10:00 |
|
Rohan Mitchell
|
9ef7da1339
|
Add OrderCycle#distributed_variants
|
2013-05-28 14:01:04 +10:00 |
|
Rohan Mitchell
|
3bedfc3d1d
|
Add OrderCycle distributing_product scope
|
2013-05-28 13:27:52 +10:00 |
|
Rohan Mitchell
|
1b25364160
|
Cherry-pick c3b2f52: Cache DistributorChangeValidator#all_available_distributors, move Enterprise#available_variants into SQLland - massive render speed improvement
Conflicts:
app/models/enterprise.rb
lib/open_food_web/distribution_change_validator.rb
|
2013-05-28 13:01:07 +10:00 |
|
Rohan Mitchell
|
0e08829a29
|
Rename DistributorChangeValidator to DistributionChangeValidator in preparation for expansion to include order cycles
|
2013-05-28 12:32:52 +10:00 |
|
Rohan Mitchell
|
02561ee252
|
With order cycle distribution, show error message when adding a product to cart with no distribution chosen
|
2013-05-28 11:54:46 +10:00 |
|
Rohan Mitchell
|
a2abcaf7bd
|
Push product_compatible_with_current_order and available_distributors_for down to DistributorChangeValidator, add tests
|
2013-05-27 13:50:33 +10:00 |
|
Rohan Mitchell
|
612e6aed2c
|
Include order cycle distributions in distributor choice when adding product to cart
|
2013-05-27 13:12:29 +10:00 |
|
Rohan Mitchell
|
e3a419993c
|
Work around order cycles not having fees / shipping methods yet - notify bugsnag and provide an undefined shipping method
|
2013-05-27 13:00:12 +10:00 |
|
Rohan Mitchell
|
796be2ee6d
|
Refactor add to cart form into partials and helpers
|
2013-05-27 11:25:09 +10:00 |
|
David Cook
|
0f8cd4705a
|
Regenerate favicon.ico from higher quality image
|
2013-05-24 10:14:40 +10:00 |
|
David Cook
|
731cf33f86
|
Add new favicon.ico file with size 16, 32 and 64
|
2013-05-22 16:21:13 +10:00 |
|
David Cook
|
423bd52fd6
|
rename _count vars to _total
|
2013-05-22 14:03:51 +10:00 |
|
vagrant
|
4e7f966429
|
add suppliers scope, limit by 5, test
|
2013-05-22 13:07:30 +10:00 |
|
Rohan Mitchell
|
c3b2f52b7a
|
Cache DistributorChangeValidator#all_available_distributors, move Enterprise#available_variants into SQLland - massive render speed improvement
|
2013-05-20 21:16:43 +10:00 |
|
Rohan Mitchell
|
3b2508dad3
|
On local organics checkout, remove distributor change, move save button to top right
|
2013-05-20 15:29:13 +10:00 |
|
Rohan Mitchell
|
cc2e8694f0
|
Move LineItem update to source of change (order update). On empty cart, re-instanciate shipping method adjustment, fixing no shipping fees after empty cart bug.
|
2013-05-20 15:01:04 +10:00 |
|
Rohan Mitchell
|
571dfd9e9f
|
Regroup OrderController methods - actions / callbacks / utils
|
2013-05-20 14:56:39 +10:00 |
|
Rohan Mitchell
|
b7f7766893
|
On order confirmation page and email, display distributor details instead of misc fields. HACK - this should be in the engine, not in the main app. FIXME
|
2013-05-18 19:54:27 +10:00 |
|
Rohan Mitchell
|
d65dda4dc5
|
When order distributor changes, update line item shipping method
|
2013-05-18 19:21:01 +10:00 |
|
Rohan Mitchell
|
a1f189627b
|
Only show UserVoice feedback button on Eaterprises deployment
|
2013-04-29 16:34:19 +10:00 |
|
Rohan Mitchell
|
da3267a302
|
Add OpenFoodWeb logo to footer
|
2013-04-29 16:20:26 +10:00 |
|
Rohan Mitchell
|
234b2d26e9
|
Add MiGS payment gateway
|
2013-04-29 15:37:48 +10:00 |
|
Rohan Mitchell
|
63768df3d7
|
Replace distributor info box on product details and checkout pages with rich text field
|
2013-04-26 13:30:21 +10:00 |
|
Rohan Mitchell
|
fb999732ee
|
Rename enterprises admin extended description to profile info, add distributor info field
|
2013-04-26 13:10:32 +10:00 |
|
Rohan Mitchell
|
f17907e06f
|
Style local organics product details distributor heading
|
2013-04-26 09:56:16 +10:00 |
|
Rohan Mitchell
|
9f6d1a2f18
|
Order cycle reports are precise to time of day, not just date
|
2013-04-25 21:22:26 +10:00 |
|
Rohan Mitchell
|
3dd4e074fc
|
Split spree variable changes into per-feature files, add an eaterprises feature for default layout
|
2013-04-22 16:12:50 +10:00 |
|
Rohan Mitchell
|
ff9200ebb8
|
Display order cycle distributors on product details page
|
2013-04-12 13:18:40 +10:00 |
|
Rohan Mitchell
|
6e7ee6481d
|
Fetch enterprises that are distributing a product via a product or order cycle distribution
|
2013-04-12 10:13:04 +10:00 |
|
Rohan Mitchell
|
32629a27e7
|
Remove explicit class specification
|
2013-04-05 16:57:53 +11:00 |
|
Rohan Mitchell
|
f66ff0f8b1
|
Rename Enterprise#available_variants to distributed_variants to remove ambiguity between supplied/distributed variants
|
2013-04-05 16:51:51 +11:00 |
|
Rohan Mitchell
|
5649a50e28
|
Add tests around Enterprise#available_variants, make it also show variants distributed via an order cycle
|
2013-04-05 16:49:27 +11:00 |
|
Rohan Mitchell
|
ad32147576
|
Display correct product splitting criteria
|
2013-04-05 14:30:35 +11:00 |
|
Rohan Mitchell
|
0874f12797
|
Controllers provide current order cycle for product splitting
|
2013-04-05 14:30:11 +11:00 |
|
Rohan Mitchell
|
3aa48907a6
|
Add per-product tests for membership of distributor or order cycle
|
2013-04-05 12:45:01 +11:00 |
|