@extends('layouts.pembina') @section('title', 'Edit Pertemuan ' . $pertemuan->pertemuan_ke) @section('content')
Edit Pertemuan {{ $pertemuan->pertemuan_ke }}
@csrf @method('PUT') {{-- Info Pertemuan --}}
@error('semester')
{{ $message }}
@enderror
@error('tahun_ajaran')
{{ $message }}
@enderror
{{-- Foto yang Sudah Ada --}} @if ($pertemuan->fotoKegiatan->isNotEmpty())
@foreach ($pertemuan->fotoKegiatan as $foto)
@if ($foto->keterangan) {{ $foto->keterangan }} @endif
@endforeach
@endif {{-- Upload Foto Baru --}}
Format: JPG, PNG, WEBP. Maks: 5MB per file.

{{-- Daftar Absensi --}}
Daftar Absensi Anggota
@foreach ($anggota as $member) @php $currentStatus = $absensiMap[$member->id] ?? 'alfa'; @endphp @foreach (['hadir', 'izin', 'sakit', 'alfa'] as $status) @endforeach @endforeach
No Nama Anggota Kelas Hadir Izin Sakit Alfa
{{ $loop->iteration }} {{ $member->nama }} {{ $member->kelas ?? '-' }}
id}", $currentStatus) === $status ? 'checked' : '' }} required>
Batal
@endsection @section('scripts') @endsection