mirror of
				https://github.com/grocy/grocy.git
				synced 2025-10-31 02:36:54 +00:00 
			
		
		
		
	Add a button to clear the whole shopping list
This commit is contained in:
		| @@ -106,6 +106,12 @@ class StockApiController extends BaseApiController | ||||
| 		return $this->VoidApiActionResponse($response); | ||||
| 	} | ||||
|  | ||||
| 	public function ClearShoppingList(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args) | ||||
| 	{ | ||||
| 		$this->StockService->ClearShoppingList(); | ||||
| 		return $this->VoidApiActionResponse($response); | ||||
| 	} | ||||
|  | ||||
| 	public function ExternalBarcodeLookup(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args) | ||||
| 	{ | ||||
| 		try | ||||
|   | ||||
		Reference in New Issue
	
	Block a user