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

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

{{$id}}

{{-- {{}} --}} @can('manage sale') Add New Lead @endcan {{-- Add New Plan --}}
{{-- Status --}} @foreach ($operation as $key => $item) {{-- --}} {{-- --}} --}} @endif @endforeach
S# Lead No Customer Name Selected Number Plan Name Sim Type C.M. No Lead Generate Time Lead Accept Time Total TimeRemarks Action
{{$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 --}} {{--
@endsection {{-- @@section('name') --}} {{-- @endsection --}}