Reporting

{{-- --}} @foreach ($operation as $key => $item) @endforeach
S# Lead No Customer Name Plan Name Product Type C.M. No Lead Generate Time Status SR #Action
{{$key}} {{$item->lead_no}} {{$item->customer_name}} @if ($item->lead_type != 'ITProducts') @if ($item->sim_type == 'Elife') @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 @else @php( $plan = \App\itproductplans::whereId($item->select_plan)->first()) {{$plan->name}} @endif @if ($item->sim_type == 'Elife' || $item->sim_type == 'New' || $item->sim_type == 'MNP') {{$item->sim_type}} @else @php( $st = \App\it_products::whereId($item->sim_type)->first()) {{$st->name}} @endif {{$item->customer_number}} {{$item->lead_generate_time}} {{$item->status_name}} @if ($item->status == '1.02') @php( $sr = \App\activation_form::whereLeadId($item->id)->first()) {{$sr->activation_sr_no}} @else Not Active yet View remarks @endif