Document Upload Document Upload
@csrf

Upload Documents

    @foreach ($pandal_documents as $pandal_document) @php $documentExists = $exist_documents->firstWhere( 'pandal_document_id', $pandal_document->id, ); @endphp
  • {{ $pandal_document->document }}   @if ($pandal_document->is_mandatory == 1) * @endif

    @if ($documentExists) View Document @if ($documentExists->pandal_from->status_id < 3) @error('documents.' . $loop->index . '.file')
    {{ $message }}
    @enderror @endif @else is_mandatory == '1' ? 'required' : '' }} aria-required="true"> @error('documents.' . $loop->index . '.file')
    {{ $message }}
    @enderror @endif
  • @endforeach
@if ($documentExists) @if ($documentExists->pandal_from->status_id < 3) @endif @else @endif