


<?php $__env->startSection('styles'); ?>


<link href="<?php echo e(asset('assets/admin/vendor/datatables/dataTables.bootstrap4.min.css')); ?>" rel="stylesheet">

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

<?php $__env->startSection('content'); ?>
    <!-- User Dashboard Area Start -->
    <section class="user-dashboard">
        <div class="user-dashboard-menu-area">
            <div class="container">
                <div class="row">
                    <div class="col-lg-12">
                        <h4 class="heading-title">
                            <?php echo e(__('Referral History')); ?>

                        </h4>
                        <?php echo $__env->make('student.includes.nav', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    </div>
                </div>
            </div>
        </div>
        <div class="user-dashboard-content-area">


            <div class="container">
				<div class="row">
					<div class="col-lg-12">
						<div class="purchase-list">

							<div class="table-responsive">

								<table id="myTable" class="table table-bordered">
									<thead>
										<tr>
											<th><?php echo e(__('User Name')); ?></th>
											<th><?php echo e(__('Course')); ?></th>
										</tr>
									</thead>
									<tbody>
										<?php $__currentLoopData = $refers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ref): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
										  <tr>
                                            <td><?php echo e($ref->affilate->showName()); ?></td>
                                            <td><a href="<?php echo e(route("front.course",$ref->course->slug)); ?>"><?php echo e($ref->course->title); ?></a></td>
										  </tr>
										<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
									</tbody>
								</table>
							</div>
						</div>
					</div>
				</div>
			</div>
        </div>
    </section>
	<!-- User Dashboard Area End -->




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

<?php $__env->startSection('scripts'); ?>


<script src="<?php echo e(asset('assets/admin/vendor/datatables/jquery.dataTables.min.js')); ?>"></script>
<script src="<?php echo e(asset('assets/admin/vendor/datatables/dataTables.bootstrap4.min.js')); ?>"></script>



<script type="text/javascript">

$('#myTable').DataTable({
			   ordering: false,

            });




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

<?php echo $__env->make('layouts.front', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/royaldem/public_html/project/resources/views/student/affilate/history.blade.php ENDPATH**/ ?>