@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' )
@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
@endif
@if( Auth::user()->Group->nama != 'Posyandu Balita' && Auth::user()->Group->nama != 'Posyandu Lansia')
Log User
No |
User |
Keterangan |
@foreach ($userLogs as $data)
{{ $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 }} |
@endforeach
@endif