Registrar Document Vault

Google Drive-style file storage for Junior High School & Senior High School

Export DepEd LIS
{{-- Breadcrumb Navigation Bar --}}
Main Vault @if($selectedLabel) / {{ $selectedLabel }} @endif
@if($folder) ← Back to all folders @endif
@if(!$folder) {{-- SECTION 1: Junior High School Grade Folders (Grades 7–10) --}}

Junior High School File Storage (Grades 7–10)

Separated Google Drive-like folders per grade level

@foreach($jhsFolders as $gKey => $gLabel) @php $appIds = \App\Models\Application::where('grade_level_to_enroll', $gKey)->pluck('id'); $fileCount = \App\Models\Document::whereIn('application_id', $appIds)->count(); @endphp
→

{{ $gLabel }}

{{ $fileCount }} documents stored

@endforeach
{{-- SECTION 2: Senior High School Strand Folders --}}

Senior High School Strand File Storage (SHS)

Separated storage areas automatically organized by strand

@foreach($shsFolders as $sKey => $sLabel) @php $appIds = \App\Models\Application::where('strand', 'like', "%{$sKey}%")->pluck('id'); $fileCount = \App\Models\Document::whereIn('application_id', $appIds)->count(); @endphp
→

{{ $sLabel }}

{{ $fileCount }} documents stored

@endforeach
@else {{-- FOLDER CONTENT VIEW (Student Files inside selected grade/strand) --}}

{{ $selectedLabel }}

Student enrollment attachments: PSA Birth Certificate, SF10, and Other documents

{{ $documents->count() }} Files Found
@if($documents->isEmpty())

This folder is currently empty.

No student documents have been submitted to this section yet.

@else
@foreach($documents as $doc)
{{ $doc->document_type?->label() ?? ucfirst(str_replace('_', ' ', $doc->document_type?->value ?? 'Requirement')) }} @if($doc->is_verified) Verified @else Pending @endif

{{ $doc->original_filename }}

@if($doc->application)

Learner: {{ $doc->application->last_name }}, {{ $doc->application->first_name }}

LRN: {{ $doc->application->lrn ?? 'N/A' }}

@endif
Download @if($doc->application) Review Learner → @endif
@endforeach
@endif
@endif