@extends('layouts.dashboard-app') @inject('provider', 'App\Http\Controllers\HomeController') @section('main-content')

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

Pending Lead

{{-- {{}} --}} @role('Tele Sale') @endrole {{--
--}} {{-- Add New Plan --}}
@foreach ($operation as $key => $item) {{-- --}} @endforeach
S# Lead No Customer Name Plan Name Sim Type Lead Type C.M. No Lead Generate Time Status Processor Status Processor Reject Reason Processor FollowUp Date Time Processor Appointment Set Date Time Remarks View Lead
{{ ++$key }} {{ $item->lead_no }} {{ $item->customer_name }} {{-- @if ($item->sim_type != 'MNP') @foreach (explode(',', $item->select_plan) as $info) @php( $plans = \App\elife_plan::whereid($info)->first()) {{$plans->plan_name}} @endforeach @else @foreach (explode(',', $item->select_plan) as $info) @php( $plans = \App\plan::whereid($info)->first()) {{$plans->plan_name}} @endforeach @endif --}} @if ($item->sim_type == 'New') @foreach (explode(',', $item->select_plan) as $info) @php($plans = \App\plan::whereid($info)->first()) {{ $plans->plan_name }} @endforeach @elseif($item->sim_type == 'MNP') @foreach (explode(',', $item->select_plan) as $info) @php($plans = \App\plan::whereid($info)->first()) {{ $plans->plan_name }} @endforeach @elseif($item->sim_type == 'Migration') @foreach (explode(',', $item->select_plan) as $info) @php($plans = \App\plan::whereid($info)->first()) {{ $plans->plan_name }} @endforeach @else @foreach (explode(',', $item->select_plan) as $info) @php($plans = \App\elife_plan::whereid($info)->first()) {{ $plans->plan_name }} @endforeach @endif {{ $item->sim_type }} {{ $item->lead_type }} {{ $item->customer_number }} {{ $item->lead_generate_time }} {{ $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') : '' }} {{ $item->remarks }} View remarks
@endsection {{-- @@section('name') --}} {{-- @endsection --}}