From 2c32b51058e8b9eceb8b676bd501f45b09bc28bb Mon Sep 17 00:00:00 2001 From: chris Date: Mon, 3 Feb 2025 12:53:39 +0100 Subject: [PATCH] Show dashboard tiles only when information is available. --- resources/views/dashboard.blade.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php index 9e421d8..9cba248 100644 --- a/resources/views/dashboard.blade.php +++ b/resources/views/dashboard.blade.php @@ -15,6 +15,7 @@
+ @if($sent_invoices->count() != 0)
@@ -30,7 +31,9 @@ @endforeach
+ @endif + @if($created_invoices->count() != 0)
@@ -44,7 +47,9 @@ @endforeach
+ @endif + @if($customers->count() != 0)
@@ -58,7 +63,9 @@ @endforeach
+ @endif + @if($unpaid_incoming->count() != 0)
@@ -74,6 +81,7 @@ @endforeach
+ @endif