{{ ++$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
|
@endforeach