@extends('layout.master') @section('title', 'Follow Ups') @section('content') @php $statusColors = [ 'pending' => 'warning', 'done' => 'success', 'need further follow up' => 'info', ]; @endphp

Follow Ups

@if (session('success'))
{{ session('success') }}
@endif
@if (request('lead_number')) Reset @endif
@forelse ($followUps as $followUp) @empty @endforelse
# Lead # Client Subject Reason Create Date Remarks Taken At Due Date Status Action
{{ $loop->iteration }} {{ $followUp->lead->lead_number ?? '—' }} {{ $followUp->lead->client->name ?? '—' }} {{ $followUp->subject ?? '—' }} {{ $followUp->reason ?? '—' }} {{ $followUp->create_date ? \Carbon\Carbon::parse($followUp->create_date)->format('d M Y, h:i A') : '—' }} {{ $followUp->remarks ?? '—' }} {{ $followUp->taken_at ? \Carbon\Carbon::parse($followUp->taken_at)->format('d M Y, h:i A') : '—' }} {{ $followUp->due_date ? \Carbon\Carbon::parse($followUp->due_date)->format('d M Y, h:i A') : '—' }} {{ ucfirst($followUp->status ?? 'N/A') }}
No follow-ups found.
@endsection