@php $no = 1; @endphp @if(!empty($anggota)) @foreach ($anggota as $row) @php $no++; @endphp @endforeach @endif
# NIK Nama Inisial Tanggal Daftar Home Base Status
{{ $no }} {{ $row->nik }} {{ $row->nama }} {{ $row->inisial }} {{ date('d-m-Y', strtotime($row->tgl_daftar)) }} {{ $row->homebase }} @if($row->status == '1') {{ 'Aktif' }} @else {{ 'Non Aktif' }} @endif