mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Show optionally an icon on the stock overview page if the product is already on the shopping list (closes #708)
This commit is contained in:
@@ -25,7 +25,8 @@ class StockController extends BaseController
|
||||
'nextXDays' => $nextXDays,
|
||||
'productGroups' => $this->getDatabase()->product_groups()->orderBy('name'),
|
||||
'userfields' => $this->getUserfieldsService()->GetFields('products'),
|
||||
'userfieldValues' => $this->getUserfieldsService()->GetAllValues('products')
|
||||
'userfieldValues' => $this->getUserfieldsService()->GetAllValues('products'),
|
||||
'shoppingListItems' => $this->getDatabase()->shopping_list(),
|
||||
]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user