{{ ++$key }} |
{{ $item->lead_no }} |
{{ $item->language }} |
{{ $item->customer_name }} |
{{-- {{$item->selected_number}} | --}}
@if ($item->sim_type == 'Elife')
@php($plan = \App\elife_plan::whereId($item->select_plan)->first())
{{ $plan->plan_name }}
@elseif($item->sim_type == 'HomeWifiTelesales')
@php($plan = \App\elife_plan::whereId($item->select_plan)->first())
{{ $plan->plan_name }}
@elseif($item->sim_type == 'BitStream')
@php($plan = \App\elife_plan::whereId($item->select_plan)->first())
{{ $plan->plan_name }}
@else
@php($plan = \App\plan::whereId($item->select_plan)->first())
{{ $plan->plan_name }}
@endif
|
{{-- {{$item->sim_type}} | --}}
xxxxxxxxxx |
{{ $item->lead_generate_time }} |
@if ($item->status == 1.21)
Follow Up
@elseif($item->status == 1.08)
InProcess
@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') : '' }}
|
@if($item->lead_status == 4)
@else
@endif
{{-- --}}
{{-- --}}
{{-- --}}
|
@endforeach