zebardy
a3cdb85317
bug fixes following merge
2020-02-19 00:24:01 +00:00
zebardy
a3f5efdd5b
bug fixes following merge
2020-02-18 23:40:58 +00:00
zebardy
b6be442fb9
updated to original master
2020-02-18 21:56:36 +00:00
Bernd Bestel
d4fa1a64c2
Upgrade Slim Framework to v4 ( closes #561 )
2020-02-11 17:42:03 +01:00
Bernd Bestel
0e41500a63
Properly check for any boolean value query parameter
2020-01-27 22:20:20 +01:00
Bernd Bestel
e84c7063d3
Consume any subproduct when consuming a recipe ingredient which is not in stock ( fixes #446 )
2020-01-27 22:14:11 +01:00
Bernd Bestel
99d4b05a3c
Make purchased date on /stockedit editable / Dirty workaround for 2 datetimepickers on the same page (references #506 )
2020-01-23 18:58:05 +01:00
kriddles
ef9f28d154
421 ( #507 )
...
* refactor to be stock/entry/{entryId}
* Allow recipeform add productworkflow
* on document ready stockdetail filter based on ProductPicker
* openDate fixes for undo
* RefreshStockDetailRow refresh location-id
2020-01-22 21:08:49 +01:00
Bernd Bestel
c22496ca7c
Fixed /stockedit opened checkbox (references #506 )
2020-01-21 20:04:33 +01:00
kriddles
2a608c41e9
Stock detail updates ( #493 )
...
* Fix spelling
* stockdetail refresh with location name
* Stock updates
* change stock_row_id to id
* fix stockdetail refresh rows after clicking undo
* fix stockdetail consume spoiled
2020-01-17 17:54:34 +01:00
Aaron Moses
146c7b6011
Merge branch 'master' of https://github.com/grocy/grocy into grocy-448
2019-12-22 23:28:50 +00:00
Aaron Moses
ce75d6bca8
Clean up and tuen all services into singletons
2019-12-22 22:51:54 +00:00
Aaron Moses
1cdef09832
Clean up controllers
2019-12-22 22:14:05 +00:00
kriddles
6c7420ea08
Stock Service Updates ( #421 )
...
* viewjs consume: implement location and update stock specific
* Transfer Products
* services StockService#GetProductStockEntriesByLocation: add method
* services StockService#AddProduct: check for stock and locations
* services StockService: include location_id
* services StockService#LocationExists: add method
* services StockService#UndoBooking: fix based on stockRow
* Reimplement StockServer->TransferProduct (one loop for the whole action to preserve stock_id)
* Ensure that the location_id is never NULL in the stock and stock_log table (checked by an INSERT trigger, sets the products default location if empty)
* Only consider stock amount at the given location on consume, if supplied
* Restore more/old display text for "specific stock entry"
* Don't allow transfering tare weight enabled products
* Various small changes (code style, missing OpenAPI endpoint, remove location_id null checking)
* Updated translations strings
* Added transaction_id and correlation_id to stock_log entries to group them together
* ProductCard - location to default location label change
* Also undo correlated bookings on undo
* Added API endpoints for listing and undoing transactions and use them on purchase/consume/inventory/stockoverview
* Initial Stock detail page
* Allow Undo for Tranfers
* Price step to .01
* Some localization string changes & fixes
2019-12-19 19:48:36 +01:00
zebardy
76beb4779e
lazily obtain valus for page rendering
2019-11-23 12:15:18 +00:00
zebardy
1659e151a7
comment out debug printing to log file
2019-11-17 16:32:48 +00:00
Aaron Moses
fca0bd73ad
use singletons to reduce need to recreate the same objects
2019-11-17 11:59:43 +00:00
Bernd Bestel
5351828e79
Reuse existing shopping list items when adding products from the stock overview page ( closes #375 )
2019-09-24 18:27:50 +02:00
Bernd Bestel
a95d6be4f4
Added more product actions on the stock overview page ( closes #327 )
2019-09-20 13:37:53 +02:00
Bernd Bestel
ca9b8d068a
Reuse existing routes for the by-barcode API routes and complete them (references #331 )
2019-09-20 10:45:58 +02:00
Bernd Bestel
58a69d650f
Added an API endpoint to add/remove products to stock by its barcode ( closes #331 )
2019-09-19 18:36:46 +02:00
Marc Ole Bulling
d4eb767f1b
Add API call for adding products to shoppinglist
2019-08-30 09:21:11 +02:00
Bernd Bestel
cc1c6a6442
Little changes for pull request #338
2019-08-10 08:33:30 +02:00
Marc Ole Bulling
1e33975a96
Use default best before date when adding product through API
2019-08-04 20:58:11 +02:00
Forceu
1a23eaabf1
Add API call to remove an item from the shopping list by productid
...
This adds an API call, so a shopping list item can easily be removed
Please note: This is UNTESTED, as I was unable to run the current grocy master commit on my server.
2019-08-04 20:31:47 +02:00
Bernd Bestel
bcae9f9292
Added price field on inventory page (for added products) (references #225 )
2019-05-03 22:11:20 +02:00
Bernd Bestel
162adeb359
Improve API related changes regarding multiple shopping lists (references #190 )
2019-04-22 08:21:57 +02:00
Bernd Bestel
cdd02efcc6
Implemented multiple/named shopping lists ( closes #190 )
2019-04-20 17:04:40 +02:00
Bernd Bestel
b6e80580ed
Make it possible to provide a different location for added product during inventory ( closes #183 )
2019-04-05 21:26:44 +02:00
Matej Drobnič
3f4a5cc0d6
Add fetch by barcode API method
2019-03-10 12:20:31 +01:00
Bernd Bestel
8504429f5f
Implemented tare weight handling ( closes #132 )
2019-03-05 17:51:50 +01:00
Bernd Bestel
8020f92d6b
Track on consume for which recipe it was ( closes #64 and references #64 )
2019-03-03 18:20:06 +01:00
Bernd Bestel
b89643ddb1
Allow different locations per product in stock ( closes #124 )
...
Kind of basic for now, a different location can be set on purchase, the filters on the stock overview page handles different locations
2019-03-01 20:25:01 +01:00
Bernd Bestel
bfa59dd29c
Rework API to be more RESTful (references #139 )
2019-01-19 14:51:51 +01:00
Bernd Bestel
10ea9c44fd
Make it possible to mark a product as opened ( closes #86 )
2018-11-17 19:39:37 +01:00
Bernd Bestel
816ca6460f
Make it possible to pick a specific stock item on consume ( closes #62 )
2018-11-17 17:51:35 +01:00
Bernd Bestel
364f6b2051
Add journal and undo UI for stock bookings, chore executions and battery charge cycles ( closes #63 , closes #97 )
2018-10-27 17:26:00 +02:00
Bernd Bestel
3e6cf545d7
Finalize stock booking undo API (references #63 and #97 )
2018-10-27 10:19:06 +02:00
Bernd Bestel
1080c3486c
Created first version of an API endpoint to undo stock bookings (references #63 and #97 )
2018-10-26 22:28:58 +02:00
Bernd Bestel
bb9caf9cc9
Fixed volatil stock logic ( fixes #69 )
2018-10-02 17:06:21 +02:00
Bernd Bestel
ca3f28b615
Refresh stock statistics on consume on stock overview page (references #26 )
2018-08-04 14:25:32 +02:00
Bernd Bestel
c64eb27ca1
Add something for product price tracking (references #22 )
2018-07-26 20:27:38 +02:00
Bernd Bestel
be650d093d
Add a button to clear the whole shopping list
2018-07-15 08:29:26 +02:00
Bernd Bestel
778191fd11
Fixed all (or most of) the broken stuff after the dependency upgrade party
2018-07-11 19:43:05 +02:00
Bernd Bestel
a9a1358b08
Added a plugin system for looking up products against external services by barcode (references #6 )
2018-04-22 19:50:24 +02:00
Bernd Bestel
4853174d03
Validate all API request as the API is now open for third parties (references #5 )
2018-04-22 14:25:08 +02:00
Bernd Bestel
5a1d21ef31
Reorganize project part 3
2018-04-12 21:13:38 +02:00
Bernd Bestel
feb88ab685
Reorganize project part 2
2018-04-11 19:51:05 +02:00