From c45766f2d9ad7e8de555814705de351718fd58bf Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Tue, 6 Aug 2019 02:13:07 -0500 Subject: [PATCH] dashboard --- .../Controllers/Dashboard/DashboardController.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/Dashboard/DashboardController.php b/app/Http/Controllers/Dashboard/DashboardController.php index b5f4fbdb5..7e66692ba 100644 --- a/app/Http/Controllers/Dashboard/DashboardController.php +++ b/app/Http/Controllers/Dashboard/DashboardController.php @@ -167,7 +167,17 @@ class DashboardController extends Controller ], ]); - dd($openCount); + if($openCount == 0) { + $open = null; + } + + if($approvedCount == 0) { + $approved = null; + } + + if($deniedCount == 0) { + $denied = null; + } return view('dashboard')->with('openCount', $openCount) ->with('approvedCount', $approvedCount)