This commit is contained in:
meghamalore
2024-04-25 10:51:50 +05:30
100 changed files with 8806 additions and 8325 deletions

View File

@@ -195,7 +195,7 @@ class DashboardController extends Controller
$userCount = User::users()->count();
$investingUserCount = MonthlyUpdateMaster::distinct('users_id')->count('users_id');
$totalProductCount = Product::count();
$leads = Lead::with('leadSource')->where('lead_owner', auth()->user()->id)->get();
$leads = Lead::with('leadSource')->where('lead_owner', auth()->user()->id)->latest()->get();
$tasks = LeadTasksMeeting::where('owner', auth()->user()->id)->tasks()->get();
$meetings = LeadTasksMeeting::where('host', (string)auth()->user()->id)->meetings()->get();
// dd($meetings);