<?php if(Auth::guard('admin')->check() == true): ?>
<?php
$ticket_waiting = \App\Models\Ticket::where('is_read_admin', '0')->count();
?>
<li class="nav-item">
    <a href="<?php echo e(url('admin')); ?>" class="nav-link">
        <i class="mdi mdi-store-outline"></i>
        <span>Dasbor</span>
    </a>
</li>

<li>
    <a href="<?php echo e(url('admin/admin/list')); ?>" class="waves-effect">
        <i class="mdi mdi-account-key-outline"></i>
        <span>Admin</span>
    </a>
</li>

<li>
    <a href="<?php echo e(url('admin/user/list')); ?>" class="waves-effect">
        <i class="mdi mdi-account-group-outline"></i>
        <span>Pengguna</span>
    </a>
</li>

<li>
    <a href="javascript: void(0);" class="has-arrow waves-effect">
        <i class="mdi mdi-tag-multiple-outline"></i> 
        <span>Layanan</span>
    </a>
    <ul class="sub-menu" aria-expanded="false">
        <li><a href="<?php echo e(url('admin/service/provider/list')); ?>">Penyedia</a></li>
        <li><a href="<?php echo e(url('admin/service/category/list')); ?>">Kategori</a></li>
        <li><a href="<?php echo e(url('admin/service/list')); ?>">Layanan</a></li>
        <li><a href="<?php echo e(url('admin/service/custom_price/list')); ?>">Harga Khusus</a></li>
        <li><a href="<?php echo e(url('admin/service/log/list')); ?>">Log Gagal</a></li>
    </ul>
</li>

<li>
    <a href="javascript: void(0);" class="has-arrow waves-effect"><i class="mdi mdi-cart-outline"></i> <span>Pesanan</span></a>
    <ul class="sub-menu" aria-expanded="true">
        <li><a href="<?php echo e(url('admin/order/list')); ?>">Pesanan</a></li>
        <li><a href="<?php echo e(url('admin/order/report')); ?>">Laporan</a></li>
    </ul>
</li>

<li>
    <a href="<?php echo e(url('admin/order/refill/list')); ?>" class="waves-effect">
        <i class='mdi mdi-recycle'></i>
        <span>Refill</span>
    </a>
</li>

<li>
    <a href="javascript: void(0);" class="has-arrow waves-effect"><i class="mdi mdi-credit-card-outline"></i> <span>Deposit</span></a>
    <ul class="sub-menu" aria-expanded="true">
        <li><a href="<?php echo e(url('admin/deposit/method/list')); ?>">Metode</a></li>
        <li><a href="<?php echo e(url('admin/deposit/list')); ?>">Deposit</a></li>
        <li><a href="<?php echo e(url('admin/deposit/report')); ?>">Laporan</a></li>
    </ul>
</li>

<li>
    <a href="<?php echo e(url('admin/ticket/list')); ?>" class="waves-effect">
        <i class="mdi mdi-ticket-account"></i>
        <?php if($ticket_waiting > 0): ?>
        <span class="badge badge-pill badge-warning float-right"><?php echo e($ticket_waiting); ?></span>
        <?php endif; ?>
        <span>Tiket</span>
    </a>
</li>

<li>
    <a href="javascript: void(0);" class="has-arrow waves-effect"><i class="mdi mdi-file-outline"></i> <span>Log</span></a>
    <ul class="sub-menu" aria-expanded="true">
        <li><a href="<?php echo e(url('admin/log/user_register')); ?>">Pendaftaran</a></li>
        <li><a href="<?php echo e(url('admin/log/user_login')); ?>">Pengguna Masuk</a></li>
        <li><a href="<?php echo e(url('admin/log/user_balance')); ?>">Saldo Pengguna</a></li>
        <li><a href="<?php echo e(url('admin/log/admin_login')); ?>">Admin Masuk</a></li>
        <?php if(Auth::guard('admin')->user()->level == 'Developer'): ?>
        <li><a href="<?php echo e(url('admin/log/bank_mutation')); ?>">Mutasi Bank</a></li>
        <?php endif; ?>
    </ul>
</li>

<li>
    <a href="javascript: void(0);" class="has-arrow waves-effect"><i class="mdi mdi-cogs-outline"></i> <span>Pengaturan</span></a>
    <ul class="sub-menu" aria-expanded="true">
        <li><a href="<?php echo e(url('admin/settings/website_information/list')); ?>">Informasi</a></li>
        <li><a href="<?php echo e(url('admin/settings/website_page/list')); ?>">Halaman</a></li>
        <li><a href="<?php echo e(url('admin/settings/website_configs')); ?>">Konfigurasi Website</a></li>
    </ul>
</li>

<li>
    <a href="javascript: void(0);" class="has-arrow waves-effect">
        <i class="mdi mdi-sitemap-outline"></i> 
        <span>Sitemap</span>
    </a>
    <ul class="sub-menu" aria-expanded="true">
        <li><a href="<?php echo e(url('admin/page/hof')); ?>">Top Terbaik</a></li>
    </ul>
</li>
<?php else: ?>

<li>
    <a href="<?php echo e(url('admin/auth/login')); ?>" class="waves-effect">
        <i class="mdi mdi-account-arrow-right-outline"></i>
        <span>Masuk</span>
    </a>
</li>

<?php endif; ?><?php /**PATH /home/glor5228/public_html/resources/views/admin/layouts/navigation/vertical.blade.php ENDPATH**/ ?>