@php $addApplicationPermission = user()->permission('add_job_application'); $addStatusPermission = user()->permission('add_application_status'); $editStatusPermission = user()->permission('edit_application_status'); $changeStatusPermission = user()->permission('change_application_status'); $deleteStatusPermission = user()->permission('delete_application_status'); @endphp @foreach ($result['boardColumns'] as $key => $column) @if ($column->userSetting && $column->userSetting->collapsed)

{{ mb_ucfirst($column->status) }}

{{ $column->applications_count }}
@else

{{ mb_ucfirst($column->status) }}

{{ $column->applications_count }} @if ($addApplicationPermission == 'all' || $addApplicationPermission == 'added' || $addStatusPermission == 'all') @endif
@forelse ($column['applications'] as $application) @empty @if ($column->applications_count == 0)

@if ($addApplicationPermission == 'all' || $addApplicationPermission == 'added') @lang('app.add') @lang('recruit::app.menu.jobApplication') @else

- @lang('messages.noRecordFound') -
@endif

@endif @endforelse
@if ($column->applications_count > count($column['applications'])) @endif
@endif @endforeach