@forelse($companies as $company) {{-- Find ADT-1 record for this company in current session --}} @php $record = $company->adt1Compliances->first(); @endphp @php $isPending = !$record || $record->status !== 'Filed'; @endphp @empty @endforelse
Company Appointment Date Filing Details Status Checked By Action
{{ $company->name }}
{{ $company->cin ?? 'N/A' }}
@if($record && $record->date_of_appointment) {{ $record->date_of_appointment->format('d M Y') }} @else - @endif @if($record && $record->srn)
SRN: {{ $record->srn }}
Filed: {{ $record->date_of_filing ? $record->date_of_filing->format('d M Y') : '-' }}
@else Not Filed @endif
@if($record) @if($record->status === 'Filed') Filed @elseif($record->status === 'Pending') Pending @else Overdue @endif @else Pending @endif @if($record && $record->checked_by) {{ $record->checked_by }} @else - @endif {{ $record && $record->status === 'Filed' ? 'Edit Details' : 'File Now' }}

No companies found for this session.

Add a Company first
@if($companies->hasPages())
{{ $companies->links() }}
@endif