grocy/services
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
..
ApiKeyService.php Typo... 2019-09-17 17:54:09 +02:00
ApplicationService.php Fixed version display in prerelease mode 2019-09-18 17:27:47 +02:00
BaseService.php Prefix all global vars 2018-07-24 19:41:35 +02:00
BatteriesService.php 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
CalendarService.php Always use the proper URL for meal plan links in iCal calendar export (references #417) 2019-10-12 10:22:17 +02:00
ChoresService.php Added a chore period type "yearly" (closes #407) 2019-10-04 11:24:51 +02:00
DatabaseMigrationService.php Replace the single user (defined in /data/config.php) with a multi user management thing 2018-07-24 19:31:43 +02:00
DatabaseService.php Internal change that the demo instances (stable and pre-release) can be served through a single instance for all localizations (references #241) 2019-09-21 15:07:29 +02:00
DemoDataGeneratorService.php Also refresh the parent product on sub product actions on the stock overview page (closes #394) 2019-09-27 08:30:08 +02:00
FilesService.php Hotfix (will be included in v2.5.0 release): Don't break image loading when php-gd extension is not installed 2019-09-22 14:48:50 +02:00
LocalizationService.php Implemented that chores can be assigned to users (closes #253) 2019-09-17 13:13:26 +02:00
RecipesService.php Added a "consume this recipe"-button to the meal plan (and also a button to consume all recipes for a whole week) (closes #283) 2019-07-06 20:02:40 +02:00
SessionService.php Typo... 2019-09-17 17:54:09 +02:00
StockService.php Stock Service Updates (#421) 2019-12-19 19:48:36 +01:00
TasksService.php Added the possibility to undo a task (closes #252) 2019-07-06 20:34:01 +02:00
UserfieldsService.php Implement custom entities / objects (closes #242) 2019-09-18 16:18:15 +02:00
UsersService.php Optimize user settings 2018-09-30 17:14:04 +02:00