@extends('layouts.main') @section('css') @endsection @section('breadcrumb') @endsection @section('content')
@foreach ($kegiatans as $key => $kegiatan) @endforeach
{{-- Histori Verifikasi Kegiatan --}}
@include('components.datatable-header', [ 'title' => 'Histori Verifikasi', 'description' => 'Riwayat aktivitas verifikasi seluruh anggota kegiatan ini', ])
No. Nama Pelaksana Verifikator Aktivitas Waktu
@endsection @section('modal') {{-- Konfirmasi Terima --}} {{-- Konfirmasi Batalkan --}} @endsection @section('js') @php $anyHasLaporanSyarat = collect($kegiatans)->some(function ($kegiatan) { $anggota = $kegiatan['anggota'] ?? collect(); if ($anggota->isEmpty()) { return false; } $first = $anggota->first(); return isset($first->rubrik->syarats) && $first->rubrik->syarats->whereIn('nama', ['laporan kegiatan'])->count() > 0; }); @endphp @endsection