@if (isset($conn_chk)) @php $datatable_css = 'datable_sales_conn'; $mark_result = false; @endphp @elseif (isset($search_chk)) @php $datatable_css = 'datable_sales_search'; $mark_result = true; @endphp @else @php $datatable_css = 'datable_sales_list'; $mark_result = false; @endphp @endif @forelse ($leads as $lead) @if(!isset($conn_chk)) @else @endif @empty @endforelse
Id Name Title Company Phone Email Status Owner
{{ $lead->id }} {!! ($mark_result == true) ? '' : '' !!} {{ $lead->name }} {!! ($mark_result == true) ? '' : '' !!} {{ $lead->title }} {{ $lead->company }} {{ $lead->phone }} {{ $lead->email }} {{ config('defines.leads_status_select')[$lead->status] }} {{ $lead->user_owner->name }}edit
@if(!isset($conn_chk)) @else @endif