@forelse($case->courtDates as $cd) {{ optional($cd->scheduled_date)->format('Y-m-d H:i') }} {{ $cd->court_name }} {{ ucfirst($cd->hearing_type) }} {{ ucfirst($cd->status) }} @can('update', $cd) @endcan @can('delete', $cd)
@csrf @method('DELETE')
@endcan @empty No court dates @endforelse