@extends('layouts.dashboard-app') {{-- https://github.com/grosv/laravel-passwordless-login?ref=madewithlaravel.com --}} @section('main-content')

Hello, Welcome {{ auth()->user()->name }}

Coordination Leads

{{-- Add New Plan --}}
{{-- --}} {{-- --}} {{-- --}} {{-- @if (auth()->user()->role == 'MainCoordinator') --}} @if (auth()->user()->role == 'Coordination') @else @endif @foreach ($operation as $key => $item) {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- @if (auth()->user()->role == 'MainCoordinator') --}} @if (auth()->user()->role == 'Coordination') @else @endif @endforeach
S# Lead NoDateCustomer NameSelected NumberPlan Name Product Type C.M. No Lead Generate Time Status Processor Status Processor Reject Reason Processor FollowUp Date Time Processor Appointment Set Date TimeRemarksActionAttend
{{ ++$key }} {{ $item->lead_no }}{{$item->verified_date}}{{ $item->customer_name }}{{$item->selected_number}} {{-- @if ($item->sim_type == 'Elife') @php $plan = \App\elife_plan::whereId($item->select_plan)->first() @endphp {{ $plan->plan_name }} @elseif($item->sim_type == 'Bitstream') @php $plan = \App\elife_plan::whereId($item->select_plan)->first() @endphp {{ $plan->plan_name }} @else @php $plan = \App\plan::whereId($item->select_plan)->first() @endphp {{ $plan->plan_name }} @endif --}} @if ($item->sim_type == 'Elife') @php $plan = \App\elife_plan::whereId( $item->select_plan, )->first(); @endphp {{ $plan ? $plan->plan_name : 'Plan not found' }} @elseif($item->sim_type == 'Bitstream') @php $plan = \App\elife_plan::whereId( $item->select_plan, )->first(); @endphp {{ $plan ? $plan->plan_name : 'Plan not found' }} @else @php $plan = \App\plan::whereId($item->select_plan)->first(); @endphp {{ $plan ? $plan->plan_name : 'Plan not found' }} @endif {{ $item->sim_type }} xxxxxxxxxx {{ $item->lead_generate_time }}{{ $item->status_name }} {{ $item->status_name }} @if ($item->status_name == 'Assign to Processor') - {{ $item->assigned_to_name }} @endif @if ($item->lead_status == 1) Still Follow Up @elseif($item->lead_status == 2) Customer Rejected @elseif($item->lead_status == 3) Appointment Set @elseif($item->lead_status == 4) Lead Closed @endif {{ $item->rejected_reason }}{{ $item->follow_up_date_time }}{{ $item->follow_up_date_time ? (new DateTime($item->follow_up_date_time))->format('Y-m-d H:i:s') : '' }} {{ $item->appointment_set_date_time ? (new DateTime($item->appointment_set_date_time))->format('Y-m-d H:i:s') : '' }} {{$item->remarks}} {{-- @if ($item->status_name == 'Assign to Activation') --}} @if ($item->status_name == 'pending') {{-- @elseif($item->status_name == 'rejected') --}} @endif {{-- --}} @if ($item->status_name != 'cordfollow') {{-- MODAL REJECT --}} @endif
@endsection {{-- @@section('name') --}} {{-- @endsection --}}