added quote to dashboard view
This commit is contained in:
@@ -117,9 +117,12 @@ class DashboardController extends Controller
|
||||
}
|
||||
})->orderBy('dob', 'asc')->take(5)->get();
|
||||
|
||||
$main_quote = DailyQuote::where('status', 'active')->first();
|
||||
// dd($main_quote);
|
||||
|
||||
return view('dashboard.index', compact(
|
||||
'totalClients', 'activeClients', 'activeNetworks', 'activeShortCodes', 'totalSenderIds', 'clientActiveRate',
|
||||
'totalStaff', 'pendingLeaves', 'totalDocuments', 'activeLeavesThisMonth',
|
||||
'totalStaff', 'pendingLeaves', 'totalDocuments', 'activeLeavesThisMonth', 'main_quote',
|
||||
'recentPendingLeaves', 'recentDocuments', 'upcomingBirthdays'
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user