{{__('Application list')}}
*{{__('Please ensure that all documents uploaded are colour scanned, accurate and complete')}}
@php if (empty($fileTypes) || !is_iterable($fileTypes)) { $fileTypes = []; } if (empty($documents) || !is_iterable($documents)) { $documents = []; } $columnsCount = (count($fileTypes) === 0) ? 1 : ceil(count($fileTypes) / 2); $index = 1; @endphp @foreach(array_chunk($fileTypes, $columnsCount, true) as $column)
@foreach($column as $key => $fileType)
{{$index++}}. {!! $fileType !!}
@php( /** * @var int $fileType */ $note = 'document-' . $key . '-note' ) @if(($noteText = __($note)) !== $note)
{{$noteText}}
@endif
@if(!empty($documents[$key]))
@include('document_upload.document_upload_tabs.shared.files', [ 'files' => $documents[$key], 'deleteDocuments' => true, 'key' => $key ])
@endif
@endforeach
@endforeach