<table class="table table-borderless best-selling-courses recent-transactions">
    <thead>
        <tr>
            <th><?php echo e(__('plan')); ?></th>
            <th><?php echo e(__('price')); ?></th>
            <th><?php echo e(__('subscriptions')); ?></th>
        </tr>
    </thead>

    <tbody>
        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::openLoop(); ?><?php endif; ?><?php $__empty_1 = true; $__currentLoopData = $best_selling_plans ?? []; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plan_id => $total): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::startLoop($loop->index); ?><?php endif; ?>
            <?php
                $plan = App\Models\Package::find($plan_id);
                if(!$plan) {
                    continue;
                }
            ?>
            <tr>
                <td><?php echo e($plan->name ?? 'N/A'); ?></td>
                <td><?php echo e(get_currency(number_format($plan->price ?? 0, 2))); ?></td>
                <td><?php echo e($total); ?></td>
            </tr>
        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::endLoop(); ?><?php endif; ?><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::closeLoop(); ?><?php endif; ?>
            <tr>
                <td colspan="3"><?php echo e(__('no_best_selling_plans_found')); ?></td>
            </tr>
        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
    </tbody>
</table>
<?php /**PATH /Users/md.emonmiah/Desktop/Porosh Vai/OTT Platfrom/ott_backend/resources/views/admin/dashboard/best_selling_package_table.blade.php ENDPATH**/ ?>