<table class="table table-borderless best-selling-courses">
    <thead>
        <tr>
            <th><?php echo e(__('client')); ?></th>
            <th><?php echo e(__('price')); ?></th>
            <th><?php echo e(__('date')); ?></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 = $recent_subscriptions ?? []; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subscription): $__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
                $client = App\Models\User::where('client_id', $subscription->client_id)->first();
                if(!$client) {
                    continue;
                }
            ?>
            <tr>
                <td>
                    <div class="instructors-pro d-flex align-items-center">
                        <div class="inst-avtar">
                            <img src="<?php echo e(getFileLink('image', $client->image, 'users', '80x80')); ?>"
                                alt="<?php echo e($client->first_name.' '.$client->last_name ?? 'Client'); ?>">
                        </div>
                        <div class="inst-intro">
                            <h6><?php echo e($client->first_name.' '.$client->last_name ?? 'Client'); ?></h6>
                            <p><?php echo e($client->email ?? ''); ?></p>
                        </div>
                    </div>
                </td>
                <td><?php echo e(get_currency(number_format($subscription->price, 2))); ?></td>
                <td><?php echo e($subscription->created_at?->format('m-d-Y h:i a')); ?></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_recent_subscriptions')); ?></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/recent_subscription_table.blade.php ENDPATH**/ ?>