

<?php $__env->startPush('css'); ?>
    
<?php $__env->stopPush(); ?>

<?php $__env->startSection('contents'); ?>
<div class="breadcrumb-area">
    <h3 class="title"><?php echo app('translator')->get('My Referred'); ?></h3>
    <ul class="breadcrumb">
        <li>
            <a href="<?php echo e(route('user.dashboard')); ?>"><?php echo app('translator')->get('Dashboard'); ?></a>
        </li>
        <li>
            <?php echo app('translator')->get('My Referred'); ?>
        </li>
    </ul>
</div>


<div class="dashboard--content-item">
    <div class="table-responsive table--mobile-lg">
        <table class="table bg--body">
            <thead>
                <tr>
                    <tr>
                        <th><?php echo e(__('Serial No')); ?></th>
                        <th><?php echo e(__('Name')); ?></th>
                        <th><?php echo e(__('Joined At')); ?></th>
                    </tr>
                </tr>
            </thead>
            <tbody>
              <?php if(count($referreds) == 0): ?>
                <tr>
                  <td colspan="12">
                    <h4 class="text-center m-0 py-2"><?php echo e(__('No Data Found')); ?></h4>
                  </td>
                </tr>
                <?php else: ?>
                  <?php $__currentLoopData = $referreds; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>  
                    <tr>
                        <td data-label="<?php echo e(__('Serial No')); ?>">
                            <div>
                                <?php echo e($loop->iteration); ?>

                            </div>
                        </td>
                        <td data-label="<?php echo e(__('Name')); ?>">
                            <div>
                                <?php echo e(ucfirst($data->name)); ?>

                            </div>
                        </td>
                        <td data-label="<?php echo e(__('Joined At')); ?>">
                            <div>
                                <?php echo e($data->created_at->diffForHumans()); ?>

                            </div>
                        </td>
                    </tr>
                  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php endif; ?>
            </tbody>
        </table>
    </div>
    <?php echo e($referreds->links()); ?>

</div>


<?php $__env->stopSection(); ?>

<?php $__env->startPush('js'); ?>

<?php $__env->stopPush(); ?>
<?php echo $__env->make('layouts.user', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\mamp\htdocs\geniushyip\project\resources\views/user/referral/index.blade.php ENDPATH**/ ?>