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

Kelurahan {{$lurah->lurah_nama}}

@if( $lurah->kantor_lurah_latitude == 0 || $lurah->kantor_lurah_longitude == 0)
Kantor Lurah Belum Ditambahkan
@else
@endif

Profil Lurah

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

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

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

Lurah: {{$lurah->user->name}} @if(Auth::user()->role == 'Admin' || Auth::user()->role == 'Camat' || Auth::user()->role == 'Lurah') @endif

Sekretaris: {{$lurah->lurah_sekretaris}} @if(Auth::user()->role == 'Admin' || Auth::user()->role == 'Camat' || Auth::user()->role == 'Lurah') @if($lurah->lurah_sekretaris == null) Sekretaris Belum Ditambahkan @else @endif @endif

Kasi Pemerintahan: {{$lurah->lurah_kasie_pemerintahan}} @if(Auth::user()->role == 'Admin' || Auth::user()->role == 'Camat' || Auth::user()->role == 'Lurah') @if($lurah->lurah_kasie_pemerintahan == null) Kasi Lurah Belum Ditambahkan @else @endif @endif

Kantor Lurah: {{$lurah->kantor_lurah_latitude}} / {{$lurah->kantor_lurah_longitude}} @if(Auth::user()->role == 'Admin' || Auth::user()->role == 'Camat' || Auth::user()->role == 'Lurah') @endif

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

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