@extends('admin.layouts.index') @section('title', 'Halaman Admin SI PeSSUT') @section('judul', 'Posyandu') @section('subjudul', 'Halaman Posyandu') @section('konten')
Data Posyandu Balita
    @if (Auth::user()->Group->nama != 'Posyandu Kecamatan' && Auth::user()->Group->nama != 'Posyandu Kelurahan')
  • Tambah Data
  • @endif @if(isset($id_kelurahan) && !isset($from) && !isset($to))
  • @elseif(isset($from) && isset($to))
  • @else
  • @endif
{{-- {!! Form::open(['route' => 'admin.posyandu.balita.index','class' => 'form-inline mb-2','method' => 'GET']) !!} {!! Form::hidden('id', $id) !!}
{!! 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)
*Catatan Laporan Pada Tahun {{ date('Y') }}
    @foreach (\Helper::catatanUntukPosyanduBalita($id) as $item)
  1. {{ $item }}
  2. @endforeach
@endif
@endsection @push('scripts') {{$dataTable->scripts()}} @endpush