<!DOCTYPE html>
<html lang="en">
<head>
 <!doctype html>
<html>
<head>
    <!-- Required meta tags-->
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="au theme template">
    <meta name="author" content="Hau Nguyen">
    <meta name="keywords" content="au theme template">
    <meta name="base-url" content="<?php echo e(url('/')); ?>">


    <!-- Title Page-->
    <title>Dashboard</title>

    <!-- Fontfaces CSS-->
    <link href="<?php echo e(asset('assets/css/font-face.css')); ?>" rel="stylesheet" media="all">
    <link href="<?php echo e(asset('assets/vendor/font-awesome-4.7/css/font-awesome.min.css')); ?>" rel="stylesheet" media="all">
    <link href="<?php echo e(asset('assets/vendor/font-awesome-5/css/fontawesome-all.min.css')); ?>" rel="stylesheet" media="all">
    <link href="<?php echo e(asset('assets/vendor/mdi-font/css/material-design-iconic-font.min.css')); ?>" rel="stylesheet" media="all">

    <!-- Bootstrap CSS-->
    <link href="<?php echo e(asset('assets/vendor/bootstrap-4.1/bootstrap.min.css')); ?>" rel="stylesheet" media="all">

    <!-- Vendor CSS-->
    <link href="<?php echo e(asset('assets/vendor/animsition/animsition.min.css')); ?>" rel="stylesheet" media="all">
    <link href="<?php echo e(asset('assets/vendor/bootstrap-progressbar/bootstrap-progressbar-3.3.4.min.css')); ?>" rel="stylesheet" media="all">
    <link href="<?php echo e(asset('assets/vendor/wow/animate.css')); ?>" rel="stylesheet" media="all">
    <link href="<?php echo e(asset('assets/vendor/css-hamburgers/hamburgers.min.css')); ?>" rel="stylesheet" media="all">
    <link href="<?php echo e(asset('assets/vendor/slick/slick.css')); ?>" rel="stylesheet" media="all">
    <link href="<?php echo e(asset('assets/vendor/select2/select2.min.css')); ?>" rel="stylesheet" media="all">
    <link href="<?php echo e(asset('assets/vendor/perfect-scrollbar/perfect-scrollbar.css')); ?>" rel="stylesheet" media="all">
    <!-- ... other head elements ... -->
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
    <!-- ... other head elements ... -->

    <!-- Main CSS-->
    <link href="<?php echo e(asset('assets/css/theme.css')); ?>" rel="stylesheet" media="all">
</head>
<body class="animsition">
    <div class="page-wrapper">
        <!-- HEADER MOBILE-->
        <header class="header-mobile d-block d-lg-none">
            <div class="header-mobile__bar">
                <div class="container-fluid">
                    <div class="header-mobile-inner">
                        <a class="logo" href="index.html">
                            <img src="images/icon/logo.png" alt="CoolAdmin" />
                        </a>
                        <button class="hamburger hamburger--slider" type="button">
                            <span class="hamburger-box">
                                <span class="hamburger-inner"></span>
                            </span>
                        </button>
                    </div>
                </div>
            </div>
            <nav class="navbar-mobile">
                <div class="container-fluid">
                    <ul class="navbar-mobile__list list-unstyled">
                        <li class="has-sub">
                            <a class="js-arrow" href="#">
                                <i class="fas fa-tachometer-alt"></i>Dashboard</a>
                            <ul class="navbar-mobile-sub__list list-unstyled js-sub-list">
                                <li>
                                    <a href="index.html">Dashboard 1</a>
                                </li>
                                <li>
                                    <a href="index2.html">Dashboard 2</a>
                                </li>
                                <li>
                                    <a href="index3.html">Dashboard 3</a>
                                </li>
                                <li>
                                    <a href="index4.html">Dashboard 4</a>
                                </li>
                            </ul>
                        </li>
                        <li>
                            <a href="chart.html">
                                <i class="fas fa-chart-bar"></i>Charts</a>
                        </li>
                        <li>
                            <a href="table.html">
                                <i class="fas fa-table"></i>Tables</a>
                        </li>
                        <li>
                            <a href="form.html">
                                <i class="far fa-check-square"></i>Forms</a>
                        </li>
                        <li>
                            <a href="calendar.html">
                                <i class="fas fa-calendar-alt"></i>Calendar</a>
                        </li>
                        <li>
                            <a href="map.html">
                                <i class="fas fa-map-marker-alt"></i>Maps</a>
                        </li>
                        <li class="has-sub">
                            <a class="js-arrow" href="#">
                                <i class="fas fa-copy"></i>Buyers</a>
                            <ul class="navbar-mobile-sub__list list-unstyled js-sub-list">
                                <li>
                                    <a href="<?php echo e(route('admin.buyers.create')); ?>">Add Buyers</a>
                                </li>
                                <li>
                                    <a href="<?php echo e(route('admin.buyers.index')); ?>">List</a>
                                </li>
                              
                            </ul>
                        </li>
                        <li class="has-sub">
                            <a class="js-arrow" href="#">
                                <i class="fas fa-desktop"></i>UI Elements</a>
                            <ul class="navbar-mobile-sub__list list-unstyled js-sub-list">
                                <li>
                                    <a href="button.html">Button</a>
                                </li>
                                <li>
                                    <a href="badge.html">Badges</a>
                                </li>
                                <li>
                                    <a href="tab.html">Tabs</a>
                                </li>
                                <li>
                                    <a href="card.html">Cards</a>
                                </li>
                                <li>
                                    <a href="alert.html">Alerts</a>
                                </li>
                                <li>
                                    <a href="progress-bar.html">Progress Bars</a>
                                </li>
                                <li>
                                    <a href="modal.html">Modals</a>
                                </li>
                                <li>
                                    <a href="switch.html">Switchs</a>
                                </li>
                                <li>
                                    <a href="grid.html">Grids</a>
                                </li>
                                <li>
                                    <a href="fontawesome.html">Fontawesome Icon</a>
                                </li>
                                <li>
                                    <a href="typo.html">Typography</a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </nav>
        </header>
        <!-- END HEADER MOBILE-->

        <!-- MENU SIDEBAR-->
       <aside class="menu-sidebar d-none d-lg-block">
    <div class="logo">
        <a href="#">
            <img src="images/icon/logo.png" alt="Cool Admin" />
        </a>
    </div>
    <div class="menu-sidebar__content js-scrollbar1">
        <nav class="navbar-sidebar">
            <ul class="list-unstyled navbar__list">
                
                <!-- ==================== DASHBOARD ==================== -->
                <?php if(auth('admin')->user()->hasPermission('view.dashboard')): ?>
                <li class="active has-sub">
                    <a class="js-arrow" href="<?php echo e(route('admin.dashboard')); ?>">
                        <i class="fas fa-tachometer-alt"></i>Dashboard
                    </a>
                </li>
                <?php endif; ?>

                <!-- ==================== BUYER MANAGEMENT ==================== -->
                <?php if(auth('admin')->user()->hasPermission('view.buyers')): ?>
                <li class="has-sub">
                    <a class="js-arrow" href="#">
                        <i class="fas fa-user"></i>Buyer Management
                    </a>
                    <ul class="navbar-mobile-sub__list list-unstyled js-sub-list">
                        <?php if(auth('admin')->user()->hasPermission('manage.buyers')): ?>
                        <li>
                            <a href="<?php echo e(route('admin.buyers.create')); ?>"><i class="fas fa-plus"></i>Add Buyers</a>
                        </li>
                        <?php endif; ?>
                        <li>
                            <a href="<?php echo e(route('admin.buyers.index')); ?>"><i class="fas fa-tasks"></i>All Buyer List</a>
                        </li>
                    </ul>
                </li>
                <?php endif; ?>

                <!-- ==================== BANKS ==================== -->
                <?php if(auth('admin')->user()->hasPermission('view.banks')): ?>
                <li class="has-sub">
                    <a class="js-arrow" href="#">
                        <i class="fas fa-industry"></i>Banks
                    </a>
                    <ul class="navbar-mobile-sub__list list-unstyled js-sub-list">
                        <li>
                            <a href="<?php echo e(route('admin.banks.index')); ?>"><i class="fas fa-plus"></i>Banks List</a>
                        </li>
                        <?php if(auth('admin')->user()->hasPermission('manage.banks')): ?>
                        <li>
                            <a href="<?php echo e(route('admin.banks.create')); ?>"><i class="fas fa-tasks"></i>Add Banks</a>
                        </li>
                        <?php endif; ?>
                    </ul>
                </li>
                <?php endif; ?>

                <!-- ==================== COMPANY DETAIL ==================== -->
                <?php if(auth('admin')->user()->hasPermission('view.sellers')): ?>
                <li class="has-sub">
                    <a class="js-arrow" href="#">
                        <i class="fas fa-industry"></i>Company Detail
                    </a>
                    <ul class="navbar-mobile-sub__list list-unstyled js-sub-list">
                        <li>
                            <a href="<?php echo e(route('admin.sellers.index')); ?>"><i class="fas fa-plus"></i>Company List</a>
                        </li>
                        <?php if(auth('admin')->user()->hasPermission('manage.sellers')): ?>
                        <li>
                            <a href="<?php echo e(route('admin.sellers.create')); ?>"><i class="fas fa-tasks"></i>Add Company</a>
                        </li>
                        <?php endif; ?>
                    </ul>
                </li>
                <?php endif; ?>

                <!-- ==================== TERMS CONDITIONS ==================== -->
                <?php if(auth('admin')->user()->hasPermission('view.terms')): ?>
                <li class="has-sub">
                    <a class="js-arrow" href="#">
                        <i class="fas fa-industry"></i>Terms Conditions
                    </a>
                    <ul class="navbar-mobile-sub__list list-unstyled js-sub-list">
                        <li>
                            <a href="<?php echo e(route('admin.terms.index')); ?>"><i class="fas fa-plus"></i>Terms List</a>
                        </li>
                        <?php if(auth('admin')->user()->hasPermission('manage.terms')): ?>
                        <li>
                            <a href="<?php echo e(route('admin.terms.create')); ?>"><i class="fas fa-tasks"></i>Add Terms</a>
                        </li>
                        <?php endif; ?>
                    </ul>
                </li>
                <?php endif; ?>

                <!-- ==================== FACTORY ==================== -->
                <?php if(auth('admin')->user()->hasPermission('view.factories')): ?>
                <li class="has-sub">
                    <a class="js-arrow" href="#">
                        <i class="fas fa-industry"></i>Factory
                    </a>
                    <ul class="navbar-mobile-sub__list list-unstyled js-sub-list">
                        <?php if(auth('admin')->user()->hasPermission('manage.factories')): ?>
                        <li>
                            <a href="<?php echo e(route('admin.factories.create')); ?>"><i class="fas fa-plus"></i>Add Factory</a>
                        </li>
                        <?php endif; ?>
                        <li>
                            <a href="<?php echo e(route('admin.factories.index')); ?>"><i class="fas fa-tasks"></i>All Factory List</a>
                        </li>
                    </ul>
                </li>
                <?php endif; ?>

                <!-- ==================== INFORMATION LIBRARY ==================== -->
                <?php if(auth('admin')->user()->hasPermission('view.library')): ?>
                <li class="has-sub">
                    <a class="js-arrow" href="#">
                        <i class="fas fa-book"></i>Information Library
                    </a>
                    <ul class="navbar-mobile-sub__list list-unstyled js-sub-list">
                        <li>
                            <a href="<?php echo e(route('admin.brands.index')); ?>"><i class="fas fa-tasks"></i>Add Information</a>
                        </li>
                        <?php if(auth('admin')->user()->hasPermission('manage.library')): ?>
                        <li><a href="<?php echo e(route('admin.yarn_types.index')); ?>">Yarn Types</a></li>
                        <li><a href="<?php echo e(route('admin.knitting_types.index')); ?>">Knitting Types</a></li>
                        <li><a href="<?php echo e(route('admin.dyeing_types.index')); ?>">Dyeing Types</a></li>
                        <li><a href="<?php echo e(route('admin.fabric_addons.index')); ?>">Fabric Add-ons</a></li>
                        <li><a href="<?php echo e(route('admin.accessories.index')); ?>">Accessories</a></li>
                        <li><a href="<?php echo e(route('admin.other_costs.index')); ?>">Other Costs categories</a></li>
                        <li><a href="<?php echo e(route('admin.costs.index')); ?>">Other Cost</a></li>
                        <li><a href="<?php echo e(route('admin.commercial_rates.index')); ?>">Commercial Rates</a></li>
                        <li><a href="<?php echo e(route('admin.garment_addons.index')); ?>">Garment Add-ons</a></li>
                        <?php endif; ?>
                    </ul>
                </li>
                <?php endif; ?>

                <!-- ==================== RFQ ==================== -->
                <?php if(auth('admin')->user()->hasPermission('view.rfqs')): ?>
                <li class="has-sub">
                    <a class="js-arrow" href="#">
                        <i class="fas fa-file"></i>RFQ
                    </a>
                    <ul class="navbar-mobile-sub__list list-unstyled js-sub-list">
                        <?php if(auth('admin')->user()->hasPermission('manage.rfqs')): ?>
                        <li>
                            <a href="<?php echo e(route('admin.rfq.create')); ?>"><i class="fas fa-plus"></i>Add Rfq</a>
                        </li>
                        <?php endif; ?>
                        <li>
                            <a href="<?php echo e(route('admin.inquiries.index')); ?>"><i class="fas fa-tasks"></i> Inquiry List</a>
                        </li>
                        <li>
                            <a href="<?php echo e(route('admin.quotations.index')); ?>"><i class="fas fa-calculator"></i> Quotation Generator</a>
                        </li>
                    </ul>
                </li>
                <?php endif; ?>

                <!-- ==================== ORDER CONFIRMATION ==================== -->
                <?php if(auth('admin')->user()->hasPermission('view.orders')): ?>
                <li class="has-sub">
                    <a class="js-arrow" href="#">
                        <i class="fas fa-file"></i>Order Confirmation
                    </a>
                    <ul class="navbar-mobile-sub__list list-unstyled js-sub-list">
                        <?php if(auth('admin')->user()->hasPermission('create.orders')): ?>
                        <li>
                            <a href="<?php echo e(route('admin.order-confirmations.create')); ?>"><i class="fas fa-plus"></i>Create</a>
                        </li>
                        <?php endif; ?>
                        <li>
                            <a href="<?php echo e(route('admin.order-confirmations.index')); ?>"><i class="fas fa-tasks"></i>All List</a>
                        </li>
                    </ul>
                </li>
                <?php endif; ?>

                <!-- ==================== PAYMENT MANAGEMENT ==================== -->
                <?php if(auth('admin')->user()->hasPermission('view.payments')): ?>
                <li class="has-sub">
                    <a class="js-arrow" href="#">
                        <i class="fas fa-credit-card"></i>Payment Management
                    </a>
                    <ul class="navbar-mobile-sub__list list-unstyled js-sub-list">
                        <li>
                            <a href="<?php echo e(route('admin.advance-payments.index')); ?>">
                                <i class="fas fa-dollar me-2"></i>Advance Payments
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo e(route('admin.payment-allocations.index')); ?>">
                                <i class="fas fa-share-alt me-2"></i>Payment Allocations
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo e(route('admin.bank-invoices.index')); ?>">
                                <i class="fas fa-bank me-2"></i>Bank Invoices
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo e(route('admin.payment-ledger.index')); ?>">
                                <i class="fas fa-book me-2"></i>Payment Ledger
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo e(route('admin.payment.ledger')); ?>">
                                <i class="fas fa-chart-bar me-2"></i>Ledger Summary
                            </a>
                        </li>
                    </ul>
                </li>
                <?php endif; ?>

                <!-- ==================== SHIPMENT & LOGISTICS ==================== -->
                <?php if(auth('admin')->user()->hasPermission('view.shipments')): ?>
                <li class="has-sub">
                    <a class="js-arrow" href="#">
                        <i class="fas fa-ship"></i>Shipment & Logistics
                    </a>
                    <ul class="navbar-mobile-sub__list list-unstyled js-sub-list">
                        <?php if(auth('admin')->user()->hasPermission('manage.shipments')): ?>
                        <li>
                            <a href="<?php echo e(route('admin.shipments.create')); ?>">
                                <i class="fas fa-plus me-2"></i>Create Shipment
                            </a>
                        </li>
                        <?php endif; ?>
                        <li>
                            <a href="<?php echo e(route('admin.shipments.index')); ?>">
                                <i class="fas fa-truck me-2"></i>Shipment Entry
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo e(route('admin.shipments.carton-details.index', ['shipment' => 1])); ?>">
                                <i class="fas fa-box me-2"></i>Carton Details
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo e(route('admin.shipments.booking-invoices.index', ['shipment' => 1])); ?>">
                                <i class="fas fa-file me-2"></i>Booking Invoice
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo e(route('admin.shipments.final-shipments.index', ['shipment' => 1])); ?>">
                                <i class="fas fa-clipboard-check me-2"></i>Final Shipment Update
                            </a>
                        </li>
                    </ul>
                </li>
                <?php endif; ?>

                <!-- ==================== DOCUMENT GENERATOR ==================== -->
                <?php if(auth('admin')->user()->hasPermission('view.documents')): ?>
                <li class="has-sub">
                    <a class="js-arrow" href="#">
                        <i class="fas fa-file-pdf"></i>FINAL DOCUMENT GENERATOR
                    </a>
                    <ul class="navbar-mobile-sub__list list-unstyled js-sub-list">
                        <li>
                            <a href="<?php echo e(route('admin.document-generator.index')); ?>">
                                <i class="fas fa-file-invoice me-2"></i>Generate Documents
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo e(route('admin.document-templates.index')); ?>">
                                <i class="fas fa-edit me-2"></i>Templates
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo e(route('admin.export-center.index')); ?>">
                                <i class="fas fa-download me-2"></i>Export Center
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo e(route('admin.email-logs.index')); ?>">
                                <i class="fas fa-envelope me-2"></i>Email Logs
                            </a>
                        </li>
                        <?php if(auth('admin')->user()->hasPermission('manage.documents')): ?>
                        <li>
                            <a href="<?php echo e(route('admin.document-templates.create')); ?>">
                                <i class="fas fa-plus-circle me-2"></i>Create Template
                            </a>
                        </li>
                        <?php endif; ?>
                    </ul>
                </li>
                <?php endif; ?>

                <!-- ==================== REPORTS & ANALYTICS ==================== -->
                <?php if(auth('admin')->user()->hasPermission('view.reports')): ?>
                <li>
                    <a href="<?php echo e(route('admin.reports.dashboard')); ?>">
                        <i class="fas fa-chart-bar"></i>REPORTS & ANALYTICS
                    </a>
                </li>
                <?php endif; ?>

                <!-- ==================== SECURITY MODULE ==================== -->
                <?php if(auth('admin')->user()->hasPermission('view.users') || 
                    auth('admin')->user()->hasPermission('manage.roles') ||
                    auth('admin')->user()->hasPermission('view.audit.logs')): ?>
                <li class="nav-item mt-3">
                    <small class="text-muted px-3">SECURITY</small>
                </li>
                <?php endif; ?>

                <?php if(auth('admin')->user()->hasPermission('view.users')): ?>
                <li class="nav-item">
                    <a class="nav-link" href="<?php echo e(route('admin.users.index')); ?>">
                        <i class="fas fa-users me-2"></i>User Management
                    </a>
                </li>
                <?php endif; ?>

                <?php if(auth('admin')->user()->hasPermission('manage.roles')): ?>
                <li class="nav-item">
                    <a class="nav-link" href="<?php echo e(route('admin.roles.index')); ?>">
                        <i class="fas fa-user-shield me-2"></i>Role Management
                    </a>
                </li>
                <?php endif; ?>

                <?php if(auth('admin')->user()->hasPermission('view.audit.logs')): ?>
                <li class="nav-item">
                    <a class="nav-link" href="<?php echo e(route('admin.audit-logs.index')); ?>">
                        <i class="fas fa-clipboard-list me-2"></i>Audit Logs
                    </a>
                </li>
                <?php endif; ?>

            </ul>
        </nav>
    </div>
</aside>
        <!-- END MENU SIDEBAR-->

        <!-- PAGE CONTAINER-->
        <div class="page-container">
            <!-- HEADER DESKTOP-->
            <header class="header-desktop">
                <div class="section__content section__content--p30">
                    <div class="container-fluid">
                        <div class="header-wrap">
                            <form class="form-header" action="" method="POST">
                                <input class="au-input au-input--xl" type="text" name="search" placeholder="Search for datas &amp; reports..." />
                                <button class="au-btn--submit" type="submit">
                                    <i class="zmdi zmdi-search"></i>
                                </button>
                            </form>
                            <div class="header-button">
                                <div class="noti-wrap">
                                    <div class="noti__item js-item-menu">
                                        <i class="zmdi zmdi-comment-more"></i>
                                        <span class="quantity">1</span>
                                        <div class="mess-dropdown js-dropdown">
                                            <div class="mess__title">
                                                <p>You have 2 news message</p>
                                            </div>
                                            <div class="mess__item">
                                                <div class="image img-cir img-40">
                                                    <img src="images/icon/avatar-06.jpg" alt="Michelle Moreno" />
                                                </div>
                                                <div class="content">
                                                    <h6>Michelle Moreno</h6>
                                                    <p>Have sent a photo</p>
                                                    <span class="time">3 min ago</span>
                                                </div>
                                            </div>
                                            <div class="mess__item">
                                                <div class="image img-cir img-40">
                                                    <img src="images/icon/avatar-04.jpg" alt="Diane Myers" />
                                                </div>
                                                <div class="content">
                                                    <h6>Diane Myers</h6>
                                                    <p>You are now connected on message</p>
                                                    <span class="time">Yesterday</span>
                                                </div>
                                            </div>
                                            <div class="mess__footer">
                                                <a href="#">View all messages</a>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="noti__item js-item-menu">
                                        <i class="zmdi zmdi-email"></i>
                                        <span class="quantity">1</span>
                                        <div class="email-dropdown js-dropdown">
                                            <div class="email__title">
                                                <p>You have 3 New Emails</p>
                                            </div>
                                            <div class="email__item">
                                                <div class="image img-cir img-40">
                                                    <img src="images/icon/avatar-06.jpg" alt="Cynthia Harvey" />
                                                </div>
                                                <div class="content">
                                                    <p>Meeting about new dashboard...</p>
                                                    <span>Cynthia Harvey, 3 min ago</span>
                                                </div>
                                            </div>
                                            <div class="email__item">
                                                <div class="image img-cir img-40">
                                                    <img src="images/icon/avatar-05.jpg" alt="Cynthia Harvey" />
                                                </div>
                                                <div class="content">
                                                    <p>Meeting about new dashboard...</p>
                                                    <span>Cynthia Harvey, Yesterday</span>
                                                </div>
                                            </div>
                                            <div class="email__item">
                                                <div class="image img-cir img-40">
                                                    <img src="images/icon/avatar-04.jpg" alt="Cynthia Harvey" />
                                                </div>
                                                <div class="content">
                                                    <p>Meeting about new dashboard...</p>
                                                    <span>Cynthia Harvey, April 12,,2018</span>
                                                </div>
                                            </div>
                                            <div class="email__footer">
                                                <a href="#">See all emails</a>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="noti__item js-item-menu">
                                        <i class="zmdi zmdi-notifications"></i>
                                        <span class="quantity">3</span>
                                        <div class="notifi-dropdown js-dropdown">
                                            <div class="notifi__title">
                                                <p>You have 3 Notifications</p>
                                            </div>
                                            <div class="notifi__item">
                                                <div class="bg-c1 img-cir img-40">
                                                    <i class="zmdi zmdi-email-open"></i>
                                                </div>
                                                <div class="content">
                                                    <p>You got a email notification</p>
                                                    <span class="date">April 12, 2018 06:50</span>
                                                </div>
                                            </div>
                                            <div class="notifi__item">
                                                <div class="bg-c2 img-cir img-40">
                                                    <i class="zmdi zmdi-account-box"></i>
                                                </div>
                                                <div class="content">
                                                    <p>Your account has been blocked</p>
                                                    <span class="date">April 12, 2018 06:50</span>
                                                </div>
                                            </div>
                                            <div class="notifi__item">
                                                <div class="bg-c3 img-cir img-40">
                                                    <i class="zmdi zmdi-file-text"></i>
                                                </div>
                                                <div class="content">
                                                    <p>You got a new file</p>
                                                    <span class="date">April 12, 2018 06:50</span>
                                                </div>
                                            </div>
                                            <div class="notifi__footer">
                                                <a href="#">All notifications</a>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                   <?php
    $admin = auth('admin')->check() ? auth('admin')->user() : null;
    $profileImage = $admin && $admin->profile_image 
        ? asset( $admin->profile_image) 
        : asset('images/logo/ZinaxiT.PNG'); // <- your default image
?>


                                <div class="account-wrap">
                                    <div class="account-item clearfix js-item-menu">
                                        <div class="image">
                                            <img src="<?php echo e($profileImage); ?>" alt="John Doe" />
                                        </div>
                                        <div class="content">
                                            <a class="js-acc-btn" href="#"><?php echo e(auth('admin')->user()->name); ?></a>
                                        </div>
                                        <div class="account-dropdown js-dropdown">
                                            <div class="info clearfix">
                                                <div class="image">
                                                    <a href="#">
                                                        <img src="<?php echo e($profileImage); ?>" alt="John Doe" />
                                                    </a>
                                                </div>
                                                <div class="content">
                                                    <?php if(auth()->guard('admin')->check()): ?>
                                                    <h5 class="name">
                                                        <a href="#"><?php echo e(auth('admin')->user()->name); ?></a>
                                                    </h5>
                                                    <span class="email"><?php echo e(auth('admin')->user()->email); ?></span><?php endif; ?>
                                                </div>
                                            </div>
                                            <div class="account-dropdown__body">
                                                <div class="account-dropdown__item">
                                                  
                 
                                                    <a href="<?php echo e(route('admin.profile')); ?>">
                                                        <i class="zmdi zmdi-account"></i>My Profile</a>
                                                </div>
                                                   <div class="account-dropdown__item">
                                                    <a href="<?php echo e(route('admin.create')); ?>">
                                                        <i class="zmdi zmdi-money-box"></i>Add Admin</a>
                                                </div>
                                                <div class="account-dropdown__item">
                                                    <a href="#">
                                                        <i class="zmdi zmdi-settings"></i>Setting</a>
                                                </div>
                                             
                                            </div>
                                            <div class="account-dropdown__footer">
    <a href="#" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
    <i class="zmdi zmdi-power"></i> Logout
</a>

<form id="logout-form" method="POST" action="<?php echo e(route('admin.logout')); ?>" style="display: none;">
    <?php echo csrf_field(); ?>
</form>

                                               
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </header>
            <!-- HEADER DESKTOP-->
          <div class="main-content">
                <div class="section__content section__content--p30"><?php /**PATH E:\xampp2\htdocs\texsia\resources\views/admin/header.blade.php ENDPATH**/ ?>