@extends('layouts.dashboard') @section('title', 'RT '.$rt->rt_nomor.'/RW '.$rt->rw->rw_nomor.', '.$rt->lurah->lurah_nama.' | Monitoring Kelurahan') @section('dashboard_content') @if(Auth::user()->role == 'Admin' || Auth::user()->role == 'Camat' || Auth::user()->role == 'Lurah' || Auth::user()->role == 'RW') @endif
@if(session('status'))
{{session('status')}}
@endif

RT {{$rt->rt_nomor}}/RW {{$rt->rw->rw_nomor}}, {{$rt->lurah->lurah_nama}}

@if($rt->ketua_rt_latitude == 0 || $rt->ketua_rt_longitude == 0)
Rumah RT Belum Ditambahkan
@else
@endif

Profil RT

user->user_foto == null) style="background-image: url({{asset('/images/dashboard/avatar-null.png')}}); background-size: 125px; background-position: center 50px; background-repeat: no-repeat;" @else style="background: url({{asset('storage/images/users/'.$rt->user->user_foto)}});background-size: cover; background-position: center; background-repeat: no-repeat;" @endif>

Username: {{$rt->user->username}}

NIK: {{$rt->user->nik}} @if(Auth::user()->role == 'Admin' || Auth::user()->role == 'RT') @endif

Ketua RT: {{$rt->user->name}} @if(Auth::user()->role == 'Admin' || Auth::user()->role == 'RT') @endif

Sekretaris RT: {{$rt->rt_sekretaris}} @if(Auth::user()->role == 'Admin' || Auth::user()->role == 'RT') @if($rt->rt_sekretaris == null) Sekretaris Belum Ditambahkan @else @endif @endif

Bendahara RT: {{$rt->rt_bendahara}} @if(Auth::user()->role == 'Admin' || Auth::user()->role == 'RT') @if($rt->rt_bendahara == null) Bendahara Belum Ditambahkan @else @endif @endif

Rumah Ketua RT: {{$rt->ketua_rt_latitude}} / {{$rt->ketua_rt_longitude}} @if(Auth::user()->role == 'Admin' || Auth::user()->role == 'RT') @endif

Email: @if($rt->user->email == null || $rt->user->email_status == 'Null') Email Belum Ditambahkan @elseif($rt->user->email_status == 'Not Verified') {{$rt->user->email}} @else {{$rt->user->email}} @endif

Total KK : {{$rt->rt_kk}}

Total Bangunan : {{$rt->rt_bangunan}}

Total Warga : {{$rt->rt_warga}}

Total Aspal : {{$rt->aspal->count()}}

Total Cermin : {{$rt->cermin->count()}}

Total PJU : {{$rt->pju->count()}}

Total Saluran Terbuka : {{$rt->saluranTerbuka->count()}}

Total Saluran Tertutup : {{$rt->saluranTertutup->count()}}

Fasilitas

Aspal

Cermin

Penerangan Jalan Umum

Saluran Terbuka

Saluran Terututup

@endsection @section('jsExternalAdd') @if(Auth::user()->role == "Admin") @endif @include('layouts.mapsJS.homeRtJS') @endsection