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

RW {{$rw->rw_nomor}}, {{$rw->lurah->lurah_nama}}

@if($rw->kantor_rw_latitude == 0 || $rw->kantor_rw_longitude == 0)
Kantor Lurah Belum Ditambahkan
@else
@endif

Profil RW

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/'.$rw->user->user_foto)}});background-size: cover; background-position: center; background-repeat: no-repeat;" @endif>

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

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

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

Sekretaris RW: {{$rw->rw_sekretaris}} @if(Auth::user()->role == 'Admin' || Auth::user()->role == 'RW') @if($rw->rw_sekretaris == null) Sekretaris Belum Ditambahkan @else @endif @endif

Bendahara RW: {{$rw->rw_bendahara}} @if(Auth::user()->role == 'Admin' || Auth::user()->role == 'RW') @if($rw->rw_bendahara == null) Bendahara Belum Ditambahkan @else @endif @endif

Kantor RW: {{$rw->kantor_rw_latitude}} / {{$rw->kantor_rw_longitude}} @if(Auth::user()->role == 'Admin' || Auth::user()->role == 'RW') @endif

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

@endsection @section('jsExternalAdd') @if(Auth::user()->role == 'Admin' || Auth::user()->role == 'Camat') @endif @endsection