Rohan Mitchell
|
381bfd383b
|
Allow enterprise fee with no tax category
|
2015-03-06 12:12:33 +11:00 |
|
Rohan Mitchell
|
41792395aa
|
Record the tax included in per-item EnterpriseFees
|
2015-03-06 11:13:47 +11:00 |
|
Rohan Mitchell
|
98ff895f5f
|
Record the tax included in per-order EnterpriseFees
|
2015-03-06 10:38:55 +11:00 |
|
Rohan Mitchell
|
dd61034908
|
Fix fractional cents appearing on sales tax report totals
|
2015-03-05 10:43:57 +11:00 |
|
Rohan Mitchell
|
ec22f4c09f
|
Sales tax report pulls sales tax from adjustments instead of recalculating it at report-time
|
2015-03-05 10:43:57 +11:00 |
|
Rohan Mitchell
|
11f59c9f59
|
Add spec for calculating shipping tax. Fix incorrect formula.
|
2015-03-05 10:43:56 +11:00 |
|
Rohan Mitchell
|
27a730ef6c
|
Add spec for sales tax report totals calcs
|
2015-03-05 10:43:56 +11:00 |
|
Rohan Mitchell
|
10e5d09416
|
Use ReportsHelper for currency_symbol
|
2015-03-05 10:43:56 +11:00 |
|
Rohan Mitchell
|
3b4d73760b
|
Break up sales tax report into methods
|
2015-03-05 10:43:55 +11:00 |
|
Rohan Mitchell
|
89199ef30a
|
Use map instead of each and var
|
2015-03-05 10:43:55 +11:00 |
|
Matt-Yorkley
|
d194e74eda
|
Rohan's suggested changes
|
2015-03-05 10:43:51 +11:00 |
|
Matt-Yorkley
|
0f3723a923
|
Added currency symbols to sales tax report
|
2015-03-05 10:43:51 +11:00 |
|
Matt-Yorkley
|
623882a2a1
|
Config option for tax rate on shipping
|
2015-03-05 10:43:50 +11:00 |
|
Matt-Yorkley
|
be55f461d0
|
Report: sales tax on orders
|
2015-03-05 10:43:50 +11:00 |
|
Rohan Mitchell
|
4554c0555d
|
Change locking to use postgres syntax, fixes 'must be first statement in transaction' error
|
2015-02-20 11:31:39 +11:00 |
|
Maikel Linke
|
c01d45e3af
|
Serialize move_up and move_down methods of groups
There have been race conditions in other projects using the acts_as_list
gem which could be solved by serializing.
|
2015-02-19 16:51:58 +11:00 |
|
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 |
|