@extends('layouts.dashboard-app') @php $users = \App\User::role('activation')->get() @endphp {{-- $users = \App\User::role('activation')->get(); --}} @section('main-content')

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

Coordination Leads

{{-- Add New Plan --}}
@foreach ($operation as $key => $item) {{-- --}} @endforeach
S# Lead No Date and Time Customer Name Plan Name Sim Type Selected No Status Processor Status Processor Reject Reason Processor FollowUp Date Time Processor Appointment Set Date Time Attend
{{ ++$key }} {{ $item->lead_id }} {{ $item->created_at }} {{ $item->customer_name }} @if ($item->sim_type == 'Elife') @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 {{ $item->sim_type }} {{ $item->selected_number }} {{ $item->status_name }} @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') : '' }} {{-- View remarks --}} {{-- --}} @if (auth()->user()->role == 'MainCoordinator') {{-- View remarks --}} {{-- --}} {{-- MODAL REJECT --}} {{-- --}} @endif
@endsection {{-- @@section('name') --}} {{-- @endsection --}}