Rohan Mitchell
|
cd13ab4f77
|
Fix failing tests
|
2012-12-04 11:39:39 +11:00 |
|
Rohan Mitchell
|
a0c40607ec
|
Bulk update order cycle opening/closing times
|
2012-12-02 15:43:05 +11:00 |
|
Rohan Mitchell
|
07eac918a3
|
OrderCycleFormApplicator deletes removed exchanges
|
2012-11-30 17:08:57 +11:00 |
|
Rohan Mitchell
|
cfa96c7615
|
Each order cycle may not have duplicate exchanges between the same enterprises
|
2012-11-30 16:37:29 +11:00 |
|
Rohan Mitchell
|
5655b0b7a5
|
OrderCycleFormApplicator updates existing exchanges
|
2012-11-30 16:07:21 +11:00 |
|
Rohan Mitchell
|
8736254f12
|
Create incoming exchanges on save
|
2012-11-29 11:52:34 +11:00 |
|
Rohan Mitchell
|
2c8d313c77
|
Create OrderCycleFormApplicator, for interfacing between front-end form and OrderCycle exchanges model.
|
2012-11-29 11:40:15 +11:00 |
|
Rohan Mitchell
|
aacc36ea44
|
Create order cycle basic fields
|
2012-11-29 10:02:23 +11:00 |
|
Rohan Mitchell
|
d5310452b6
|
Admin list order cycles
|
2012-11-27 10:13:12 +11:00 |
|
Rohan Mitchell
|
47c28e65a7
|
Add detailed order cycle factory, add methods to report on order cycle suppliers, distributors and products/variants exchanged
|
2012-11-27 10:09:40 +11:00 |
|
Rohan Mitchell
|
6b97872a25
|
Create OrderCycles, Exchanges, ExchangeFees and ExchangeVariants
|
2012-11-26 11:03:44 +11:00 |
|
Rohan Mitchell
|
7a6d930706
|
Merge branch 'enterprise-fees'
|
2012-11-26 10:13:48 +11:00 |
|
Rohan Mitchell
|
6106f1b469
|
Calculator type change works, enterprise fee tests pass
|
2012-11-26 09:45:06 +11:00 |
|
Rohan Mitchell
|
e2b0770c35
|
Fix name of button in spec
|
2012-11-21 16:02:12 +11:00 |
|
Rohan Mitchell
|
fa2addd025
|
Delete enterprise fee
|
2012-11-21 12:17:19 +11:00 |
|
Rohan Mitchell
|
77b78f5bbb
|
Edit enterprise fee
|
2012-11-21 11:50:37 +11:00 |
|
Rohan Mitchell
|
a4d10ab4e0
|
Create new enterprise fee, display errors when present
|
2012-11-21 09:47:51 +11:00 |
|
Rohan Mitchell
|
ff0d2bc983
|
Create EnterpriseSet as subclass of ModelSet
|
2012-11-21 09:08:41 +11:00 |
|
Rohan Mitchell
|
98143ffe5b
|
Add calculator to EnterpriseFee, test passes for listing enterprise fees
|
2012-11-16 16:07:40 +11:00 |
|
Rohan Mitchell
|
6247bd2541
|
Display admin table of enterprise fees with enterprise, fee type and name columns
|
2012-11-15 15:03:12 +11:00 |
|
Rohan Mitchell
|
03764881c8
|
Generalise EnterpriseSet to ModelSet
|
2012-11-15 14:29:38 +11:00 |
|
Rohan Mitchell
|
192d4993a1
|
Add EnterpriseFee model
|
2012-11-15 13:42:55 +11:00 |
|
Rohan Mitchell
|
580486a347
|
Do not show duplicate products with in_supplier_or_distributor scope
|
2012-11-10 12:26:41 +11:00 |
|
Rohan Mitchell
|
3a116dc13d
|
Fix product filtering on supplier and distributor pages
|
2012-11-01 16:37:12 +11:00 |
|
Rohan Mitchell
|
c2133d70ac
|
Rename Enterprise is_supplier scope to is_primary_producer
|
2012-11-01 15:02:57 +11:00 |
|
Rohan Mitchell
|
a7a8b8490b
|
Add test for viewing a CMS page
|
2012-11-01 11:31:08 +11:00 |
|
Rohan Mitchell
|
6d84cf7613
|
Merge branch 'master' into enterprises
Conflicts:
app/controllers/enterprises_controller.rb
app/views/spree/checkout/_distributor.html.haml
db/schema.rb
spec/lib/open_food_web/group_buy_report_spec.rb
|
2012-11-01 11:02:02 +11:00 |
|
Rohan Mitchell
|
d89945bbb2
|
Add smoke test for reports, fix use of old Distributor model
|
2012-11-01 10:20:06 +11:00 |
|
Rohan Mitchell
|
682c09f516
|
Remove use of old Distributor model, fix before all not cleaning db
|
2012-11-01 10:05:39 +11:00 |
|
Rohan Mitchell
|
34588e6141
|
Remove old supplier and distributor routes, models, controllers, views, specs
|
2012-11-01 09:55:45 +11:00 |
|
Rohan Mitchell
|
d927906934
|
Update admin views, tests pass
|
2012-11-01 08:36:40 +11:00 |
|
Rohan Mitchell
|
58d227e76a
|
Home controller and product model specs pass
|
2012-11-01 08:28:40 +11:00 |
|
Rohan Mitchell
|
fb9f59213f
|
Distributors, product, suppliers and taxonomy specs pass
|
2012-11-01 08:15:50 +11:00 |
|
Rohan Mitchell
|
f8c2c8bbed
|
Convert group buy unit size field from string to float
|
2012-11-01 08:02:11 +11:00 |
|
Rohan Mitchell
|
7dd42b7feb
|
Fix use of pickup_address and url fields with enterprises, checkout spec passes
|
2012-10-31 17:10:21 +11:00 |
|
Rohan Mitchell
|
9d5c127f0d
|
Add enterprises controller that supercedes suppliers and distributors controllers. Add to cart consumer spec passes.
|
2012-10-31 16:47:01 +11:00 |
|
Rohan Mitchell
|
a8f4178894
|
Update orders controller for enterprises
|
2012-10-31 16:33:38 +11:00 |
|
Rohan Mitchell
|
1d1c27701d
|
Add admin interface for enterprises
|
2012-10-31 14:25:00 +11:00 |
|
Rohan Mitchell
|
5dcba7403b
|
Avoid contaminating test data
|
2012-10-31 13:54:14 +11:00 |
|
Rohan Mitchell
|
9b32579bd6
|
Group buy report handles nil variant weight gracefully
|
2012-10-31 10:37:40 +11:00 |
|
Rohan Mitchell
|
077098e6c1
|
Refactor libs to use enterprise instead of supplier and distributor
|
2012-10-29 14:57:03 +11:00 |
|
Rohan Mitchell
|
4c2debba7e
|
Model specs pass
|
2012-10-28 18:00:15 +11:00 |
|
Rohan Mitchell
|
abe3feb996
|
Integrate functionality from distributor into enterprise
|
2012-10-28 17:46:45 +11:00 |
|
Rohan Mitchell
|
c700d9e71b
|
Create enterprise model, integrate functionality from supplier
|
2012-10-28 13:24:26 +11:00 |
|
Rohan Mitchell
|
c5941d6cb5
|
Update distributor details when distributor is changed
|
2012-10-27 18:50:09 +11:00 |
|
Rohan Mitchell
|
773adca838
|
Display distributor details on product page when distributor is selected
|
2012-10-27 12:49:57 +11:00 |
|
Rohan Mitchell
|
13317347bb
|
Display an explanation message on product page when no distributor is selected
|
2012-10-27 12:19:44 +11:00 |
|
Rohan Mitchell
|
a3042118c7
|
Merge branch 'group-reports'
Conflicts:
app/controllers/spree/admin/reports_controller_decorator.rb
config/routes.rb
|
2012-10-26 17:14:49 +11:00 |
|
Rohan Mitchell
|
15e91f7743
|
WIP Move non-admin non-Spree controllers out of Spree namespace
|
2012-10-25 10:45:39 +11:00 |
|
Rohan Mitchell
|
c46019d68c
|
WIP: Move Supplier, Distributor, DistributorSet and ProductDistribution models out of Spree namespace
|
2012-10-25 10:45:39 +11:00 |
|