<?php $__env->startSection('content'); ?>
    <div class="customer-layout">
        <div class="customer-layout-header">
            <div class="flex-align">
                <div class="customer-layout-header-toggle">
                    <i class="las la-bars"></i>
                </div>
                <a href="<?php echo e(route('admin.customer.list')); ?>" class="link">
                    <span class="icon">
                        <i class="fa-solid fa-arrow-left"></i>
                    </span>
                    <span class="text"><?php echo app('translator')->get('Customer List'); ?></span>
                </a>
            </div>

            <div class="customer-layout-header-content">
                <ul class="customer-layout-header-tab">
                    <li class="customer-layout-header-tab-item">
                        <a href="<?php echo e(route('admin.customer.overview', $user->id)); ?>" class="customer-layout-header-tab-link <?php echo e(menuActive('admin.customer.overview')); ?>">
                            <span class="title"><?php echo app('translator')->get('Overview'); ?></span>
                        </a>
                    </li>
                    <li class="customer-layout-header-tab-item">
                        <a href="<?php echo e(route('admin.customer.ticket', $user->id)); ?>" class="customer-layout-header-tab-link <?php echo e(menuActive('admin.customer.ticket')); ?>">
                            <span class="title"><?php echo app('translator')->get('Tickets'); ?></span>
                        </a>
                    </li>
                    <li class="customer-layout-header-tab-item">
                        <a href="<?php echo e(route('admin.customer.happiness.rating', $user->id)); ?>" class="customer-layout-header-tab-link <?php echo e(menuActive('admin.customer.happiness.rating')); ?>">
                            <span class="title"><?php echo app('translator')->get('Happiness Rating'); ?></span>
                        </a>
                    </li>
                    <li class="customer-layout-header-tab-item">
                        <a href="<?php echo e(route('admin.customer.attachment', $user->id)); ?>" class="customer-layout-header-tab-link <?php echo e(menuActive('admin.customer.attachment')); ?>">
                            <span class="title"><?php echo app('translator')->get('Attachments'); ?></span>
                        </a>
                    </li>
                </ul>
            </div>
        </div>

        <div class="customer-layout-wrapper">
            <div class="customer-layout-sidebar">
                <div class="customer-layout-sidebar-close">
                    <i class="las la-times"></i>
                </div>
                <div class="customer-layout-sidebar-block">
                    <div class="customer-sidebar-info">
                        <div class="thumb">
                            <img src="<?php echo e(getImage(getFilePath('userProfile') . '/' . $user->image, getFileSize('userProfile'), true)); ?>" alt="customer">
                        </div>
                        <div class="info">
                            <h3 class="name"><?php echo e($user->fullname); ?></h3>
                            <p class="desc"><?php echo app('translator')->get('Created'); ?>: <?php echo e(showDateTime($user->created_at)); ?></p>
                        </div>
                        <a href="<?php echo e(route('admin.customer.edit', $user->id)); ?>" class="edit-btn">
                            <?php echo $__env->make('admin.partials.svg.edit', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                        </a>
                    </div>
                </div>

                <div class="customer-layout-sidebar-block">
                    <p class="title"><?php echo app('translator')->get('Contact Information'); ?></p>
                    <div class="customer-sidebar-contact">
                        <a href="mailto:<?php echo e($user->email); ?>" class="contact-link">
                            <span class="icon">
                                <i class="fa-solid fa-envelope"></i>
                            </span>
                            <span class="text"><?php echo e($user->email); ?></span>
                        </a>

                        <?php if($user->mobile): ?>
                            <a href="tel:<?php echo e($user->mobile); ?>" class="contact-link">
                                <span class="icon">
                                    <i class="fa-solid fa-phone"></i>
                                </span>
                                <span class="text"><?php echo e($user->mobile); ?></span>
                            </a>
                        <?php else: ?>
                            <span class="contact-link">
                                <span class="icon">
                                    <i class="fa-solid fa-phone"></i>
                                </span>
                                <span class="text"><?php echo app('translator')->get('Not available'); ?></span>
                            </span>
                        <?php endif; ?>

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

            <?php echo $__env->yieldContent('sub_content'); ?>

        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\laragon\www\projects\custom_viserdesk\Files\core\resources\views/admin/customer/index.blade.php ENDPATH**/ ?>