@extends('templates.dashboard') @section('isi')

{{ $title }}

@if (count($rapats) <= 0) @else @foreach ($rapats as $key => $rapat) @endforeach @endif
No. Nama Pertemuaan Tanggal Jam Mulai Jam Selesai Lokasi Detail Pertemuan Jenis Pertemuan Peserta Notulen Actions
Tidak Ada Data
{{ ($rapats->currentpage() - 1) * $rapats->perpage() + $key + 1 }}. {{ $rapat->nama ?? '-' }} @if ($rapat->tanggal) @php Carbon\Carbon::setLocale('id'); $tanggal = Carbon\Carbon::createFromFormat('Y-m-d', $rapat->tanggal); $new_tanggal = $tanggal->translatedFormat('d F Y'); @endphp {{ $new_tanggal }} @else - @endif {{ $rapat->jam_mulai ?? '-' }} {{ $rapat->jam_selesai ?? '-' }} {{ $rapat->lokasi ?? '-' }} {!! $rapat->detail ? nl2br(e($rapat->detail)) : '-' !!} {{ $rapat->jenis ?? '-' }} @if (count($rapat->pegawai) > 0) @foreach ($rapat->pegawai as $pegawai) @if ($pegawai->status == "Hadir") {{ $pegawai->user->name ?? '-' }} {{ $pegawai->status ?? '-' }} @else {{ $pegawai->user->name ?? '-' }} {{ $pegawai->status ?? '-' }} @endif
@if ($pegawai->hadir) @php Carbon\Carbon::setLocale('id'); $hadir = Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $pegawai->hadir); $new_hadir = $hadir->translatedFormat('l, d F Y H:i:s'); @endphp {{ $new_hadir }} @else - @endif @if (!$loop->last)
@endif @endforeach @else - @endif
@if (count($rapat->notulen) > 0) @foreach ($rapat->notulen as $notulen) {{ $loop->iteration }} {{ $notulen->notulen }}
@endforeach @else - @endif
@if (now()->format('Y-m-d H:i') < $rapat->tanggal . ' ' . $rapat->jam_mulai)
  • @method('delete') @csrf
@endif
{{ $rapats->links() }}

@push('script') @endpush @endsection