Rohan Mitchell
|
6e0576235d
|
Use create\! instead of build - more concise, raises exception on error
|
2014-12-19 09:51:32 +11:00 |
|
Rohan Mitchell
|
27d646c0e8
|
Tweak indentation, remove some blank lines
|
2014-12-19 09:51:32 +11:00 |
|
Rohan Mitchell
|
3b58d99abc
|
Fix spec failure
|
2014-12-19 09:51:02 +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
|
c4b45bdbbf
|
Fix line items returning prices with fractional cents
|
2014-12-18 16:24:59 +11:00 |
|
Rohan Mitchell
|
b0f5d0170c
|
Spec that overridden price with fees appears in quick cart
|
2014-12-18 13:32:28 +11:00 |
|
Rohan Mitchell
|
5fcb2982fa
|
Fees are calculated correctly for items with variant overrides
|
2014-12-18 11:53:17 +11:00 |
|
Rohan Mitchell
|
1d3800696e
|
Variant overrides can override stock levels
|
2014-12-18 10:46:47 +11:00 |
|
Rohan Mitchell
|
f5ee9ba2f3
|
VariantOverride looks up count_on_hand
|
2014-12-18 10:21:07 +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
|
23c7715929
|
Cosmetic change
|
2014-12-17 14:03:54 +11:00 |
|
Rohan Mitchell
|
2ea7bdbec6
|
Move controller spec to serializer spec
|
2014-12-17 14:01:59 +11:00 |
|
Rohan Mitchell
|
6c300431d2
|
Move Product#variants_for to Variant.for_distribution scope
|
2014-12-17 13:42:30 +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 |
|
Rob Harrington
|
66669e66ab
|
Shaving some seconds from BOM spec by using simple order cycles and splitting specs up into more logical contexts
|
2014-12-12 15:43:05 +11:00 |
|
Rohan Mitchell
|
0b3dfa7278
|
Merge branch 'product-reports-without-deleted'
|
2014-12-12 15:29:03 +11:00 |
|
Rohan Mitchell
|
84b607433c
|
Creating and then updating the new override updates the same override instead of creating a duplicate
|
2014-12-12 13:33:14 +11:00 |
|
Rohan Mitchell
|
31823f2dbd
|
Setting both values to blank deletes override
|
2014-12-12 13:33:14 +11:00 |
|
Rohan Mitchell
|
d83ff4ef33
|
Remove short wait, show variant overrides tab in admin
|
2014-12-12 13:33:14 +11:00 |
|
Rohan Mitchell
|
fb980981fb
|
Display variant override errors
|
2014-12-12 13:33:14 +11:00 |
|
Rohan Mitchell
|
0393007ba5
|
Update variant overrides
|
2014-12-12 13:33:14 +11:00 |
|
Rohan Mitchell
|
c38686c820
|
Create new variant overrides
|
2014-12-12 13:33:14 +11:00 |
|
Rohan Mitchell
|
27444c6589
|
Extract variant overrides to own controller - permissions
|
2014-12-12 13:33:14 +11:00 |
|
Rohan Mitchell
|
531b35bbc6
|
WIP: Extract variant overrides to own controller - route, controller, views
|
2014-12-12 13:33:14 +11:00 |
|
Rohan Mitchell
|
91434fe12a
|
Rename override_variants to variant_overrides - JS file names
|
2014-12-12 13:33:13 +11:00 |
|
Rohan Mitchell
|
a6f116aa09
|
WIP: Rename override_variants to variant_overrides - JS
|
2014-12-12 13:33:13 +11:00 |
|
Rohan Mitchell
|
d02511bf1d
|
WIP: Rename override_variants to variant_overrides - file and dir name changes
|
2014-12-12 13:33:13 +11:00 |
|
Rohan Mitchell
|
51d2805de9
|
WIP: Rename override_variants to variant_overrides
|
2014-12-12 13:33:13 +11:00 |
|
Rohan Mitchell
|
47592cdbd8
|
Submit variant overrides to server
|
2014-12-12 13:33:13 +11:00 |
|
Rohan Mitchell
|
c62ce57e0f
|
Display count of dirty variant overrides
|
2014-12-12 13:33:13 +11:00 |
|
Rohan Mitchell
|
a1fc4dec43
|
Updating variant overrides stores dirty values
|
2014-12-12 13:33:13 +11:00 |
|
Rohan Mitchell
|
9d4b8ae949
|
Rename div update-status-message to status-message
|
2014-12-12 13:33:13 +11:00 |
|
Rohan Mitchell
|
abf58c0e02
|
Provide blank values for all variant overrides
|
2014-12-12 13:33:13 +11:00 |
|
Rohan Mitchell
|
d3e639aa03
|
Index variant overrides by hub_id x variant_id
|
2014-12-12 13:33:12 +11:00 |
|
Rohan Mitchell
|
5cf3579b26
|
Extract variant overrides to service
|
2014-12-12 13:33:12 +11:00 |
|
Rohan Mitchell
|
5df4f1b7fe
|
Convert text to form fields
|
2014-12-12 13:33:12 +11:00 |
|
Rohan Mitchell
|
3aedbb6c48
|
Display variant overrides
|
2014-12-12 13:33:12 +11:00 |
|
Rohan Mitchell
|
8baed4429c
|
Indexer accepts arbitrary key to index by. Fix bug: Return an object instead of an array.
|
2014-12-12 13:33:12 +11:00 |
|
Rohan Mitchell
|
47b479c6c9
|
Show variants in override variants interface, not just products
|
2014-12-12 13:33:12 +11:00 |
|
Rohan Mitchell
|
42481e9691
|
Provide hub permissions to specs
|
2014-12-12 13:33:12 +11:00 |
|
Rohan Mitchell
|
ff28da345d
|
Find variant overrides for some hubs
|
2014-12-12 13:33:12 +11:00 |
|
Rohan Mitchell
|
91b386003a
|
Add VariantOverrideSerializer
|
2014-12-12 13:33:12 +11:00 |
|
Rohan Mitchell
|
a3a3832c8d
|
Only show products that the chosen hub can add to an order cycle
|
2014-12-12 13:33:12 +11:00 |
|
Rohan Mitchell
|
500b5ce347
|
Enterprise managers can access override variants
|
2014-12-12 13:33:12 +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 |
|
Rob Harrington
|
6a226e4f92
|
Fixing typos and changing delivery address display in order confirmation email
|
2014-12-12 12:00:15 +11:00 |
|
Rohan Mitchell
|
e607c9855f
|
Add Pin Payments gateway
|
2014-12-12 10:59:23 +11:00 |
|