<!-- Top Bar -->
<header class="top-bar">

    <!-- Menu Toggler -->
    <button class="menu-toggler la la-bars" data-toggle="menu"></button>

    <!-- Brand -->
    <span class="brand">EzyPOS</span>

    
    
    
    
    
    
    
    

    <!-- Right -->
    <div class="flex items-center ltr:ml-auto rtl:mr-auto">


        <!-- Notifications -->
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        

        <!-- User Menu -->
        <div class="dropdown">
            <button class="flex items-center ltr:ml-4 rtl:mr-4" data-toggle="custom-dropdown-menu"
                    data-tippy-arrow="true" data-tippy-placement="bottom-end">
                <span class="avatar">JD</span>
            </button>
            <div class="custom-dropdown-menu w-64">
                <div class="p-5">
                    <?php if(auth()->guard('master-dealer')->check()): ?>
                        <h5 class="uppercase"><?php echo e(auth()->user()->contact_person); ?></h5>
                        <p><?php echo e(auth()->user()->company_name); ?></p>
                    <?php endif; ?>

                    <?php if(auth()->guard('sub-dealer')->check()): ?>
                        <h5 class="uppercase"><?php echo e(auth()->user()->contact_person); ?></h5>
                        <p><?php echo e(auth()->user()->company_name); ?></p>
                    <?php endif; ?>

                    <?php if(auth()->guard('trial-account')->check()): ?>
                        <h5 class="uppercase"><?php echo e(auth()->user()->contact_name); ?></h5>
                        <p><?php echo e(auth()->user()->company_name); ?></p>
                    <?php endif; ?>

                    <?php if(auth()->guard('paid-account')->check()): ?>
                        <h5 class="uppercase"><?php echo e(auth()->user()->contact_name); ?></h5>
                        <p><?php echo e(auth()->user()->company_name); ?></p>
                    <?php endif; ?>

                </div>
                <hr>
                <div class="p-5">
                    
                    
                    
                    

                    <?php if(auth()->guard('sub-dealer')->check()): ?>
                        <a href="<?php echo e(route('sub-dealer.change-password')); ?>"
                           class="flex items-center text-normal hover:text-primary">
                            <span class="la la-key text-2xl leading-none ltr:mr-2 rtl:ml-2"></span>
                            Change Password
                        </a>
                    <?php endif; ?>

                    <?php if(auth()->guard('master-dealer')->check()): ?>
                        <a href="<?php echo e(route('master-dealer.change-password')); ?>"
                           class="flex items-center text-normal hover:text-primary">
                            <span class="la la-key text-2xl leading-none ltr:mr-2 rtl:ml-2"></span>
                            Change Password
                        </a>
                    <?php endif; ?>

                    <?php if(auth()->guard('trial-account')->check()): ?>
                        <a href="<?php echo e(route('trial-accounts.change-password')); ?>"
                           class="flex items-center text-normal hover:text-primary">
                            <span class="la la-key text-2xl leading-none ltr:mr-2 rtl:ml-2"></span>
                            Change Password
                        </a>

                        <a href="<?php echo e(route('trial-accounts.change-pin')); ?>"
                           class="flex items-center text-normal hover:text-primary mt-5">
                            <span class="la la-keyboard text-2xl leading-none ltr:mr-2 rtl:ml-2"></span>
                            Change PIN
                        </a>
                    <?php endif; ?>

                    <?php if(auth()->guard('paid-account')->check()): ?>
                        <a href="<?php echo e(route('paid-accounts.change-password')); ?>"
                           class="flex items-center text-normal hover:text-primary">
                            <span class="la la-key text-2xl leading-none ltr:mr-2 rtl:ml-2"></span>
                            Change Password
                        </a>

                        <a href="<?php echo e(route('paid-accounts.change-pin')); ?>"
                           class="flex items-center text-normal hover:text-primary mt-5">
                            <span class="la la-keyboard text-2xl leading-none ltr:mr-2 rtl:ml-2"></span>
                            Change PIN
                        </a>
                    <?php endif; ?>


                </div>
                <hr>
                <div class="p-5">
                    <?php if(auth()->guard('admin')->check()): ?>
                        <form action="<?php echo e(route('admin.logout')); ?>" method="POST">
                            <?php echo csrf_field(); ?>
                            <button type="submit" class="flex items-center text-normal hover:text-primary">
                                <span class="la la-power-off text-2xl leading-none ltr:mr-2 rtl:ml-2"></span>
                                Logout
                            </button>
                        </form>
                    <?php endif; ?>
                    <?php if(auth()->guard('master-dealer')->check()): ?>
                        <form action="<?php echo e(route('master-dealer.logout')); ?>" method="POST">
                            <?php echo csrf_field(); ?>
                            <button type="submit" class="flex items-center text-normal hover:text-primary">
                                <span class="la la-power-off text-2xl leading-none ltr:mr-2 rtl:ml-2"></span>
                                Logout
                            </button>
                        </form>
                    <?php endif; ?>

                    <?php if(auth()->guard('sub-dealer')->check()): ?>
                        <form action="<?php echo e(route('sub-dealer.logout')); ?>" method="POST">
                            <?php echo csrf_field(); ?>
                            <button type="submit" class="flex items-center text-normal hover:text-primary">
                                <span class="la la-power-off text-2xl leading-none ltr:mr-2 rtl:ml-2"></span>
                                Logout
                            </button>
                        </form>
                    <?php endif; ?>

                    <?php if(auth()->guard('trial-account')->check()): ?>
                        <form action="<?php echo e(route('trial-account.logout')); ?>" method="POST">
                            <?php echo csrf_field(); ?>
                            <button type="submit" class="flex items-center text-normal hover:text-primary">
                                <span class="la la-power-off text-2xl leading-none ltr:mr-2 rtl:ml-2"></span>
                                Logout
                            </button>
                        </form>
                    <?php endif; ?>

                    <?php if(auth()->guard('paid-account')->check()): ?>
                        <form action="<?php echo e(route('paid-account.logout')); ?>" method="POST">
                            <?php echo csrf_field(); ?>
                            <button type="submit" class="flex items-center text-normal hover:text-primary">
                                <span class="la la-power-off text-2xl leading-none ltr:mr-2 rtl:ml-2"></span>
                                Logout
                            </button>
                        </form>
                    <?php endif; ?>

                </div>
            </div>
        </div>
    </div>
</header>

<!-- Menu Bar -->
<aside class="menu-bar menu-sticky">
    <div class="menu-items">
        <div class="menu-header hidden">
            <a href="<?php echo e(url('/')); ?>" class="flex items-center mx-8 mt-8">
                <span class="avatar w-16 h-16">EZY</span>
                <div class="ltr:ml-4 rtl:mr-4 ltr:text-left rtl:text-right">
                    <?php if(auth()->guard('master-dealer')->check()): ?>
                        <h5><?php echo e(auth()->user()->contact_person); ?></h5>
                        <p class="mt-2"><?php echo e(auth()->user()->company_name); ?></p>
                    <?php endif; ?>

                    <?php if(auth()->guard('sub-dealer')->check()): ?>
                        <h5><?php echo e(auth()->user()->contact_person); ?></h5>
                        <p class="mt-2"><?php echo e(auth()->user()->company_name); ?></p>
                    <?php endif; ?>

                    <?php if(auth()->guard('trial-account')->check()): ?>
                        <h5><?php echo e(auth()->user()->contact_name); ?></h5>
                        <p class="mt-2"><?php echo e(auth()->user()->company_name); ?></p>
                    <?php endif; ?>

                    <?php if(auth()->guard('paid-account')->check()): ?>
                        <h5><?php echo e(auth()->user()->contact_name); ?></h5>
                        <p class="mt-2"><?php echo e(auth()->user()->company_name); ?></p>
                    <?php endif; ?>
                </div>
            </a>
            <hr class="mx-8 my-4">
        </div>


        <!--
        <a href="#no-link" class="link" data-target="[data-menu=ui]" data-toggle="tooltip-menu" data-tippy-content="UI">
            <span class="icon la la-cube"></span>
            <span class="title">UI</span>
        </a>
        <a href="#no-link" class="link" data-target="[data-menu=pages]" data-toggle="tooltip-menu"
            data-tippy-content="Pages">
            <span class="icon la la-file-alt"></span>
            <span class="title">Pages</span>
        </a>
        <a href="#no-link" class="link" data-target="[data-menu=applications]" data-toggle="tooltip-menu"
            data-tippy-content="Applications">
            <span class="icon la la-store"></span>
            <span class="title">Applications</span>
        </a>
        <a href="#no-link" class="link" data-target="[data-menu=menu]" data-toggle="tooltip-menu"
            data-tippy-content="Menu">
            <span class="icon la la-sitemap"></span>
            <span class="title">Menu</span>
        </a>

        -->

        <?php if(auth()->guard('admin')->check()): ?>
            <a href="<?php echo e(route('admin.dashboard')); ?>" class="link" data-toggle="tooltip-menu"
               data-tippy-content="Dashboard">
                <span class="icon la la-laptop"></span>
                <span class="title">Dashboard</span>
            </a>


            <a href="<?php echo e(route('admin.dealers')); ?>" class="link" data-toggle="tooltip-menu" data-tippy-content="Dealers">
                <span class="icon la la-handshake"></span>
                <span class="title">Master Dealers</span>
            </a>
            <a href="<?php echo e(route('admin.sub-dealers')); ?>" class="link" data-toggle="tooltip-menu"
               data-tippy-content="Sub Dealers">
                <span class="icon la la-handshake"></span>
                <span class="title">Sub Dealers</span>
            </a>

            <a href="<?php echo e(route('admin.customers')); ?>" class="link" data-toggle="tooltip-menu"
               data-tippy-content="Customers">
                <span class="icon la la-users"></span>
                <span class="title">Customers</span>
            </a>

            <a href="<?php echo e(route('admin.customers')); ?>" class="link" data-toggle="tooltip-menu"
               data-tippy-content="Trial Account">
                <span class="icon la la-user-shield"></span>
                <span class="title">Trial Account</span>
            </a>
        <?php endif; ?>

        <?php if(auth()->guard('master-dealer')->check()): ?>
            <a href="<?php echo e(route('master-dealer.dashboard')); ?>" class="link" data-toggle="tooltip-menu"
               data-tippy-content="Dashboard">
                <span class="icon la la-laptop"></span>
                <span class="title">Dashboard</span>
            </a>


            <a href="<?php echo e(route('master-dealer.dealers')); ?>" class="link" data-toggle="tooltip-menu"
               data-tippy-content="Sub Dealers">
                <span class="icon la la-handshake"></span>
                <span class="title">Sub Dealers</span>
            </a>

            <a href="<?php echo e(route('master-dealer.customers')); ?>" class="link" data-toggle="tooltip-menu"
               data-tippy-content="Customers">
                <span class="icon la la-users"></span>
                <span class="title">Customers</span>
            </a>

            <a href="<?php echo e(route('master-dealer.prospects')); ?>" class="link" data-toggle="tooltip-menu"
               data-tippy-content="Prospects">
                <span class="icon la la-user-shield"></span>
                <span class="title">Prospects</span>
            </a>

        <?php endif; ?>

        <?php if(auth()->guard('sub-dealer')->check()): ?>
            <a href="<?php echo e(route('sub-dealer.dashboard')); ?>" class="link" data-toggle="tooltip-menu"
               data-tippy-content="Dashboard">
                <span class="icon la la-laptop"></span>
                <span class="title">Dashboard</span>
            </a>

            <a href="<?php echo e(route('sub-dealer.licenses')); ?>" class="link" data-toggle="tooltip-menu"
               data-tippy-content="Licenses">
                <span class="icon la la-file-contract"></span>
                <span class="title">Licenses</span>
            </a>

            <a href="<?php echo e(route('sub-dealer.customers')); ?>" class="link" data-toggle="tooltip-menu"
               data-tippy-content="Customers">
                <span class="icon la la-users"></span>
                <span class="title">Customers</span>
            </a>

            <a href="<?php echo e(route('sub-dealer.trial-customers')); ?>" class="link" data-toggle="tooltip-menu"
               data-tippy-content="Prospects">
                <span class="icon la la-user-shield"></span>
                <span class="title">Prospects</span>
            </a>

        <?php endif; ?>


        <?php if(auth()->guard('trial-account')->check()): ?>
            <a href="<?php echo e(route('trial-accounts.dashboard')); ?>" class="link" data-toggle="tooltip-menu"
               data-tippy-content="Dashboard">
                <span class="icon la la-laptop"></span>
                <span class="title">Dashboard</span>
            </a>

            <a href="<?php echo e(route('trial-accounts.payments.index')); ?>" class="link" data-toggle="tooltip-menu"
               data-tippy-content="Payment Methods">
                <span class="icon la la-wallet"></span>
                <span class="title">Payment Methods</span>
            </a>

            <a href="<?php echo e(route('trial-accounts.company-profile')); ?>" class="link" data-toggle="tooltip-menu"
               data-tippy-content="Company Profile">
                <span class="icon la la-building"></span>
                <span class="title">Company Profile</span>
            </a>
        <?php endif; ?>


        <?php if(auth()->guard('paid-account')->check()): ?>
            <a href="<?php echo e(route('paid-accounts.dashboard')); ?>" class="link" data-toggle="tooltip-menu"
               data-tippy-content="Dashboard">
                <span class="icon la la-laptop"></span>
                <span class="title">Dashboard</span>
            </a>

            <a href="<?php echo e(route('paid-accounts.payments.index')); ?>" class="link" data-toggle="tooltip-menu"
               data-tippy-content="Payment Methods">
                <span class="icon la la-wallet"></span>
                <span class="title">Payment Methods</span>
            </a>









            <a href="<?php echo e(route('paid-accounts.company-profile')); ?>" class="link" data-toggle="tooltip-menu"
               data-tippy-content="Company Profile">
                <span class="icon la la-building"></span>
                <span class="title">Company Profile</span>
            </a>
        <?php endif; ?>

    </div>

    <!-- Dashboard -->
    <!--
    <div class="menu-detail" data-menu="dashboard">
        <div class="menu-detail-wrapper">
            <a href="index.html">
                <span class="la la-cube"></span>
                Default
            </a>
            <a href="index.html">
                <span class="la la-file-alt"></span>
                Content
            </a>
            <a href="index.html">
                <span class="la la-shopping-bag"></span>
                Ecommerce
            </a>
        </div>
    </div>
    -->

    <!-- UI -->
    <div class="menu-detail" data-menu="ui">
        <div class="menu-detail-wrapper">
            <h6 class="uppercase">Form</h6>
            <a href="<?php echo e(url('/ui/form/components')); ?>">
                <span class="la la-cubes"></span>
                Components
            </a>
            <a href="<?php echo e(url('/ui/form/input-groups')); ?>">
                <span class="la la-stop"></span>
                Input Groups
            </a>
            <a href="<?php echo e(url('/ui/form/layout')); ?>">
                <span class="la la-th-large"></span>
                Layout
            </a>
            <a href="<?php echo e(url('/ui/form/validations')); ?>">
                <span class="la la-check-circle"></span>
                Validations
            </a>
            <a href="<?php echo e(url('/ui/form/wizards')); ?>">
                <span class="la la-hand-pointer"></span>
                Wizards
            </a>
            <hr>
            <h6 class="uppercase">Components</h6>
            <a href="<?php echo e(url('/ui/components/alerts')); ?>">
                <span class="la la-bell"></span>
                Alerts
            </a>
            <a href="<?php echo e(url('/ui/components/avatars')); ?>">
                <span class="la la-user-circle"></span>
                Avatars
            </a>
            <a href="<?php echo e(url('/ui/components/badges')); ?>">
                <span class="la la-certificate"></span>
                Badges
            </a>
            <a href="<?php echo e(url('/ui/components/buttons')); ?>">
                <span class="la la-play"></span>
                Buttons
            </a>
            <a href="<?php echo e(url('/ui/components/cards')); ?>">
                <span class="la la-layer-group"></span>
                Cards
            </a>
            <a href="<?php echo e(url('/ui/components/collapse')); ?>">
                <span class="la la-arrow-circle-right"></span>
                Collapse
            </a>
            <a href="<?php echo e(url('/ui/components/colors')); ?>">
                <span class="la la-palette"></span>
                Colors
            </a>
            <a href="<?php echo e(url('/ui/components/dropdowns')); ?>">
                <span class="la la-arrow-circle-down"></span>
                Dropdowns
            </a>
            <a href="<?php echo e(url('/ui/components/modal')); ?>">
                <span class="la la-times-circle"></span>
                Modal
            </a>
            <a href="<?php echo e(url('/ui/components/popovers-tooltips')); ?>">
                <span class="la la-thumbtack"></span>
                Popovers & Tooltips
            </a>
            <a href="<?php echo e(url('/ui/components/tabs')); ?>">
                <span class="la la-columns"></span>
                Tabs
            </a>
            <a href="<?php echo e(url('/ui/components/tables')); ?>">
                <span class="la la-table"></span>
                Tables
            </a>
            <a href="<?php echo e(url('/ui/components/toasts')); ?>">
                <span class="la la-bell"></span>
                Toasts
            </a>
            <hr>
            <h6 class="uppercase">Extras</h6>
            <a href="<?php echo e(url('/ui/extras/carousel')); ?>">
                <span class="la la-images"></span>
                Carousel
            </a>
            <a href="<?php echo e(url('/ui/extras/charts')); ?>">
                <span class="la la-chart-area"></span>
                Charts
            </a>
            <a href="<?php echo e(url('/ui/extras/editors')); ?>">
                <span class="la la-keyboard"></span>
                Editors
            </a>
            <a href="<?php echo e(url('/ui/extras/sortable')); ?>">
                <span class="la la-sort"></span>
                Sortable
            </a>
        </div>
    </div>

    <!-- Pages -->
    <div class="menu-detail" data-menu="pages">
        <div class="menu-detail-wrapper">
            <h6 class="uppercase">Authentication</h6>
            <a href="<?php echo e(url('pages/auth/login')); ?>">
                <span class="la la-user"></span>
                Login
            </a>
            <a href="<?php echo e(url('pages/auth/forgot-password')); ?>">
                <span class="la la-user-lock"></span>
                Forgot Password
            </a>
            <a href="<?php echo e(url('pages/auth/register')); ?>">
                <span class="la la-user-plus"></span>
                Register
            </a>
            <hr>
            <h6 class="uppercase">Blog</h6>
            <a href="<?php echo e(url('pages/blog/list')); ?>">
                <span class="la la-list"></span>
                List
            </a>
            <a href="<?php echo e(url('pages/blog/list-card-rows')); ?>">
                <span class="la la-list"></span>
                List - Card Rows
            </a>
            <a href="<?php echo e(url('pages/blog/list-card-columns')); ?>">
                <span class="la la-list"></span>
                List - Card Columns
            </a>
            <a href="<?php echo e(url('pages/blog/add')); ?>">
                <span class="la la-layer-group"></span>
                Add Post
            </a>
            <hr>
            <h6 class="uppercase">Errors</h6>
            <a href="<?php echo e(url('pages/errors/403')); ?>" target="_blank">
                <span class="la la-exclamation-circle"></span>
                403 Error
            </a>
            <a href="<?php echo e(url('pages/errors/404')); ?>" target="_blank">
                <span class="la la-exclamation-circle"></span>
                404 Error
            </a>
            <a href="<?php echo e(url('pages/errors/500')); ?>" target="_blank">
                <span class="la la-exclamation-circle"></span>
                500 Error
            </a>
            <a href="<?php echo e(url('pages/errors/under-maintenance')); ?>" target="_blank">
                <span class="la la-exclamation-circle"></span>
                Under Maintenance
            </a>
            <hr>
            <a href="<?php echo e(url('pages/pricing')); ?>">
                <span class="la la-dollar"></span>
                Pricing
            </a>
            <a href="<?php echo e(url('pages/faqs-layout-1')); ?>">
                <span class="la la-question-circle"></span>
                FAQs - Layout 1
            </a>
            <a href="<?php echo e(url('pages/faqs-layout-2')); ?>">
                <span class="la la-question-circle"></span>
                FAQs - Layout 2
            </a>
            <a href="<?php echo e(url('pages/invoice')); ?>">
                <span class="la la-file-invoice-dollar"></span>
                Invoice
            </a>
        </div>
    </div>

    <!-- Applications -->
    <div class="menu-detail" data-menu="applications">
        <div class="menu-detail-wrapper">
            <a href="<?php echo e(url('applications/media-library')); ?>">
                <span class="la la-image"></span>
                Media Library
            </a>
            <a href="<?php echo e(url('applications/point-of-sale')); ?>">
                <span class="la la-shopping-bag"></span>
                Point Of Sale
            </a>
            <a href="<?php echo e(url('applications/to-do')); ?>">
                <span class="la la-check-circle"></span>
                To Do
            </a>
            <a href="<?php echo e(url('applications/chat')); ?>">
                <span class="la la-comment"></span>
                Chat
            </a>
        </div>
    </div>

    <!-- Menu -->
    <div class="menu-detail" data-menu="menu">
        <div class="menu-detail-wrapper">
            <a href="#no-link">
                <span class="la la-cube"></span>
                Default
            </a>
            <a href="#no-link">
                <span class="la la-file-alt"></span>
                Content
            </a>
            <a href="#no-link">
                <span class="la la-shopping-bag"></span>
                Ecommerce
            </a>
            <hr>
            <a href="#no-link">
                <span class="la la-layer-group"></span>
                Main Level
            </a>
            <a href="#no-link">
                <span class="la la-arrow-circle-right"></span>
                Grand Parent
            </a>
            <button class="collapse-header active" data-toggle="collapse" data-target="#menuGrandParentOpen">
                <span class="collapse-indicator la la-arrow-circle-down"></span>
                Grand Parent Open
            </button>
            <div id="menuGrandParentOpen" class="collapse open">
                <a href="#no-link">
                    <span class="la la-layer-group"></span>
                    Sub Level
                </a>
                <a href="#no-link">
                    <span class="la la-arrow-circle-right"></span>
                    Parent
                </a>
                <button class="collapse-header active" data-toggle="collapse" data-target="#menuParentOpen">
                    <span class="collapse-indicator la la-arrow-circle-down"></span>
                    Parent Open
                </button>
                <div id="menuParentOpen" class="collapse open">
                    <a href="#no-link">
                        <span class="la la-layer-group"></span>
                        Sub Level
                    </a>
                </div>
            </div>
            <hr>
            <h6 class="uppercase">Menu Types</h6>
            <a href="#no-link" data-toggle="menu-type" data-value="default">
                <span class="la la-hand-point-right"></span>
                Default
            </a>
            <a href="#no-link" data-toggle="menu-type" data-value="hidden">
                <span class="la la-hand-point-left"></span>
                Hidden
            </a>
            <a href="#no-link" data-toggle="menu-type" data-value="icon-only">
                <span class="la la-th-large"></span>
                Icons Only
            </a>
            <a href="#no-link" data-toggle="menu-type" data-value="wide">
                <span class="la la-arrows-alt-h"></span>
                Wide
            </a>
        </div>
    </div>
</aside>


<?php /**PATH /home/ezyorder/public_html/ezypos.ezyorder.com.my/ezypos-backend/resources/views/partials/_navigation.blade.php ENDPATH**/ ?>