grocy/controllers
David Mott a0cf58b974
fix: make stockentry grocycodes consume the actual stock entry not the product in general (#1584)
* fix: make stockentry grocycodes consume the actual stock entry not the product in general

if the stock_entry_id is in the request body use this instead of the stockentry grocycode
this may not be the correct way to interpret this but one of them has to win

* Undo formatting changes

* fix: add variable definition and reorder args used in ConsumeProduct

* Simplify

* Fix this also for transferring a product

Co-authored-by: Bernd Bestel <bernd@berrnd.de>
2021-08-19 19:44:39 +02:00
..
Users Squashed commit 2021-07-16 17:32:08 +02:00
BaseApiController.php Squashed commit 2021-07-16 17:32:08 +02:00
BaseController.php Squashed commit 2021-07-16 17:32:08 +02:00
BatteriesApiController.php Squashed commit 2021-07-16 17:32:08 +02:00
BatteriesController.php Squashed commit 2021-07-16 17:32:08 +02:00
CalendarApiController.php Fixed that the calendar iCal export was broken when having "Track date only" chores (fixes #1547) 2021-07-24 10:24:21 +02:00
CalendarController.php Squashed commit 2021-07-16 17:32:08 +02:00
ChoresApiController.php Squashed commit 2021-07-16 17:32:08 +02:00
ChoresController.php Squashed commit 2021-07-16 17:32:08 +02:00
EquipmentController.php Squashed commit 2021-07-16 17:32:08 +02:00
ExceptionController.php Squashed commit 2021-07-16 17:32:08 +02:00
FilesApiController.php Squashed commit 2021-07-16 17:32:08 +02:00
GenericEntityApiController.php Fixed Userfield value assignment handling (/objects/{entity} API endpoint) (fixes #1572) 2021-08-17 18:23:06 +02:00
GenericEntityController.php Squashed commit 2021-07-16 17:32:08 +02:00
GrocycodeTrait.php Squashed commit 2021-07-16 17:32:08 +02:00
LoginController.php Squashed commit 2021-07-16 17:32:08 +02:00
OpenApiController.php Squashed commit 2021-07-16 17:32:08 +02:00
PrintApiController.php Squashed commit 2021-07-16 17:32:08 +02:00
RecipesApiController.php Squashed commit 2021-07-16 17:32:08 +02:00
RecipesController.php Squashed commit 2021-07-16 17:32:08 +02:00
StockApiController.php fix: make stockentry grocycodes consume the actual stock entry not the product in general (#1584) 2021-08-19 19:44:39 +02:00
StockController.php Squashed commit 2021-07-16 17:32:08 +02:00
SystemApiController.php Squashed commit 2021-07-16 17:32:08 +02:00
SystemController.php Squashed commit 2021-07-16 17:32:08 +02:00
TasksApiController.php Squashed commit 2021-07-16 17:32:08 +02:00
TasksController.php Squashed commit 2021-07-16 17:32:08 +02:00
UsersApiController.php Squashed commit 2021-07-16 17:32:08 +02:00
UsersController.php Implemented Userfields for users (closes #1159) 2020-12-20 22:16:58 +01:00