<?php $__env->startSection('content'); ?>
    <!-- Favorite Softwares Table Section -->
    <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('Action'); ?></th>
                    </tr>
                </thead>
                <tbody>
                    <?php $__empty_1 = true; $__currentLoopData = $favSoftwares; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $software): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                        <tr>
                            <td class="text-start">
                                <div class="author-info">
                                    <div class="thumb">
                                        <img src="<?php echo e(poster(@$software->software->image ? getFilePath('software') . '/' . @$software->software->image : 'assets/images/default.png', false)); ?>"
                                            alt="<?php echo app('translator')->get('Software Image'); ?>">
                                    </div>
                                    <div class="content" data-bs-toggle="tooltip" data-bs-placement="top"
                                        title="<?php echo e(__($software->software->name)); ?>">
                                        <?php echo e(__(strLimit($software->software->name, 30))); ?>

                                    </div>
                                </div>
                            </td>
                            <td><?php echo e(__($software->software->category->name)); ?></td>
                            <td><span class="text-nowrap"><?php echo e(showAmount($software->software->price)); ?></span></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('software.details', [slug($software->software->name), $software->software->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 colspan="100%" class="text-center">
                                <?php echo $__env->make('Template::partials.empty', [
                                    'message' => 'Favorite software not found!',
                                ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                            </td>
                        </tr>
                    <?php endif; ?>
                </tbody>
            </table>

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

            <?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/software.blade.php ENDPATH**/ ?>