@extends('layouts.header_dashboard_siswa') @section('title', 'Berkas Siswa') @section('content')
@if(session('success'))

{{ session('success') }}

@endif

Berkas Pendaftaran

@php $berkaspendaftaranList = [ 'Fotocopy KTP', 'Fotocopy KTP Orang Tua/Wali', 'Fotocopy Ijasah SD', 'Fotocopy Ijasah SMP', 'Fotocopy Ijasah SMA', 'Fotocopy Akte Kelahiran', 'Fotocopy KK', 'Foto 3x4 (2 lembar)', 'Foto 2x3 (2 lembar)', 'Form Pendaftaran', 'Surat Pernyataan Siswa Baru', ]; @endphp @foreach($berkaspendaftaranList as $item) @php $uploaded = $berkasPendaftaran->get($item); @endphp

{{ $item }}

@if($uploaded)

Diupload: {{ $uploaded->uploaded_at->format('d/m/Y H:i') }}

@endif
@if($uploaded) @if($uploaded->status == 'approved') Disetujui @elseif($uploaded->status == 'rejected') Ditolak @else Pending @endif @else @endif
@endforeach

Berkas Seleksi

@php $berkasseleksiList = [ 'Rapot Asli', 'KK Asli', 'Akte Asli', 'Ijasah SD Asli', 'Ijasah SMP Asli', 'Ijasah SMA Asli', 'SKCK Asli', 'AK 1', 'Foto Keluarga', 'Surat Rekomendasi Disnaker', 'Form Pernyataan Magang', 'Form Belum Pernah Ikut Magang', 'Surat Izin Orang Tua/Wali', 'Surat Rekomendasi RT/RW', ]; @endphp @foreach($berkasseleksiList as $item) @php $uploaded = $berkasSeleksi->get($item); @endphp

{{ $item }}

@if($uploaded)

Diupload: {{ $uploaded->uploaded_at->format('d/m/Y H:i') }}

@endif
@if($uploaded) @if($uploaded->status == 'approved') Disetujui @elseif($uploaded->status == 'rejected') Ditolak @else Pending @endif @else @endif
@endforeach
@endsection