This commit is contained in:
@@ -44,7 +44,7 @@ class HomeStats extends StatelessWidget {
|
||||
icon: Icons.hexagon_outlined,
|
||||
iconColor: const Color(0xFF4CAF50),
|
||||
blobColor: const Color(0xFF4CAF50),
|
||||
value: '0', // TODO: connect items sold data
|
||||
value: overview.totalItemSold.toString(),
|
||||
label: context.lang.items_sold,
|
||||
),
|
||||
),
|
||||
@@ -58,7 +58,7 @@ class HomeStats extends StatelessWidget {
|
||||
icon: Icons.warning_amber_rounded,
|
||||
iconColor: const Color(0xFFFF9800),
|
||||
blobColor: const Color(0xFFFF9800),
|
||||
value: '0', // TODO: connect low stock data
|
||||
value: overview.totalLowStock.toString(),
|
||||
label: context.lang.low_stock_warning,
|
||||
),
|
||||
),
|
||||
@@ -68,7 +68,7 @@ class HomeStats extends StatelessWidget {
|
||||
icon: Icons.hexagon_outlined,
|
||||
iconColor: const Color(0xFFE53935),
|
||||
blobColor: const Color(0xFFE53935),
|
||||
value: '0', // TODO: connect active products data
|
||||
value: overview.totalProductActive.toString(),
|
||||
label: context.lang.active_products,
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user