mirror of
https://github.com/grocy/grocy.git
synced 2025-10-14 09:11:11 +00:00
Reuse existing shopping list items when adding products from the stock overview page (closes #375)
This commit is contained in:
@@ -181,8 +181,8 @@ $app->group('/api', function()
|
||||
{
|
||||
$this->post('/stock/shoppinglist/add-missing-products', '\Grocy\Controllers\StockApiController:AddMissingProductsToShoppingList');
|
||||
$this->post('/stock/shoppinglist/clear', '\Grocy\Controllers\StockApiController:ClearShoppingList');
|
||||
$this->post('/stock/shoppinglist/add-product', '\Grocy\Controllers\StockApiController:AddItemToShoppingList');
|
||||
$this->post('/stock/shoppinglist/remove-product', '\Grocy\Controllers\StockApiController:RemoveItemFromShoppingList');
|
||||
$this->post('/stock/shoppinglist/add-product', '\Grocy\Controllers\StockApiController:AddProductToShoppingList');
|
||||
$this->post('/stock/shoppinglist/remove-product', '\Grocy\Controllers\StockApiController:RemoveProductFromShoppingList');
|
||||
}
|
||||
|
||||
// Recipes
|
||||
|
Reference in New Issue
Block a user