Show how much is in stock on dashboard

This commit is contained in:
Bernd Bestel
2017-04-21 12:50:53 +02:00
parent 1d293741ba
commit f2f18d260d
2 changed files with 12 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
<h1 class="page-header">Dashboard</h1>
<h3>Stock overview</h3>
<h3>Stock overview <span class="text-muded small"><strong><?php echo count($currentStock) ?></strong> products with <strong><?php echo GrocyPhpHelper::SumArrayValue($currentStock, 'amount'); ?></strong> units in stock</span></h3>
<div class="container-fluid">
<div class="row">