@extends('layouts.frontend.master') @section('content')
@php $anim_sequence = 2; @endphp
@foreach ($jabatan->pengurus() as $body) @if ($body->list) @foreach ($body->pejabat as $key => $pejabat) @if ($key != 0) @endif @endforeach @else @endif @endforeach
{{ ucwords(strtolower($body->jabatan->nama)) }} : @if (isset($body->pejabat[0])) @php $pejabat = $body->pejabat[0]; $url = $pejabat->penduduk->user->username ? url($pejabat->penduduk->user->username) : route('penduduk.id', $pejabat->penduduk->id); @endphp {{ ucwords(strtolower($pejabat->penduduk->nama)) }} @endif
: @php $url = $pejabat->penduduk->user->username ? url($pejabat->penduduk->user->username) : route('penduduk.id', $pejabat->penduduk->id); @endphp {{ ucwords(strtolower($pejabat->penduduk->nama)) }}
{{ ucwords(strtolower($body->jabatan->nama)) }} : @php $pejabat = $body->pejabat; $url = $pejabat->penduduk->user->username ? url($pejabat->penduduk->user->username) : route('penduduk.id', $pejabat->penduduk->id); @endphp {{ ucwords(strtolower($pejabat->penduduk->nama)) }}
@if ($jabatan->visi)

Visi

{!! $jabatan->visi !!}

@endif @if ($jabatan->misi)

Visi

{!! $jabatan->misi !!}

@endif @if ($jabatan->slogan)

Slogan

{!! $jabatan->slogan !!}

@endif
@endsection