@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
Id | Name | Title | Company | Phone | 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 }} | @if(!isset($conn_chk))edit | @else@endif |