{{$id}}
{{-- {{}} --}}
@can('manage sale')
Add New Lead
@endcan
{{--
Add New Plan --}}
S# |
Lead No |
Customer Name |
Selected Number |
Plan Name |
Sim Type |
C.M. No |
Lead Generate Time |
Lead Accept Time |
Total Time |
{{-- Status --}}
Remarks |
Action |
@foreach ($operation as $key => $item)
{{$key}} |
{{$item->lead_no}} |
{{$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}}
@else
@php( $plan = \App\plan::whereId($item->select_plan)->first())
{{$plan->plan_name}}
@endif
|
{{-- {{$item->select_plan}} | --}}
{{$item->sim_type}} |
{{$item->customer_number}} |
{{$item->lead_generate_time}} |
{{$item->lead_accept_time}} |
{{$provider::total_time($item->lead_accept_time,$item->lead_proceed_time)}}
|
@if ($item->sim_type == 'Elife')
@if ($item->status == '1.02')
SR Generated
@endif
@else
{{$item->status_name}}
@endif
|
{{-- {{$item->remarks}} | --}}
@if($item->status == '1.03')
@elseif($item->status == '1.13')
{{-- --}}
@else
{{-- | --}}
{{-- View remarks --}}
{{-- | --}}
@endif
@endforeach