
<div class="header-navbar-shadow"></div>
<nav class="header-navbar main-header-navbar navbar-expand-lg navbar navbar-with-menu 
<?php if(isset($configData['navbarType'])): ?><?php echo e($configData['navbarClass']); ?> <?php endif; ?>" 
data-bgcolor="<?php if(isset($configData['navbarBgColor'])): ?><?php echo e($configData['navbarBgColor']); ?><?php endif; ?>">
  <div class="navbar-wrapper">
    <div class="navbar-container content">
      <div class="navbar-collapse" id="navbar-mobile">
        <div class="mr-auto float-left bookmark-wrapper d-flex align-items-center">
          <ul class="nav navbar-nav">
            <li class="nav-item mobile-menu d-xl-none mr-auto"><a class="nav-link nav-menu-main menu-toggle hidden-xs" href="#"><i class="ficon bx bx-menu"></i></a></li>
          </ul>
          <!-- <ul class="nav navbar-nav bookmark-icons">
            <li class="nav-item d-none d-lg-block"><a class="nav-link" href="<?php echo e(asset('app-email')); ?>" data-toggle="tooltip" data-placement="top" title="Email"><i class="ficon bx bx-envelope"></i></a></li>
            <li class="nav-item d-none d-lg-block"><a class="nav-link" href="<?php echo e(asset('app-chat')); ?>" data-toggle="tooltip" data-placement="top" title="Chat"><i class="ficon bx bx-chat"></i></a></li>
            <li class="nav-item d-none d-lg-block"><a class="nav-link" href="<?php echo e(asset('app-todo')); ?>" data-toggle="tooltip" data-placement="top" title="Todo"><i class="ficon bx bx-check-circle"></i></a></li>
            <li class="nav-item d-none d-lg-block"><a class="nav-link" href="<?php echo e(asset('app-calendar')); ?>" data-toggle="tooltip" data-placement="top" title="Calendar"><i class="ficon bx bx-calendar-alt"></i></a></li>
          </ul>
          <ul class="nav navbar-nav">
            <li class="nav-item d-none d-lg-block"><a class="nav-link bookmark-star"><i class="ficon bx bx-star warning"></i></a>
              <div class="bookmark-input search-input">
                <div class="bookmark-input-icon"><i class="bx bx-search primary"></i></div>
                <input class="form-control input" type="text" placeholder="Explore Frest..." tabindex="0" data-search="template-search">
                <ul class="search-list"></ul>
              </div>
            </li>
          </ul> -->
        </div>
        <ul class="nav navbar-nav float-right">
          <li class="nav-item d-none d-lg-block"><a class="nav-link nav-link-expand"><i class="ficon bx bx-fullscreen"></i></a></li>
          <li class="nav-item nav-search"><a class="nav-link nav-link-search"><i class="ficon bx bx-search"></i></a>
            <div class="search-input">
              <div class="search-input-icon"><i class="bx bx-search primary"></i></div>
              <input class="input" type="text" placeholder="Explore Frest..." tabindex="-1" data-search="template-search">
              <div class="search-input-close"><i class="bx bx-x"></i></div>
              <ul class="search-list"></ul>
            </div>
          </li>
          <li class="dropdown dropdown-notification nav-item"><a class="nav-link nav-link-label" href="#" data-toggle="dropdown"><i class="ficon bx bx-bell bx-tada bx-flip-horizontal"></i><span class="badge badge-pill badge-danger badge-up"><?php echo e(count(auth()->user()->unreadNotifications)); ?></span></a>
            <ul class="dropdown-menu dropdown-menu-media dropdown-menu-right">
              <li class="dropdown-menu-header">
                <div class="dropdown-header px-1 py-75 text-center"><span class="notification-title"><?php echo e(count(auth()->user()->unreadNotifications)); ?> notifikasi baru.</span></div>
              </li>
              <li class="scrollable-container media-list">
                
                  <?php $__currentLoopData = auth()->user()->unreadNotifications; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $notification): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php if($notification->data['type'] == 'registrasi'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('user.index')); ?>">
                    <?php endif; ?> 
                    <?php if($notification->data['type'] == 'aktivasi'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('profil.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'sktm'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('sktm.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'sktmaccstaff'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('sktm.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'sktmacclurah'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('sktm.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'sktmacccetak'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('sktm.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skd'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skd.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skdaccstaff'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skd.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skdacclurah'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skd.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skdacccetak'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skd.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'spk'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('spk.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'spkaccstaff'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('spk.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'spkacclurah'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('spk.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'spkacccetak'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('spk.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skdu'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skdu.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skduaccstaff'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skdu.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skduacclurah'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skdu.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skduacccetak'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skdu.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skbpm'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skbpm.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skbpmaccstaff'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skbpm.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skbpmacclurah'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skbpm.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skbpmacccetak'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skbpm.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skpd'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skpd.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skpdaccstaff'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skpd.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skpdacclurah'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skpd.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skpdacccetak'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skpd.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skl'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skl.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'sklaccstaff'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skl.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'sklacclurah'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skl.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'sklacccetak'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skl.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skkp'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skkp.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skkpaccstaff'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skkp.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skkpacclurah'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skkp.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skkpacccetak'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skkp.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skmb'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skmb.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skmbaccstaff'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skmb.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skmbacclurah'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skmb.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skmbacccetak'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skmb.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skjd'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skjd.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skjdaccstaff'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skjd.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skjdacclurah'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skjd.index')); ?>"> 
                    <?php endif; ?>
                    <?php if($notification->data['type'] == 'skjdacccetak'): ?>
                    <a class="d-flex justify-content-between cursor-pointer" href="<?php echo e(route('skjd.index')); ?>"> 
                    <?php endif; ?>
                      <div class="media d-flex align-items-center">
                        <?php if($notification->data['type'] == 'registrasi'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar mr-1 m-0"><img src="<?php echo e(asset('storage/Profil/default.png')); ?>" alt="avatar" height="39" width="39"></div>
                          </div>
                          <div class="media-body">
                            <h6 class="media-heading"><span class="text-bold-500"><?php echo e($notification->data['data']['name']); ?> </span> telah registrasi & perlu diaktivasi.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'aktivasi'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-primary bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-heart text-danger"></i></span></div>
                          </div>
                          <div class="media-body">
                            <h6 class="media-heading"><span class="text-bold-500">Selamat akun anda telah di aktivasi.</span> Silakan lengkapi profil Anda untuk mengakses layanan E-Surat.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'sktm'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-danger bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-danger"></i></span></div>
                          </div>
                          <div class="media-body">
                            <h6 class="media-heading"><span class="text-bold-500"><?php echo e($notification->data['user']['name']); ?></span> mengajukan permohonan Surat Keterangan Tidak Mampu.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'sktmaccstaff'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-warning bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-warning"></i></span></div>
                          </div>
                          <div class="media-body">
                          <?php if(auth()->check() && auth()->user()->hasRole('admin|lurah')): ?>
                            <h6 class="media-heading">Ada <span class="text-bold-500">Surat Keterangan Tidak Mampu</span> yang harus Anda ACC.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          <?php if(auth()->check() && auth()->user()->hasRole('warga')): ?>
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Tidak Mampu</span> Anda sudah di ACC Staff.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'sktmacclurah'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-info bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-info"></i></span></div>
                          </div>
                          <div class="media-body">
                          <?php if(auth()->check() && auth()->user()->hasRole('admin|staff')): ?>
                            <h6 class="media-heading">Ada <span class="text-bold-500">Surat Keterangan Tidak Mampu</span> yang sudah di ACC Lurah.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          <?php if(auth()->check() && auth()->user()->hasRole('warga')): ?>
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Tidak Mampu</span> Anda sudah di ACC Lurah.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'sktmacccetak'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-success bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-success"></i></span></div>
                          </div>
                          <div class="media-body">
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Tidak Mampu</span> Anda sudah dicetak dan sudah bisa diambil di kelurahan.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skd'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-danger bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-danger"></i></span></div>
                          </div>
                          <div class="media-body">
                            <h6 class="media-heading"><span class="text-bold-500"><?php echo e($notification->data['user']['name']); ?></span> mengajukan permohonan Surat Keterangan Domisili.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skdaccstaff'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-warning bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-warning"></i></span></div>
                          </div>
                          <div class="media-body">
                          <?php if(auth()->check() && auth()->user()->hasRole('admin|lurah')): ?>
                            <h6 class="media-heading">Ada <span class="text-bold-500">Surat Keterangan Domisili</span> yang harus Anda ACC.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          <?php if(auth()->check() && auth()->user()->hasRole('warga')): ?>
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Domisili</span> Anda sudah di ACC Staff.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skdacclurah'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-info bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-info"></i></span></div>
                          </div>
                          <div class="media-body">
                          <?php if(auth()->check() && auth()->user()->hasRole('admin|staff')): ?>
                            <h6 class="media-heading">Ada <span class="text-bold-500">Surat Keterangan Domisili</span> yang sudah di ACC Lurah.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          <?php if(auth()->check() && auth()->user()->hasRole('warga')): ?>
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Domisili</span> Anda sudah di ACC Lurah.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skdacccetak'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-success bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-success"></i></span></div>
                          </div>
                          <div class="media-body">
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Domisili</span> Anda sudah dicetak dan sudah bisa diambil di kelurahan.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'spk'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-danger bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-danger"></i></span></div>
                          </div>
                          <div class="media-body">
                            <h6 class="media-heading"><span class="text-bold-500"><?php echo e($notification->data['user']['name']); ?></span> mengajukan permohonan Surat Pengantar KTP & KK.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'spkaccstaff'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-warning bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-warning"></i></span></div>
                          </div>
                          <div class="media-body">
                          <?php if(auth()->check() && auth()->user()->hasRole('admin|lurah')): ?>
                            <h6 class="media-heading">Ada <span class="text-bold-500">Surat Pengantar KTP & KK</span> yang harus Anda ACC.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          <?php if(auth()->check() && auth()->user()->hasRole('warga')): ?>
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Pengantar KTP & KK</span> Anda sudah di ACC Staff.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'spkacclurah'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-info bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-info"></i></span></div>
                          </div>
                          <div class="media-body">
                          <?php if(auth()->check() && auth()->user()->hasRole('admin|staff')): ?>
                            <h6 class="media-heading">Ada <span class="text-bold-500">Surat Pengantar KTP & KK</span> yang sudah di ACC Lurah.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          <?php if(auth()->check() && auth()->user()->hasRole('warga')): ?>
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Pengantar KTP & KK</span> Anda sudah di ACC Lurah.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'spkacccetak'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-success bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-success"></i></span></div>
                          </div>
                          <div class="media-body">
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Pengantar KTP & KK</span> Anda sudah dicetak dan sudah bisa diambil di kelurahan.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skdu'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-danger bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-danger"></i></span></div>
                          </div>
                          <div class="media-body">
                            <h6 class="media-heading"><span class="text-bold-500"><?php echo e($notification->data['user']['name']); ?></span> mengajukan permohonan Surat Keterangan Domisili Usaha.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skduaccstaff'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-warning bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-warning"></i></span></div>
                          </div>
                          <div class="media-body">
                          <?php if(auth()->check() && auth()->user()->hasRole('admin|lurah')): ?>
                            <h6 class="media-heading">Ada <span class="text-bold-500">Surat Keterangan Domisili Usaha</span> yang harus Anda ACC.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          <?php if(auth()->check() && auth()->user()->hasRole('warga')): ?>
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Domisili Usaha</span> Anda sudah di ACC Staff.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skduacclurah'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-info bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-info"></i></span></div>
                          </div>
                          <div class="media-body">
                          <?php if(auth()->check() && auth()->user()->hasRole('admin|staff')): ?>
                            <h6 class="media-heading">Ada <span class="text-bold-500">Surat Keterangan Domisili Usaha</span> yang sudah di ACC Lurah.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          <?php if(auth()->check() && auth()->user()->hasRole('warga')): ?>
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Domisili Usaha</span> Anda sudah di ACC Lurah.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skduacccetak'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-success bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-success"></i></span></div>
                          </div>
                          <div class="media-body">
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Domisili Usaha</span> Anda sudah dicetak dan sudah bisa diambil di kelurahan.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skbpm'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-danger bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-danger"></i></span></div>
                          </div>
                          <div class="media-body">
                            <h6 class="media-heading"><span class="text-bold-500"><?php echo e($notification->data['user']['name']); ?></span> mengajukan permohonan Surat Keterangan Belum Pernah Menikah.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skbpmaccstaff'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-warning bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-warning"></i></span></div>
                          </div>
                          <div class="media-body">
                          <?php if(auth()->check() && auth()->user()->hasRole('admin|lurah')): ?>
                            <h6 class="media-heading">Ada <span class="text-bold-500">Surat Keterangan Belum Pernah Menikah</span> yang harus Anda ACC.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          <?php if(auth()->check() && auth()->user()->hasRole('warga')): ?>
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Belum Pernah Menikah</span> Anda sudah di ACC Staff.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skbpmacclurah'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-info bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-info"></i></span></div>
                          </div>
                          <div class="media-body">
                          <?php if(auth()->check() && auth()->user()->hasRole('admin|staff')): ?>
                            <h6 class="media-heading">Ada <span class="text-bold-500">Surat Keterangan Belum Pernah Menikah</span> yang sudah di ACC Lurah.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          <?php if(auth()->check() && auth()->user()->hasRole('warga')): ?>
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Belum Pernah Menikah</span> Anda sudah di ACC Lurah.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skbpmacccetak'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-success bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-success"></i></span></div>
                          </div>
                          <div class="media-body">
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Belum Pernah Menikah</span> Anda sudah dicetak dan sudah bisa diambil di kelurahan.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skpd'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-danger bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-danger"></i></span></div>
                          </div>
                          <div class="media-body">
                            <h6 class="media-heading"><span class="text-bold-500"><?php echo e($notification->data['user']['name']); ?></span> mengajukan permohonan Surat Keterangan Pindah Daerah.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skpdaccstaff'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-warning bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-warning"></i></span></div>
                          </div>
                          <div class="media-body">
                          <?php if(auth()->check() && auth()->user()->hasRole('admin|lurah')): ?>
                            <h6 class="media-heading">Ada <span class="text-bold-500">Surat Keterangan Pindah Daerah</span> yang harus Anda ACC.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          <?php if(auth()->check() && auth()->user()->hasRole('warga')): ?>
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Pindah Daerah</span> Anda sudah di ACC Staff.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skpdacclurah'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-info bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-info"></i></span></div>
                          </div>
                          <div class="media-body">
                          <?php if(auth()->check() && auth()->user()->hasRole('admin|staff')): ?>
                            <h6 class="media-heading">Ada <span class="text-bold-500">Surat Keterangan Pindah Daerah</span> yang sudah di ACC Lurah.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          <?php if(auth()->check() && auth()->user()->hasRole('warga')): ?>
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Pindah Daerah</span> Anda sudah di ACC Lurah.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skpdacccetak'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-success bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-success"></i></span></div>
                          </div>
                          <div class="media-body">
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Pindah Daerah</span> Anda sudah dicetak dan sudah bisa diambil di kelurahan.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skl'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-danger bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-danger"></i></span></div>
                          </div>
                          <div class="media-body">
                            <h6 class="media-heading"><span class="text-bold-500"><?php echo e($notification->data['user']['name']); ?></span> mengajukan permohonan Surat Keterangan Kelahiran.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'sklaccstaff'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-warning bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-warning"></i></span></div>
                          </div>
                          <div class="media-body">
                          <?php if(auth()->check() && auth()->user()->hasRole('admin|lurah')): ?>
                            <h6 class="media-heading">Ada <span class="text-bold-500">Surat Keterangan Kelahiran</span> yang harus Anda ACC.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          <?php if(auth()->check() && auth()->user()->hasRole('warga')): ?>
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Kelahiran</span> Anda sudah di ACC Staff.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'sklacclurah'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-info bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-info"></i></span></div>
                          </div>
                          <div class="media-body">
                          <?php if(auth()->check() && auth()->user()->hasRole('admin|staff')): ?>
                            <h6 class="media-heading">Ada <span class="text-bold-500">Surat Keterangan Kelahiran</span> yang sudah di ACC Lurah.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          <?php if(auth()->check() && auth()->user()->hasRole('warga')): ?>
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Kelahiran</span> Anda sudah di ACC Lurah.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'sklacccetak'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-success bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-success"></i></span></div>
                          </div>
                          <div class="media-body">
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Kelahiran</span> Anda sudah dicetak dan sudah bisa diambil di kelurahan.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skkp'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-danger bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-danger"></i></span></div>
                          </div>
                          <div class="media-body">
                            <h6 class="media-heading"><span class="text-bold-500"><?php echo e($notification->data['user']['name']); ?></span> mengajukan permohonan Surat Keterangan Kematian dan Pemakaman.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skkpaccstaff'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-warning bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-warning"></i></span></div>
                          </div>
                          <div class="media-body">
                          <?php if(auth()->check() && auth()->user()->hasRole('admin|lurah')): ?>
                            <h6 class="media-heading">Ada <span class="text-bold-500">Surat Keterangan Kematian dan Pemakaman</span> yang harus Anda ACC.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          <?php if(auth()->check() && auth()->user()->hasRole('warga')): ?>
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Kematian dan Pemakaman</span> Anda sudah di ACC Staff.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skkpacclurah'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-info bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-info"></i></span></div>
                          </div>
                          <div class="media-body">
                          <?php if(auth()->check() && auth()->user()->hasRole('admin|staff')): ?>
                            <h6 class="media-heading">Ada <span class="text-bold-500">Surat Keterangan Kematian dan Pemakaman</span> yang sudah di ACC Lurah.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          <?php if(auth()->check() && auth()->user()->hasRole('warga')): ?>
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Kematian dan Pemakaman</span> Anda sudah di ACC Lurah.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skkpacccetak'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-success bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-success"></i></span></div>
                          </div>
                          <div class="media-body">
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Kematian dan Pemakaman</span> Anda sudah dicetak dan sudah bisa diambil di kelurahan.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skmb'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-danger bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-danger"></i></span></div>
                          </div>
                          <div class="media-body">
                            <h6 class="media-heading"><span class="text-bold-500"><?php echo e($notification->data['user']['name']); ?></span> mengajukan permohonan Surat Keterangan Tidak Berada Ditempat.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skmbaccstaff'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-warning bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-warning"></i></span></div>
                          </div>
                          <div class="media-body">
                          <?php if(auth()->check() && auth()->user()->hasRole('admin|lurah')): ?>
                            <h6 class="media-heading">Ada <span class="text-bold-500">Surat Keterangan Tidak Berada Ditempat</span> yang harus Anda ACC.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          <?php if(auth()->check() && auth()->user()->hasRole('warga')): ?>
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Tidak Berada Ditempat</span> Anda sudah di ACC Staff.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skmbacclurah'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-info bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-info"></i></span></div>
                          </div>
                          <div class="media-body">
                          <?php if(auth()->check() && auth()->user()->hasRole('admin|staff')): ?>
                            <h6 class="media-heading">Ada <span class="text-bold-500">Surat Keterangan Tidak Berada Ditempat</span> yang sudah di ACC Lurah.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          <?php if(auth()->check() && auth()->user()->hasRole('warga')): ?>
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Tidak Berada Ditempat</span> Anda sudah di ACC Lurah.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skmbacccetak'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-success bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-success"></i></span></div>
                          </div>
                          <div class="media-body">
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Tidak Berada Ditempat</span> Anda sudah dicetak dan sudah bisa diambil di kelurahan.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skjd'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-danger bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-danger"></i></span></div>
                          </div>
                          <div class="media-body">
                            <h6 class="media-heading"><span class="text-bold-500"><?php echo e($notification->data['user']['name']); ?></span> mengajukan permohonan Surat Keterangan Janda/Duda.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skjdaccstaff'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-warning bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-warning"></i></span></div>
                          </div>
                          <div class="media-body">
                          <?php if(auth()->check() && auth()->user()->hasRole('admin|lurah')): ?>
                            <h6 class="media-heading">Ada <span class="text-bold-500">Surat Keterangan Janda/Duda</span> yang harus Anda ACC.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          <?php if(auth()->check() && auth()->user()->hasRole('warga')): ?>
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Janda/Duda</span> Anda sudah di ACC Staff.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skjdacclurah'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-info bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-info"></i></span></div>
                          </div>
                          <div class="media-body">
                          <?php if(auth()->check() && auth()->user()->hasRole('admin|staff')): ?>
                            <h6 class="media-heading">Ada <span class="text-bold-500">Surat Keterangan Janda/Duda</span> yang sudah di ACC Lurah.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          <?php if(auth()->check() && auth()->user()->hasRole('warga')): ?>
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Janda/Duda</span> Anda sudah di ACC Lurah.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          <?php endif; ?>
                          </div>
                        <?php endif; ?>
                        <?php if($notification->data['type'] == 'skjdacccetak'): ?>
                          <div class="media-left pr-0">
                            <div class="avatar bg-success bg-lighten-5 mr-1 m-0 p-25"><span class="avatar-content"><i class="bx bxs-file text-success"></i></span></div>
                          </div>
                          <div class="media-body">
                            <h6 class="media-heading">Permohonan <span class="text-bold-500">Surat Keterangan Janda/Duda</span> Anda sudah dicetak dan sudah bisa diambil di kelurahan.</h6><small class="notification-text"><?php echo e($notification->created_at->diffForHumans()); ?></small>
                          </div>
                        <?php endif; ?>
                      </div>
                    </a>
                  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                  <?php if( count(auth()->user()->unreadNotifications) < 1 ): ?>
                    <a class="d-flex justify-content-between" href="#">
                      <div class="media d-flex align-items-center">
                        <div class="media-body text-center">
                          <p class="notification-text" style="font-size: inherit">Tidak ada notifikasi.</p>
                        </div>
                      </div>
                    </a>
                  <?php endif; ?>
              </li>
              <?php if( count(auth()->user()->unreadNotifications) > 0 ): ?>
                <li class="dropdown-menu-footer"><a class="dropdown-item p-50 text-primary justify-content-center"  id="markasread" href="#" onclick="markNotificationAsRead()">Tandai semua notifikasi telah dibaca</a></li>
              <?php endif; ?>
            </ul>
          </li>
          <li class="dropdown dropdown-user nav-item">
            <a class="dropdown-toggle nav-link dropdown-user-link" href="#" data-toggle="dropdown">
              <div class="user-nav d-sm-flex d-none">
                <span class="user-name"><?php echo e(auth()->user()->name); ?></span>
                <span class="user-status text-muted"><?php echo e(auth()->user()->roles->first()->name); ?></span>
              </div>
              <span>
                <?php if(auth()->user()->profil->foto === NULL): ?>
                  <img class="round" src="<?php echo e(asset('storage/Profil/default.png')); ?>" alt="avatar" height="40" width="40">
                <?php else: ?> 
                  <img class="round" src="<?php echo e(asset('storage/'.auth()->user()->profil->foto)); ?>" alt="avatar" height="40" width="40">
                <?php endif; ?>
              </span>
            </a>
            <div class="dropdown-menu dropdown-menu-right pb-0">
              <a class="dropdown-item" href="<?php echo e(route('profil.index')); ?>">
                <i class="bx bx-user mr-50"></i> Edit Profil
              </a>
              <a class="dropdown-item" href="<?php echo e(route('akun.index')); ?>">
                <i class="bx bx-lock-alt mr-50"></i> Edit Password
              </a>
              <div class="dropdown-divider mb-0"></div>
                <a class="dropdown-item" href="<?php echo e(route('logout')); ?>" onclick="event.preventDefault();document.getElementById('logout-form').submit();" ><i class="bx bx-power-off mr-50"></i> Logout</a>
            </div>
          </li>
        </ul>
      </div>
    </div>
  </div>
</nav>
<?php /**PATH /home/u1728740/public_html/e-surat/resources/views/panels/navbar.blade.php ENDPATH**/ ?>