@foreach($boardColumns as $key=>$column)

{{ ucwords($column->status) }} {{ count($column->applications) }}

@foreach($column->applications as $application)
user {{ ucwords($application->full_name) }}
{{ ucwords($application->job->title) }}
@if(!is_null($application->schedule) && $column->id == 3) {{ $application->schedule->schedule_date->format('d M, Y') }} @else {{ $application->created_at->format('d M, Y') }} @endif @permission('add_schedule') @if(!is_null($application->schedule) && $column->id == 3 && $currentDate < $application->schedule->schedule_date->timestamp) @endif @if(in_array($column->status, ['hired', 'rejected'])) @endif @endpermission
@endforeach
@endforeach