Rohan Mitchell
|
62a7a0db7c
|
Add spec for updating exchanges
|
2013-01-09 10:50:17 +11:00 |
|
Rohan Mitchell
|
f8c74e8b92
|
Make most OrderCycleFormApplicator methods private, add spec for adding exchanges
|
2013-01-09 10:41:09 +11:00 |
|
Rohan Mitchell
|
e53fff8e31
|
Split OrderCycleFormApplicator specs into unit / integration, add integration spec for exchange_exists?
|
2013-01-09 10:18:06 +11:00 |
|
Rohan Mitchell
|
ba19db3ccf
|
Add or update exchange variants when creating or updating order cycles
|
2013-01-09 10:06:51 +11:00 |
|
Rohan Mitchell
|
04297d928e
|
Correct naming of OrderCycleFormApplicator spec
|
2013-01-09 09:16:25 +11:00 |
|
Rohan Mitchell
|
6a666dd7ec
|
Move preventDefault from service to controller
|
2013-01-08 17:51:08 +11:00 |
|
Rohan Mitchell
|
7ae315a1cb
|
Remove directives test stub
|
2013-01-08 15:15:20 +11:00 |
|
Rohan Mitchell
|
043e67fd9d
|
Test adding suppliers
|
2013-01-08 11:58:49 +11:00 |
|
Rob H
|
8a37b4e918
|
Push validation logic for changing distributor down into lib class
|
2012-12-14 11:02:01 +11:00 |
|
Rohan Mitchell
|
19e55428b8
|
Test fetching enterprises
|
2012-12-13 16:24:59 +11:00 |
|
Rohan Mitchell
|
8d8c2f04d8
|
Add test for removesInactiveExchanges
|
2012-12-13 14:55:11 +11:00 |
|
Rohan Mitchell
|
bec10be233
|
Make create test thinner
|
2012-12-13 14:46:07 +11:00 |
|
Rohan Mitchell
|
2382de946f
|
Test OrderCycle service create order cycle, use $window for testability
|
2012-12-13 14:37:35 +11:00 |
|
Rohan Mitchell
|
0f5d51423b
|
Provide jQuery to tests, test loading an order cycle
|
2012-12-08 17:24:57 +11:00 |
|
Rohan Mitchell
|
91e3ddb93c
|
Begin writing test for OrderCycle service
|
2012-12-07 16:24:40 +11:00 |
|
Rohan Mitchell
|
8cfce57730
|
Add unit tests for AdminEditOrderCycleCtrl
|
2012-12-07 15:30:49 +11:00 |
|
Rob H
|
46abc2fc42
|
Add ability to change distributor based on whether products in the cart are available
|
2012-12-07 11:56:40 +11:00 |
|
Rohan Mitchell
|
0a6686b592
|
Add unit tests for AdminCreateOrderCycleCtrl angular controller
|
2012-12-05 16:09:20 +11:00 |
|
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 |
|