<?php $__env->startSection('content'); ?>
    <div class="table-section">
        <div class="table-area">
            <table class="table table--custom table-responsive--xl">
                <thead>
                    <tr>
                        <th><?php echo app('translator')->get('Name'); ?></th>
                        <th><?php echo app('translator')->get('Category'); ?></th>
                        <th><?php echo app('translator')->get('Price'); ?></th>
                        <th><?php echo app('translator')->get('Delivery Time'); ?></th>
                        <th><?php echo app('translator')->get('Action'); ?></th>
                    </tr>
                </thead>
                <tbody>
                    <?php $__empty_1 = true; $__currentLoopData = $favServices; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $service): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                        <tr>
                            <td>
                                <div class="author-info">
                                    <div class="thumb">
                                        <img src="<?php echo e(poster(@$service->service->image ? getFilePath('service') . '/' . @$service->service->image : 'assets/images/default.png', false)); ?>"
                                            alt="<?php echo app('translator')->get('Service Image'); ?>">
                                    </div>
                                    <div class="content text-start" data-bs-toggle="tooltip" data-bs-placement="top"
                                        title="<?php echo e(__($service->service->name)); ?>">
                                        <?php echo e(__(strLimit($service->service->name, 30))); ?>

                                    </div>

                                </div>
                            </td>
                            <td><?php echo e(__($service->service->category->name)); ?></td>
                            <td><span class="text-nowrap"><?php echo e(showAmount($service->service->price)); ?></span></td>
                            <td><?php echo e($service->service->delivery_time); ?> <?php echo app('translator')->get('Days'); ?></td>
                            <td>
                                <a class="btn btn--base text-white btn-sm ms-1 details-btn" data-bs-toggle="tooltip"
                                    data-bs-placement="top"
                                    href="<?php echo e(route('service.details', [slug($service->service->name), $service->service->id])); ?>"
                                    aria-label="<?php echo app('translator')->get('Details'); ?>" title="<?php echo app('translator')->get('Details'); ?>">
                                    <i class="las la-desktop"></i>
                                </a>
                            </td>
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                        <tr>
                            <td class="text-center" colspan="100%">
                                <?php echo $__env->make('Template::partials.empty', [
                                    'message' => 'Favorite service not found!',
                                ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                            </td>
                        </tr>
                    <?php endif; ?>
                </tbody>
            </table>

            <!-- Pagination Links -->
            <?php if($favServices->hasPages()): ?>
                <?php echo e(paginateLinks($favServices)); ?>

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

<?php echo $__env->make('Template::layouts.master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/mojibor/work.mojibor.com/core/resources/views/templates/basic/buyer/favorite/service.blade.php ENDPATH**/ ?>