| {{ __('common.sl_no') }} |
{{ __('crm.date') }}
|
{{ __('crm.source') }}
|
{{ __('crm.source_id') }}
|
{{ __('crm.contact_details') }}
|
{{ __('crm.last_followup') }}
|
{{ __('crm.next_followup') }}
|
{{ __('crm.followup_status') }}
|
{{ __('common.action') }}
|
@if (!empty($lead_list))
@foreach ($lead_list as $key => $leads)
| {{ $current_page * $per_page + $key + 1 - $per_page }}
|
{{ \Carbon\Carbon::parse($leads->created_at)->format('d/m/Y') }} |
@if ($leads->source == 1)
General
@elseif($leads->source == 2)
Enquiry
@elseif($leads->source == 3)
Quotation
@else
Order
@endif
|
@if ($leads->source == 1)
-
@elseif($leads->source == 2)
@if (!empty($leads->enquiry))
{{ $leads->enquiry->enquiry_no }}
@endif
{{-- @elseif($leads->source == 3)
@if (!empty($leads->quotation))
{{ $leads->quotation->quotation_no }}
@endif --}}
{{-- @elseif($leads->source == 4)
@if (!empty($leads->order))
{{ $leads->order->order_number }}
@endif --}}
@endif
|
{{ $leads->crm_lead->contact_name ?? '' }}
{{ $leads->crm_lead->contact_email ?? '' }}
|
{{ $leads->last_followup ?? '' }}
|
{{ $leads->next_followup ?? '' }}
|
|
|
@endforeach
@endif
{!! \App\Helper\Helper::make_pagination(
$total_records,
$per_page,
$current_page,
$total_page,
'crm.lead-followup.index',
[
'start_date' => $start_date,
'end_date' => $end_date,
'search' => $search,
'source_name' => $source_name,
'followup' => $followup,
'tags' => $tags,
'crm_agent' => $crm_agent,
],
) !!}