mirror of
https://github.com/grocy/grocy.git
synced 2025-08-28 17:10:11 +00:00
Also show quantity unit on dashboard next to amount
This commit is contained in:
@@ -42,6 +42,7 @@ $app->get('/', function(Request $request, Response $response) use($db)
|
||||
'title' => 'Dashboard',
|
||||
'contentPage' => 'dashboard.php',
|
||||
'products' => $db->products(),
|
||||
'quantityunits' => $db->quantity_units(),
|
||||
'currentStock' => GrocyLogicStock::GetCurrentStock(),
|
||||
'missingProducts' => GrocyLogicStock::GetMissingProducts()
|
||||
]);
|
||||
|
Reference in New Issue
Block a user