<?php $__env->startSection('content'); ?>
<div class="container-xxl flex-grow-1 container-p-y"><div class="card"><div class="card-header"><h5 class="mb-0">Referrals</h5></div>
<div class="table-responsive"><table class="table"><thead><tr><th>Code</th><th>Referrer</th><th>Referred</th><th>Reward</th><th>Status</th><th></th></tr></thead><tbody>
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $referrals; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $referral): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr><td><?php echo e($referral->code); ?></td><td><?php echo e($referral->referrer->name ?? 'N/A'); ?></td><td><?php echo e($referral->referredUser->name ?? 'N/A'); ?></td><td>$<?php echo e(number_format($referral->reward_amount,2)); ?></td><td><?php echo e(ucfirst($referral->status)); ?></td><td><a href="<?php echo e(route('admin.referrals.edit',$referral)); ?>" class="btn btn-sm btn-outline-primary">Edit</a></td></tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
</tbody></table></div><div class="card-body"><?php echo e($referrals->links()); ?></div></div></div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH F:\xampp\htdocs\G_desizn\marketplace\resources\views\admin\referrals\index.blade.php ENDPATH**/ ?>