@php $pending_kycs = \App\Models\Kyc::where('status', \App\Models\Kyc::pending)->get(); $pending_investments = \App\Models\Investments\Investment::where('status', \App\Models\Investments\Investment::status_new)->get(); $pending_withdrawals = \App\Models\Withdrawal::where('status', \App\Models\Withdrawal::status_new)->get(); $new_legacies_count = \App\Models\Form\Legacy::whereIn('status', [_LEGACY_NEW])->count(); @endphp