<div class="app_offcanvas profile_offcanvas">
    <button class="app_offcanvas_close profile_offcanvas_close">
        <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
            <g clipPath="url(#clip0_1458_27430)">
                <path d="M15.625 4.375L4.375 15.625" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" />
                <path d="M15.625 15.625L4.375 4.375" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" />
            </g>
            <defs>
                <clipPath id="clip0_1458_27430">
                    <rect width="20" height="20" fill="white" />
                </clipPath>
            </defs>
        </svg>
    </button>
    <div class="app_offcanvas_header">
        <div class="profile_info">
            <?php
                $admin = auth('admin')->user();
            ?>
            <div class="profile_info_image">
                <img src="<?php echo e(getImage(getFilePath('adminProfile') . '/' . $admin->image, avatar: true)); ?>" alt='profile' />
            </div>
            <div class="profile_info_content">
                <p class="profile_info_name">
                    <?php echo e($admin->name); ?>

                </p>
                <p class="profile_info_item">
                    <?php echo e($admin->email); ?>

                </p>
                <p class="profile_info_item">
                    <?php echo app('translator')->get('Username'); ?>: <?php echo e($admin->username); ?>

                </p>
            </div>
        </div>
    </div>
    <div class="app_offcanvas_body">
        <div class="profile-nav">

            <div class="profile-nav-block">
                <a href="<?php echo e(route('admin.profile')); ?>" class="profile-nav-link"><?php echo app('translator')->get('Profile Setting'); ?></a>
                <a href="<?php echo e(route('admin.password')); ?>" class="profile-nav-link"><?php echo app('translator')->get('Change Password'); ?></a>
                <?php if($admin->super_admin): ?>
                    <a href="<?php echo e(route('admin.setting.general')); ?>" class="profile-nav-link"><?php echo app('translator')->get('General Setting'); ?></a>
                    <a href="<?php echo e(route('admin.setting.ticket.tag.list')); ?>" class="profile-nav-link"><?php echo app('translator')->get('Ticket General Setting'); ?></a>
                    <a href="<?php echo e(route('admin.department.list')); ?>" class="profile-nav-link"><?php echo app('translator')->get('Department'); ?></a>
                <?php endif; ?>
            </div>

            <div class="profile-nav-block">
                <a href="<?php echo e(route('admin.logout')); ?>" class="profile-nav-link logout">
                    <span class="icon">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
                            <path d="M10.6673 8.66683V7.3335H4.66732V5.3335L1.33398 8.00016L4.66732 10.6668V8.66683H10.6673Z" fill="currentColor" />
                            <path d="M13.3333 2H7.33333C6.598 2 6 2.598 6 3.33333V6H7.33333V3.33333H13.3333V12.6667H7.33333V10H6V12.6667C6 13.402 6.598 14 7.33333 14H13.3333C14.0687 14 14.6667 13.402 14.6667 12.6667V3.33333C14.6667 2.598 14.0687 2 13.3333 2Z" fill="currentColor" />
                        </svg>
                    </span>
                    <?php echo app('translator')->get('Logout'); ?>
                </a>
            </div>
        </div>
    </div>
</div>
<?php /**PATH C:\laragon\www\projects\custom_viserdesk\Files\core\resources\views/admin/partials/profile_canvas.blade.php ENDPATH**/ ?>