@extends('admin.layouts.leadManagement') @section('title') My Followup @endsection @php $requestValues = request('values'); // Define an empty array to store the sub-stages $subStagesArray = []; if ($requestValues == 'inquiry') { $subStagesArray = ['Inquiry', 'Counselling', 'University to be suggested', 'Universities suggested']; } elseif ($requestValues == 'application') { $subStagesArray = ['Application ready to submit', 'Application submitted', 'Application Rejected', 'Application resubmitted', 'Admission Letter Pending']; } elseif ($requestValues == 'offer') { $subStagesArray = ['Offer Issued','Offer Accepted','Offer Rejected']; } elseif ($requestValues == 'dropped') { $subStagesArray = ['Student backed out / Dropped']; } elseif ($requestValues == 'feePayment') { $subStagesArray = ['Initial Fee / Tuition Fee Deposit']; } elseif ($requestValues == 'visa') { $subStagesArray = ['Visa Rejected', 'Visa Accepted', 'Visa In Process', 'Work Visa']; } elseif ($requestValues == 'defered') { $subStagesArray = ['Student Defered']; } // Define an array to store the sub-stages names $getSubStagesArray = []; if (!empty($subStagesArray)) { $stagesArray = get_stages_array(); foreach ($subStagesArray as $subStage) { foreach ($stagesArray as $stage) { if ($stage['name'] == $subStage) { $getSubStagesArray[]['name'] = $stage['name']; } } } } else { $getSubStagesArray = get_stages_array(); } @endphp @section('content')

My Followup ({{ @$count }})    Pending: ({{ @$pendingFollowUpCount }}) Not Followed: --

{{-- Pending: ({{ @$pendingFollowUpCount }}) --}} My Leads

{{--

Total Followup: {{ @$pendingFollowUpCount }}

--}}
@if (count(request()->all()) > 0) Clear All @endif {{-- --}}
{{-- --}}
{{-- --}} {{-- --}}
@endsection @section('style') @endsection @section('script') {{-- --}} {{-- --}} {{-- --}} @include('admin.lead-management.popup.whatsapp'); {{-- ////////////////////////////form Submit by on change//////////////// --}} {{-- ////////////////////////////custom Send Email///////////////////////// --}} {{-- /////////////////////////follow-up////////////////////////// --}} @endsection