@foreach($reports as $report)
RAPOR PROYEK PENGUATAN
PROFIL PELAJAR PANCASILA
Nama Sekolah : {{ isset($branch) ? $branch->name : ($project->class->branch->name ?? 'SD Muhammadiyah 2 Bontang') }} Kelas : {{ $project->class->name ?? '-' }}
Alamat Sekolah : {{ isset($branch) ? $branch->address : ($project->class->branch->address ?? 'Jl. Bandung 4 Rt. 88') }} Fase : {{ $project->fase ?? '-' }}
Nama Siswa : {{ $report['student']->full_name }} TA : {{ $project->period->name ?? '-' }}
NISN : {{ $report['student']->nis ?? '-' }}
PROYEK 1 {{ $project->title }}
{{ $project->description ?: 'Tidak ada deskripsi.' }}
@foreach($report['dimensions'] as $dim) @foreach($dim['elements'] as $element) @endforeach @endforeach
{{ $project->title }} BB MB BSH SB
{{ $dim['name'] }}
{{ $element['name'] }}
{{ $element['description'] }}
{!! $element['score'] === 'BB' ? 'v' : '' !!} {!! $element['score'] === 'MB' ? 'v' : '' !!} {!! $element['score'] === 'BSH' ? 'v' : '' !!} {!! $element['score'] === 'SB' ? 'v' : '' !!}
@endforeach