Rohan Mitchell
|
00d7fcbfb6
|
Enterprise.active_distributors finds active distributors by order cycles
|
2013-03-08 16:39:42 +11:00 |
|
Rohan Mitchell
|
977344e279
|
Rewrite scope with outer join
|
2013-03-08 16:31:54 +11:00 |
|
Rohan Mitchell
|
98cad56e7c
|
Enterprise.active_distributors finds active distributors by product distributions
|
2013-03-08 16:23:45 +11:00 |
|
Rohan Mitchell
|
69392100f9
|
Push QueriesProductDistribution.products_available_for back to model
|
2013-03-08 15:18:53 +11:00 |
|
Rohan Mitchell
|
e326e590db
|
Implement and use scopes for finding products by distributor via order cycle or product distribution
|
2013-03-08 15:18:53 +11:00 |
|
Rohan Mitchell
|
265336b70c
|
When looking up distributors for sidebar, include both those in ProductDistributions and in OrderCycles
|
2013-03-08 15:18:53 +11:00 |
|
Rohan Mitchell
|
884dbd5de6
|
Keep old methods available for product distribution queries
|
2013-03-08 15:18:52 +11:00 |
|
Rohan Mitchell
|
ebf1c8602f
|
Write new query for Product#in_distributor that queries order cycles instead of product_distributions
|
2013-03-08 15:18:52 +11:00 |
|
Rohan Mitchell
|
dfa94b88aa
|
Display distributor and order cycle choice
|
2013-03-08 15:18:52 +11:00 |
|
Rohan Mitchell
|
fcb1701d36
|
WIP Add hub and order cycle display stub with failing tests
|
2013-03-08 15:18:52 +11:00 |
|
Rohan Mitchell
|
666f110d47
|
Load distributor list from those in an active order cycle
|
2013-03-08 15:17:23 +11:00 |
|
Rohan Mitchell
|
3aa44c3e9a
|
Setting a remote distributor clears the order cycle, and vice versa
|
2013-03-08 15:17:23 +11:00 |
|
Rohan Mitchell
|
e1b2490259
|
Selecting an order cycle highlights valid distributor choices
|
2013-03-08 15:17:23 +11:00 |
|
Rohan Mitchell
|
74e2b70d3a
|
Without JS, select distributor, highlighting local order cycle choices
|
2013-03-08 15:17:22 +11:00 |
|
Rohan Mitchell
|
72a9286457
|
Add helper to generate a local/remote class for order cycle selection
|
2013-03-08 15:17:22 +11:00 |
|
Rohan Mitchell
|
456dfcf6db
|
Style distribution choice, add compass for border radius mixin
|
2013-03-08 15:17:22 +11:00 |
|
Rohan Mitchell
|
34cb8bab26
|
View order cycle and distributor choices
|
2013-03-08 15:15:15 +11:00 |
|
Rohan Mitchell
|
fe824c2d4e
|
Add order cycle active and inactive scopes
|
2013-03-08 15:15:15 +11:00 |
|
Rohan Mitchell
|
8b5aea42b8
|
Add deface for order cycle selection
|
2013-03-08 15:15:15 +11:00 |
|
Rohan Mitchell
|
63f3504b81
|
Add order cycle reference to orders
|
2013-03-08 15:15:15 +11:00 |
|
Rob H
|
055c07a466
|
Add before_payment method to checkout controller (fixes issues with spree_paypal_express)
|
2013-02-20 14:04:10 +11:00 |
|
Rob H
|
046eb256ff
|
Fix issues causing enterprise fee tests to break
|
2013-02-15 14:10:56 +11:00 |
|
Rob H
|
2cdf458d6a
|
Move additional of tabs to main nav bar to defaces, rather than overriding view directly
|
2013-02-14 15:42:47 +11:00 |
|
Rob H
|
9e9199643e
|
Remove unneeded :partial from override
|
2013-02-14 15:35:50 +11:00 |
|
Rob H
|
c956706d78
|
Move set_current_order override to new location in lib (Spree 1.3 Upgrade), and update home controller test
|
2013-02-14 15:12:50 +11:00 |
|
Rob H
|
a3746c6c59
|
Add analytics helper to Enterprises Controller
|
2013-02-14 12:10:31 +11:00 |
|
Rob H
|
1d4fbe865b
|
Finished revision of defaces
|
2013-02-09 00:40:34 +11:00 |
|
Rob H
|
2a07d61e81
|
Finish Deface review, two defaces which appear on orders/show remain unchecked due to Spree 1.2 migration issue
|
2013-02-07 15:09:25 +11:00 |
|
Rob H
|
99b4530db2
|
WIP: revise overrides following upgrade to Spree 1.3, update ':original' definitions and reconcile filename and :name
|
2013-02-07 13:07:14 +11:00 |
|
Rob H
|
3507c5414d
|
Changed Sass variable: back to our green colour following upgrade
|
2013-02-07 09:25:29 +11:00 |
|
Rob H
|
4b254a5529
|
WIP: revise overrides following upgrade to Spree 1.3, update ':original' definitions and reconcile filename and :name
|
2013-02-06 11:25:26 +11:00 |
|
Rob H
|
612017f143
|
WIP Upgrade to Spree 1.3
|
2013-02-05 15:01:45 +11:00 |
|
Rohan Mitchell
|
f2f3bbd3ed
|
Merge branch 'order-cycles-exchange-products'
Conflicts:
Gemfile.lock
|
2013-01-22 10:40:56 +11:00 |
|
Rohan Mitchell
|
83e3c6815d
|
Merge branch 'checkout-changes'
Conflicts:
.rvmrc
app/helpers/application_helper.rb
|
2013-01-22 10:30:51 +11:00 |
|
Rohan Mitchell
|
662aaf75bf
|
When editing an order cycle, distributor collection details are loaded
|
2013-01-22 09:34:07 +11:00 |
|
Rob H
|
f7890bd94d
|
Fixes following code review for checkout changes
|
2013-01-18 19:17:55 +11:00 |
|
Rob H
|
6a45e8be3b
|
Make tests pass after changes to checkout broke them all
|
2013-01-18 15:29:36 +11:00 |
|
Rohan Mitchell
|
c75738893e
|
Display supplier name on products for distribution
|
2013-01-18 14:35:06 +11:00 |
|
Rohan Mitchell
|
074d5715e7
|
Only provide distributors as coordinating enterprises. Order by name.
|
2013-01-18 14:26:56 +11:00 |
|
Rohan Mitchell
|
87d5ffeee2
|
Add fields for outgoing exchange collection details
|
2013-01-18 14:24:17 +11:00 |
|
Rohan Mitchell
|
d8a7570a61
|
Display accurate counts for distributed products
|
2013-01-18 12:21:35 +11:00 |
|
Rohan Mitchell
|
33b9d45f43
|
Distributors and products displayed on edit
|
2013-01-18 11:59:32 +11:00 |
|
Rohan Mitchell
|
0a2ce30bb6
|
Only show variants for distribution that are supplied to the order cycle
|
2013-01-18 11:52:01 +11:00 |
|
Rohan Mitchell
|
1a0ef85030
|
Test distributor exchanges are created with order cycles
|
2013-01-18 11:40:36 +11:00 |
|
Rohan Mitchell
|
05c9a189c8
|
Merge branch 'email-changes'
|
2013-01-17 16:09:25 +11:00 |
|
Rohan Mitchell
|
43a1cf7779
|
Merge branch 'product-quantity-fix'
|
2013-01-17 16:07:55 +11:00 |
|
Rohan Mitchell
|
8f17df0e45
|
Name exchange elements independently
|
2013-01-17 11:36:56 +11:00 |
|
Rohan Mitchell
|
8e9845be12
|
Functionalise
|
2013-01-17 11:03:15 +11:00 |
|
Rohan Mitchell
|
3991199c30
|
Only show products for distribution that have been supplied to the order cycle
|
2013-01-17 10:49:59 +11:00 |
|
Rohan Mitchell
|
8f05c69696
|
Display all supplied products for distribution
|
2013-01-15 12:31:57 +11:00 |
|