@extends('admin.layouts.index') @section('title', 'Halaman Admin SI PeSSUT') @section('judul', 'Posyandu') @section('subjudul', 'Halaman Posyandu') @section('konten')
Data Posyandu Lansia
    @if (Auth::user()->Group->nama != 'Posyandu Kecamatan' && Auth::user()->Group->nama != 'Posyandu Kelurahan')
  • Tambah Data
  • @endif
{!! Form::open(['route' => 'admin.posyandu.lansia.index','class' => 'form-inline','method' => 'GET']) !!}
{!! Form::hidden('id', $id, ['class' => 'form-control']) !!}
{!! Form::date('from', $from, ['class' => 'form-control']) !!}
{!! Form::date('to', $to, ['class' => 'form-control']) !!}
@if ($id == 'all')
@endif {!! Form::submit('Cari', ['class' => 'btn btn-success mr-1']) !!}
{!! Form::close() !!}
{{$dataTable->table()}}
@if($id != 'all' && $id) {{-- {{ dd(\Helper::catatanUntukPosyanduLansia($id)) }} --}}
*Catatan Laporan Pada Tahun {{ date('Y') }}
    @foreach (\Helper::catatanUntukPosyanduLansia($id) as $item)
  1. {{ $item }}
  2. @endforeach
@endif
@endsection @push('scripts') {{$dataTable->scripts()}} @endpush