@extends('admin.layouts.index') @section('judul', 'Beranda') @section('subjudul', 'Selamat datang!') @section('konten')
@if(Auth::user()->Group->nama == 'Posyandu Kecamatan' || Auth::user()->Group->nama == 'Posyandu Kelurahan')

@if(Auth::user()->Group->nama == 'Posyandu Kecamatan') Kecamatan, {{ Auth::user()->kecamatan->nama_vertikal }} @elseif(Auth::user()->Group->nama == 'Posyandu Kelurahan') Kelurahan, {{ @Auth::user()->kelurahan->keterangan_kelurahan }} @endif

@endif @if( Auth::user()->Group->nama == 'Posyandu Lansia' || Auth::user()->Group->nama == 'Posyandu Balita' || Auth::user()->Group->nama == 'Admin Posyandu' || Auth::user()->Group->nama == 'Posyandu Kecamatan'|| Auth::user()->Group->nama == 'Posyandu Kelurahan'|| Auth::user()->Group->nama == 'Administrator' )
@if( Auth::user()->Group->nama != 'Posyandu Lansia' ) @endif @if( Auth::user()->Group->nama != 'Posyandu Balita' ) @endif
@if( Auth::user()->Group->nama == 'Admin Posyandu' || Auth::user()->Group->nama == 'Posyandu Kecamatan'|| Auth::user()->Group->nama == 'Posyandu Kelurahan'|| Auth::user()->Group->nama == 'Administrator' ) @endif
@if( Auth::user()->Group->nama == 'Admin Posyandu' || Auth::user()->Group->nama == 'Posyandu Kecamatan'|| Auth::user()->Group->nama == 'Posyandu Kelurahan'|| Auth::user()->Group->nama == 'Administrator' )
Grafik Posyandu Lansia
@endif
@if( Auth::user()->Group->nama == 'Admin Posyandu' || Auth::user()->Group->nama == 'Posyandu Kecamatan'|| Auth::user()->Group->nama == 'Posyandu Kelurahan'|| Auth::user()->Group->nama == 'Administrator' )
Grafik Posyandu Balita
@endif @endif @if( Auth::user()->Group->nama != 'Posyandu Balita' && Auth::user()->Group->nama != 'Posyandu Lansia')
Log User
@foreach ($userLogs as $data) @endforeach
No User Keterangan
{{ $loop->iteration }} @if( is_numeric($data->user->nama) ) @if($data->user->group_id == '5' || $data->user->group_id == '6') {!! Helper::namaPosyandu($data->user->nama) !!} @else {{ $data->user->nama }} @endif @else {{ $data->user->nama }} @endif {{ $data->keterangan }}
@endif
@endsection @push('scripts') {{-- --}} @endpush