Maikel Linke
|
903bd21577
|
Merge remote-tracking branch 'origin/master' into group-pages-merge
Conflicts:
README.markdown
db/schema.rb
|
2015-02-13 15:42:36 +11:00 |
|
Maikel Linke
|
6b5a1255f8
|
fixing a bunch of tests
|
2015-02-12 16:36:18 +11:00 |
|
Rohan Mitchell
|
a7bb04b890
|
Find all producers for which we can create variant overrides
|
2015-02-04 10:13:35 +11:00 |
|
Rohan Mitchell
|
4c586d1b7e
|
Fetching enterprises for which hubs can create variant overrides: allow all hubs that we can add to order cycle, find producers via create_variant_overrides permission
|
2015-02-04 10:04:57 +11:00 |
|
Rohan Mitchell
|
25189d190b
|
Shift method
|
2015-02-04 09:30:01 +11:00 |
|
Rohan Mitchell
|
fafbfe8735
|
Simplify, simplify
|
2015-01-30 15:56:10 +11:00 |
|
Rob Harrington
|
cbae7dcc8e
|
Adding visible to user and enterprises report, and sorting by confirmation date
|
2015-01-29 10:46:44 +11:00 |
|
Rohan Mitchell
|
cfb69ae7d2
|
Add Permissions#editable_enterprises
|
2015-01-15 13:43:38 +11:00 |
|
Rohan Mitchell
|
0431e0048c
|
Merge branch 'master' into variant-overrides-frontend
Conflicts:
app/controllers/shop_controller.rb
app/views/shop/products/_form.html.haml
spec/controllers/shop_controller_spec.rb
|
2015-01-12 16:48:51 +11:00 |
|
Rohan Mitchell
|
20bde803c8
|
Display overridden prices when products are in the cart
|
2015-01-12 14:58:35 +11:00 |
|
Rohan Mitchell
|
494bb1f3b4
|
Fix auto-reload nerfing scope_xx_to_hub
|
2015-01-12 14:24:15 +11:00 |
|
Rohan Mitchell
|
4583e29ae3
|
When order is placed, subtract stock from variant override
|
2015-01-12 11:23:53 +11:00 |
|
Rohan Mitchell
|
7e55262ce9
|
Extract most everything to private methods - neatly groups concerns together
|
2015-01-09 11:28:39 +11:00 |
|
Rohan Mitchell
|
80c507cc66
|
Formatting
|
2015-01-09 11:26:25 +11:00 |
|
Lynne Davis
|
1ad13f0359
|
Cleanup of git to remove unnecessary commits from pull request
|
2015-01-09 11:26:24 +11:00 |
|
Rohan Mitchell
|
d2e0d4f44a
|
Fix grammar
|
2015-01-08 10:39:51 +11:00 |
|
Rohan Mitchell
|
ab26902e4e
|
Move money decorator to lib dir, as it's a decorator for a lib class, not a model
|
2015-01-08 10:39:14 +11:00 |
|
Rohan Mitchell
|
1e1a070b2b
|
Scope Variant#price_in
|
2014-12-19 16:51:10 +11:00 |
|
Rohan Mitchell
|
e9f04c3c15
|
Clean up whitespace
|
2014-12-19 10:01:21 +11:00 |
|
Rohan Mitchell
|
d548515684
|
Remove unused header column
|
2014-12-19 09:51:13 +11:00 |
|
Rohan Mitchell
|
4a30f27b3d
|
Merge branch '266reportsbranch' of https://github.com/lin-d-hop/openfoodnetwork into lin-d-hop-266reportsbranch
Conflicts:
app/controllers/spree/admin/reports_controller_decorator.rb
spec/models/spree/order_spec.rb
|
2014-12-19 09:38:02 +11:00 |
|
Rohan Mitchell
|
1d3800696e
|
Variant overrides can override stock levels
|
2014-12-18 10:46:47 +11:00 |
|
Rohan Mitchell
|
e6eecd3ae2
|
Replace proxies with modules
|
2014-12-18 10:20:31 +11:00 |
|
Rohan Mitchell
|
0832a8f63d
|
Viewing products shows overridden prices
|
2014-12-17 16:00:25 +11:00 |
|
Rohan Mitchell
|
91c500417b
|
Swap param order
|
2014-12-17 08:55:27 +11:00 |
|
Lynne Davis
|
7e49bd634e
|
Updated the specs with Rohans suggestions
|
2014-12-12 18:23:43 +00:00 |
|
Lynne Davis
|
eeae72352b
|
Renamed methods and vars to better fit naming conventions
|
2014-12-12 10:11:33 +00:00 |
|
Rohan Mitchell
|
0b3dfa7278
|
Merge branch 'product-reports-without-deleted'
|
2014-12-12 15:29:03 +11:00 |
|
Rohan Mitchell
|
b1ba519a73
|
When finding per hub order cycle enterprises, also return managed producers
|
2014-12-12 13:33:12 +11:00 |
|
Rohan Mitchell
|
5b82fcaca7
|
Inject hub permissions - which producers each hub can add to order cycle
|
2014-12-12 13:33:12 +11:00 |
|
Lynne Davis
|
079781576b
|
Adding new specs and a couple updates the lib/report
|
2014-12-11 12:47:56 +00:00 |
|
Rohan Mitchell
|
eab2e5de2a
|
Use scope
|
2014-12-11 15:00:44 +11:00 |
|
Lynne Davis
|
f878e18037
|
Update that works better with the specs
|
2014-12-08 16:25:18 +00:00 |
|
Maikel Linke
|
3cc79d0036
|
Filter deleted products in products report
BugHerd 484: Remove deleted products from Product / Inventory reports
|
2014-12-05 15:52:10 +11:00 |
|
Lynne Davis
|
a5ae1c490c
|
Fixing typo in report found through testing
|
2014-12-02 17:48:04 +00:00 |
|
Rohan Mitchell
|
bad5d798bf
|
Comment proxy classes
|
2014-11-21 13:49:09 +11:00 |
|
Rohan Mitchell
|
2b0f6b7865
|
Add ProductProxy which wraps the product's variants in VariantProxys
|
2014-11-21 13:49:09 +11:00 |
|
Rohan Mitchell
|
f3fa5edb9d
|
Add simple variant proxy
|
2014-11-21 13:49:09 +11:00 |
|
Lynne Davis
|
03b59eae75
|
266: Updating with rohans suggestions to tidy up and 'rubify' the code. Thanks for the tips Rohan!
|
2014-11-14 15:56:07 +00:00 |
|
Rob Harrington
|
d9d6b7bee4
|
Adding filtering to Users and Enterprises report
|
2014-11-14 16:36:22 +11:00 |
|
Rob Harrington
|
79a83ee206
|
Adding users and enterprises report, controller action and template
|
2014-11-14 16:36:22 +11:00 |
|
Lynne Davis
|
15f29f4c8e
|
266: Adding ability to search by distribution
|
2014-11-12 18:52:25 +00:00 |
|
Lynne Davis
|
932d571d2c
|
266: Updating to incorporate Rohans suggestions. Searching on payment method name rather than id
|
2014-11-12 11:47:26 +00:00 |
|
Lynne Davis
|
6f6ae309c6
|
266 UK: Adding first UK report - Payment Methods Report - to find balances per ordercycle for multiple payment method options. Working, but not complete to spec yet
|
2014-11-02 11:26:39 +00:00 |
|
Rafael Schouten
|
095dd28505
|
Merge branch 'master' of https://github.com/openfoodfoundation/openfoodnetwork
|
2014-10-25 18:53:46 +11:00 |
|
Rafael Schouten
|
feff4fd46f
|
fix reports taxons and specs
|
2014-10-25 18:51:03 +11:00 |
|
Rafael Schouten
|
6f1c90ea25
|
add toxons to prodcut reports
|
2014-10-25 17:09:23 +11:00 |
|
Rob Harrington
|
cc0e205f50
|
Merge master into onbaording
|
2014-10-24 15:36:59 +11:00 |
|
Rohan Mitchell
|
aea8ab4c7f
|
Move #manages_one_enterprise? from User model to Permissions
|
2014-10-23 16:44:16 +11:00 |
|
Rohan Mitchell
|
694dd0c329
|
Enterprise user selling own produce only sees simple order cycle listing
|
2014-10-17 10:52:36 +11:00 |
|