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

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

My Leads

{{-- {{}} --}} @role('Tele Sale') @endrole
{{--
--}} {{-- Add New Plan --}}
@if ($lead_sale->isNotEmpty()) @foreach ($lead_sale as $key => $item) {{-- --}} {{-- --}} {{-- --}} @endforeach @else @endif
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 Action
{{ ++$key }} {{ $item->lead_no }} {{ $item->customer_name }} @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 }} xxxxxxxxxx {{ $item->created_at }} {{ $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->appointment_set_date_time ? $item->appointment_set_date_time->format('Y-m-d H:i:s') : 'N/A' }}{{ $item->appointment_set_date_time }}{{ $item->remarks }} View remarks @if ($item->status_name == 'verified') @else @endif
No Leads Available.
@endsection {{-- @@section('name') --}} {{-- @endsection --}}