<div class="navbar-top">
    <div class="navbar-top-left">
        <div class="brand-logo">
            <a href="<?php echo e(route('admin.dashboard.index')); ?>">
                <img src="<?php echo e(asset('vendor/webkul/admin/assets/images/logo.svg')); ?>" alt="<?php echo e(config('app.name')); ?>"/>
            </a>
        </div>
    </div>

    <div class="navbar-top-right">
        <?php if(bouncer()->hasPermission('leads.create')
            || bouncer()->hasPermission('quotes.create')
            || bouncer()->hasPermission('mail.create')
            || bouncer()->hasPermission('contacts.persons.create')
            || bouncer()->hasPermission('contacts.organizations.create')
            || bouncer()->hasPermission('products.create')
            || bouncer()->hasPermission('settings.automation.attributes.create')
            || bouncer()->hasPermission('settings.user.roles.create')
            || bouncer()->hasPermission('settings.user.users.create')
        ): ?>
            <div class="quick-create">
                <span class="button dropdown-toggle">
                    <i class="icon plus-white-icon"></i>
                </span>

                <div class="dropdown-list bottom-right">

                    <div class="quick-link-container">
                        <?php if(bouncer()->hasPermission('leads.create')): ?>
                            <div class="quick-link-item">
                                <a href="<?php echo e(route('admin.leads.create')); ?>">
                                    <i class="icon lead-icon"></i>

                                    <span><?php echo e(__('admin::app.layouts.lead')); ?></span>
                                </a>
                            </div>
                        <?php endif; ?>

                        <?php if(bouncer()->hasPermission('quotes.create')): ?>
                            <div class="quick-link-item">
                                <a href="<?php echo e(route('admin.quotes.create')); ?>">
                                    <i class="icon quotation-icon"></i>

                                    <span><?php echo e(__('admin::app.layouts.quote')); ?></span>
                                </a>
                            </div>
                        <?php endif; ?>

                        <?php if(bouncer()->hasPermission('mail.create')): ?>
                            <div class="quick-link-item">
                                <a href="<?php echo e(route('admin.mail.index', ['route' => 'compose'])); ?>">
                                    <i class="icon mail-icon"></i>

                                    <span><?php echo e(__('admin::app.layouts.email')); ?></span>
                                </a>
                            </div>
                        <?php endif; ?>

                        <?php if(bouncer()->hasPermission('contacts.persons.create')): ?>
                            <div class="quick-link-item">
                                <a href="<?php echo e(route('admin.contacts.persons.create')); ?>">
                                    <i class="icon person-icon"></i>

                                    <span><?php echo e(__('admin::app.layouts.person')); ?></span>
                                </a>
                            </div>
                        <?php endif; ?>

                        <?php if(bouncer()->hasPermission('contacts.organizations.create')): ?>
                            <div class="quick-link-item">
                                <a href="<?php echo e(route('admin.contacts.organizations.create')); ?>">
                                    <i class="icon organization-icon"></i>

                                    <span><?php echo e(__('admin::app.layouts.organization')); ?></span>
                                </a>
                            </div>
                        <?php endif; ?>

                        <?php if(bouncer()->hasPermission('products.create')): ?>
                            <div class="quick-link-item">
                                <a href="<?php echo e(route('admin.products.create')); ?>">
                                    <i class="icon product-icon"></i>

                                    <span><?php echo e(__('admin::app.layouts.product')); ?></span>
                                </a>
                            </div>
                        <?php endif; ?>

                        <?php if(bouncer()->hasPermission('settings.automation.attributes.create')): ?>
                            <div class="quick-link-item">
                                <a href="<?php echo e(route('admin.settings.attributes.create')); ?>">
                                    <i class="icon attribute-icon"></i>

                                    <span><?php echo e(__('admin::app.layouts.attribute')); ?></span>
                                </a>
                            </div>
                        <?php endif; ?>

                        <?php if(bouncer()->hasPermission('settings.user.roles.create')): ?>
                            <div class="quick-link-item">
                                <a href="<?php echo e(route('admin.settings.roles.create')); ?>">
                                    <i class="icon role-icon"></i>

                                    <span><?php echo e(__('admin::app.layouts.role')); ?></span>
                                </a>
                            </div>
                        <?php endif; ?>

                        <?php if(bouncer()->hasPermission('settings.user.users.create')): ?>
                            <div class="quick-link-item">
                                <a href="<?php echo e(route('admin.settings.users.create')); ?>">
                                    <i class="icon user-icon"></i>

                                    <span><?php echo e(__('admin::app.layouts.user')); ?></span>
                                </a>
                            </div>
                        <?php endif; ?>
                    </div>

                </div>
            </div>
        <?php endif; ?>

        <div class="profile-info">
            <div class="dropdown-toggle">
                <?php if(auth()->guard('user')->user()->image): ?>
                    <div class="avatar">
                        <img src="<?php echo e(auth()->guard('user')->user()->image_url); ?>"/>
                    </div>
                <?php else: ?>
                    <div class="avatar">
                        <span class="icon avatar-icon"></span>
                    </div>
                <?php endif; ?>

                <div class="info">
                    <span class="howdy"><?php echo e(__('admin::app.layouts.howdy')); ?></span>
                    <span class="user"><?php echo e(strtok(auth()->guard('user')->user()->name, ' ')); ?></span>
                </div>

                <i class="icon ellipsis-icon"></i>
            </div>

            <div class="dropdown-list bottom-right">
                <span class="app-version">
                    <img
                        src="<?php echo e(url('cache/logo.png')); ?>"
                        width="24"
                        style="margin-bottom: -5px;"
                    />

                    <!-- Version -->
                    <?php echo e(__('admin::app.layouts.app-version', ['version' => 'v' . config('app.version')])); ?>

                </span>

                <div class="dropdown-container">
                    <ul>
                        <li>
                            <a href="<?php echo e(route('admin.user.account.edit')); ?>"><?php echo e(__('admin::app.layouts.my-account')); ?></a>
                        </li>

                        <li>
                            <form id="adminLogout" action="<?php echo e(route('admin.session.destroy')); ?>" method="POST">
                                <?php echo csrf_field(); ?>

                                <?php echo method_field('DELETE'); ?>
                            </form>

                            <a
                                href="javascript:void(0);"
                                onclick="event.preventDefault(); document.getElementById('adminLogout').submit();">
                                <?php echo e(__('admin::app.layouts.sign-out')); ?>

                            </a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
<?php /**PATH C:\xampp\htdocs\laravel-crm\packages\Webkul\Admin\src/resources/views/layouts/nav-top.blade.php ENDPATH**/ ?>