Rekap Kegiatan Siswa pada tahun {{$tahun_get}}

No.Identitas : {{$siswa->no_identitas}}

Nama : {{$siswa->nama_siswa}}

Target Aktifitas Harian

@php $tercapai = []; $belum_tercapai = []; @endphp @foreach ($keseluruhan_bulan as $index => $b) @php $bulan = explode('-',$b->month); $tercapai[] = 0; $belum_tercapai[] = 0; foreach ($keseluruhan_target_tercapai as $c) { if ($bulan[0] == $c->month) { $tercapai[$index] = $c->count; } } foreach ($keseluruhan_belum_target_tercapai as $c) { if ($bulan[0] == $c->month) { $belum_tercapai[$index] = $c->count; } } @endphp @endforeach @foreach ($tercapai as $b) @endforeach @foreach ($belum_tercapai as $b) @endforeach
{{$bulan[1]}}
Target Tercapai{{$b}}
Belum Tercapai{{$b}}
Total Target Tercapai : {{ array_sum($tercapai)}}
Total Target Belum Tercapai : {{ array_sum($belum_tercapai)}}

Target CAT

@php $tercapai = []; $belum_tercapai = []; @endphp @foreach ($CATChart as $c) @endforeach {{-- @foreach ($keseluruhan_bulan as $index => $b) @php $bulan = explode('-',$b->month); $tercapai[] = 0; $belum_tercapai[] = 0; foreach ($keseluruhan_target_tercapai as $c) { if ($bulan[0] == $c->month) { $tercapai[$index] = $c->count; } } foreach ($keseluruhan_belum_target_tercapai as $c) { if ($bulan[0] == $c->month) { $belum_tercapai[$index] = $c->count; } } @endphp @endforeach --}} @foreach ($CATChart as $c) @endforeach @foreach ($CATChart as $c) @endforeach @foreach ($CATChart as $c) @endforeach @foreach ($CATChart as $c) @endforeach @foreach ($CATChart as $c) @endforeach @foreach ($CATChart as $c) @endforeach {{-- @foreach ($tercapai as $b) @endforeach @foreach ($belum_tercapai as $b) @endforeach --}}
{{$c['bulan']}}{{$bulan[1]}}
TWK Belum Tercapai{{$c['twk_tidak_tercapai']}}
TWK Tercapai{{$c['twk_tercapai']}}
Total TWK Belum Tercapai : {{ $TotalChart[0]["twk_tidak_tercapai"]}}
Total TWK Tercapai : {{ $TotalChart[0]["twk_tercapai"] }}
TIU Belum Tercapai{{$c['tiu_tidak_tercapai']}}
TIU Tercapai{{$c['tiu_tercapai']}}
Total TIU Belum Tercapai : {{ $TotalChart[0]["tiu_tidak_tercapai"]}}
Total TIU Tercapai : {{ $TotalChart[0]["tiu_tercapai"] }}
TKP Belum Tercapai{{$c['tkp_tidak_tercapai']}}
TKP Tercapai{{$c['tkp_tercapai']}}
Total TKP Belum Tercapai : {{ $TotalChart[0]["tkp_tidak_tercapai"]}}
Total TKP Tercapai : {{ $TotalChart[0]["tkp_tercapai"] }}
Target Tercapai{{$b}}
Belum Tercapai{{$b}}
Total Target Tercapai : {{ array_sum($tercapai)}}
Total Target Belum Tercapai : {{ array_sum($belum_tercapai)}}

Hasil dari Ujian CAT

Penilaian
TWK
dibawah 100 = merah
100 - 109 = kuning
110 keatas = hijau
TIU
dibawah 100 = merah
100 - 109 = kuning
110 keatas = hijau
TKP
dibawah 200 = merah
200 - 209 = kuning
210 = hijau
@php $key = array_keys($cat); // dd($key); @endphp @if ($key[0] == "error") @else @foreach($cat as $a) @endforeach @endif
Tanggal Mulai Tanggal Selesai TWK TIU TKP TOTAL
Belum Melaksanakan Ujian CAT
{{$a['mulai']}} {{$a['selesai']}} {{$a['twk']}} {{$a['tiu']}} {{$a['tkp']}} {{ intval($a['total']) }}

Detail Kegiatan

@foreach ($jadwal as $a) @foreach ($a->target_capaian as $b) @endforeach @endforeach
Kegiatan Nama Siswa Petugas Lokasi Tanggal Mulai Tanggal Akhir Notes
{{$a->kegiatan}} {{$a->user->siswa->nama_siswa}} {{$a->petugas->nama_petugas}} {{$a->location}} {{ date($a->all_day == 1 ? 'd F Y' : 'd F Y h:i:s', strtotime($a->start)) }} {{ date($a->all_day == 1 ? 'd F Y' : 'd F Y h:i:s', strtotime($a->ends)) }} {{ $a->notes == null ? '-' : $a->notes }}
Tanggal Waktu Awal Waktu Akhir Status Feedback Orang Tua
{{date('d, F Y', strtotime($b->tanggal))}} {{date('h:i A', strtotime($b->waktu_awal))}} {{date('h:i A', strtotime($b->waktu_akhir))}} {{$b->capaian == "0" ? "Belum Tercapai" : "Sudah Tercapai"}} {{$b->feedback_orang_tua == "" ? "-" : $b->feedback_orang_tua}}