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

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



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

<!-- ============================================================== -->

<!-- Start right Content here -->

<!-- ============================================================== -->

<div class="content-page">

	<!-- Start content -->

	<div class="content">

		<div class="container-fluid">

			<div class="row">

				<div class="col-sm-12">

					<div class="page-title-box">

						<div class="row align-items-center">

							<div class="col-md-8">

								<h4 class="page-title mb-0">Registered Students</h4>

								<ol class="breadcrumb m-0">

									<li class="breadcrumb-item"><a href="#">Student Module</a>
									</li>

									<li class="breadcrumb-item active" aria-current="page"> Students List</li>

								</ol>

							</div>

							<div class="col-md-4">

								<div class="float-right d-none d-md-block">

									<div class="dropdown">

										<!-- <button class="btn btn-success btn-rounded" type="button"  data-toggle="modal" data-target="#addGradeModal">

                                          <i class="fa fa-plus"></i> Add New Grade

                                      </button> -->



									</div>

								</div>

							</div>

						</div>



					</div>

				</div>

			</div>

			<!-- end row -->

			<div class="row">

				<div class="col-lg-12">

					<div class="card">

						<div class="card-body">



							<!-- Nav tabs -->
							<ul class="nav nav-tabs" role="tablist">
								<?php $__currentLoopData = $grades; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $gg): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
								<li class="nav-item">
									<a class="nav-link <?php if($loop->iteration == 1): ?> active <?php endif; ?>" data-toggle="tab" href="#grade_<?php echo e($gg->id); ?>" role="tab" aria-selected="true">
                                                    <span class="d-none d-md-block"><?php echo e($gg->name); ?></span><span class="d-block d-md-none"><i class="mdi mdi-home-variant h5"></i></span>
                                                </a>

								</li>
								<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

							</ul>

							<!-- Tab panes -->
							<div class="tab-content">

								<?php $__currentLoopData = $grades; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ggg): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
								<div class="tab-pane p-3 <?php if($loop->iteration == 1 ): ?> active <?php endif; ?>" id="grade_<?php echo e($ggg->id); ?>" role="tabpanel">
									<p class="font-14 mb-0">
										<div class="table-responsive mt-4">

											<table class="table table-striped table-hover mb-0">

												<thead>

													<tr>

														<th scope="col">Reg # </th>
														<th scope="col">Student Name</th>
														<th scope="col">Grades</th>
														<th scope="col">Courses</th>
														<th scope="col">Applied Date</th>

														<th scope="col">Registration Fee</th>

														<th scope="col">Parent/Guardian</th>
														<th scope="col">Contact #</th>
														<th scope="col" colspan="2">Action</th>

													</tr>

												</thead>

												<tbody>
													<?php $__currentLoopData = $students->where('grade_id' , $ggg->id); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $stu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
													<tr>
														<th scope="row">#<?php echo e($stu->id); ?></th>
														<td> <strong><?php echo e($stu->student->family_name); ?> <?php echo e($stu->student->given_name); ?></strong> </td>
														<td align="center"><?php echo e($stu->grade->name); ?></td>
														<td align="center"><span class="badge badge-success"><?php echo e($stu->course->name); ?></span>
														</td>
														<td align="center"><?php echo e($stu->created_at); ?></td>
														<td align="center">$<?php echo e($stu->total_paid); ?></td>
														<td><?php echo e($stu->student->parent->name); ?></td>
														<td><?php echo e($stu->student->cell_no); ?></td>
														<td>
															<div>
																<a href="<?php echo e(route('admin.studentdetail' , $stu->id)); ?>"class="text-success"><i class="mdi mdi-account-search h4"></i></a>
																<a href="#" class="text-danger"><i class="mdi mdi-delete-forever h4"></i></a>
															</div>
														</td>

													</tr>
													<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

												</tbody>

											</table>

										</div>

										<nav aria-label="Page navigation example">
											<ul class="pagination justify-content-end mb-0  m-t-15">
												<li class="page-item disabled">
													<a class="page-link" href="#" tabindex="-1">Previous</a>
												</li>
												<li class="page-item"><a class="page-link" href="#">1</a>
												</li>
												<li class="page-item"><a class="page-link" href="#">2</a>
												</li>
												<li class="page-item"><a class="page-link" href="#">3</a>
												</li>
												<li class="page-item">
													<a class="page-link" href="#">Next</a>
												</li>
											</ul>
										</nav>
									</p>
								</div>
								<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

							</div>

						</div>




					</div>

				</div>

			</div>

			<!-- end row -->

		
		
		
		<!-- Assignment section--->
		<div class="row">

				<div class="col-sm-12">

					<div class="page-title-box">

						<div class="row align-items-center">

							<div class="col-md-8">

								<h4 class="page-title mb-0">Assignments</h4>

								

							</div>

							<div class="col-md-4">

								<div class="float-right d-none d-md-block">

									<div class="dropdown">

										<!-- <button class="btn btn-success btn-rounded" type="button"  data-toggle="modal" data-target="#addGradeModal">

                                          <i class="fa fa-plus"></i> Add New Grade

                                      </button> -->



									</div>

								</div>

							</div>

						</div>



					</div>

				</div>

			</div>

			<!-- end row -->

			<div class="row">

				<div class="col-lg-12">

					<div class="card">

						<div class="card-body">



							<!-- Nav tabs -->
							<ul class="nav nav-tabs" role="tablist">
								<?php $__currentLoopData = $grades; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $gg): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
								<li class="nav-item">
									<a class="nav-link <?php if($loop->iteration == 1): ?> active <?php endif; ?>" data-toggle="tab" href="#grade_<?php echo e($gg->id); ?>" role="tab" aria-selected="true">
                                                    <span class="d-none d-md-block"><?php echo e($gg->name); ?></span><span class="d-block d-md-none"><i class="mdi mdi-home-variant h5"></i></span>
                                                </a>

								</li>
								<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

							</ul>

							<!-- Tab panes -->
							<div class="tab-content">

								<?php $__currentLoopData = $grades; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ggg): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
								<div class="tab-pane p-3 <?php if($loop->iteration == 1 ): ?> active <?php endif; ?>" id="grade_<?php echo e($ggg->id); ?>" role="tabpanel">
									<p class="font-14 mb-0">
										<div class="table-responsive mt-4">

											<table class="table table-striped table-hover mb-0">

												<thead>

													<tr>

														<th scope="col">Sr # </th>
														<th scope="col">Assignment Title</th>
														<th scope="col">Assigned By</th>
														<th scope="col">Course</th>
														<th scope="col">Attachment</th>
														<th scope="col">Assigned Date</th>
														<th scope="col">Completion Date</th>
														<th scope="col" >Total Submssion</th>

													</tr>

												</thead>

												<tbody>
													
													<tr>
														<th scope="row">1</th>
														<td> <strong>Test Submission</strong> </td>
														<td align="center">Teacher Name</td>
														<td align="center">Course Title</span></td>
													 <td align="center"><i class="mdi mdi-attachment h4"></i></span></td>
														<td align="center">12-10-2020</td>
														<td align="center">18-10-2020</td>
														
														<td  align="center">
															<span class="badge badge-warning">4</span>
														</td>

													</tr>
												

												</tbody>

											</table>

										</div>

										<nav aria-label="Page navigation example">
											<ul class="pagination justify-content-end mb-0  m-t-15">
												<li class="page-item disabled">
													<a class="page-link" href="#" tabindex="-1">Previous</a>
												</li>
												<li class="page-item"><a class="page-link" href="#">1</a>
												</li>
												<li class="page-item"><a class="page-link" href="#">2</a>
												</li>
												<li class="page-item"><a class="page-link" href="#">3</a>
												</li>
												<li class="page-item">
													<a class="page-link" href="#">Next</a>
												</li>
											</ul>
										</nav>
									</p>
								</div>
								<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

							</div>

						</div>




					</div>

				</div>

			</div>

			<!-- end row -->

	<!-- Test/ Quizzes section--->
		<div class="row">

				<div class="col-sm-12">

					<div class="page-title-box">

						<div class="row align-items-center">

							<div class="col-md-8">

								<h4 class="page-title mb-0">Test/Quizzes </h4>

								

							</div>

							<div class="col-md-4">

								<div class="float-right d-none d-md-block">

									<div class="dropdown">

										<!-- <button class="btn btn-success btn-rounded" type="button"  data-toggle="modal" data-target="#addGradeModal">

                                          <i class="fa fa-plus"></i> Add New Grade

                                      </button> -->



									</div>

								</div>

							</div>

						</div>



					</div>

				</div>

			</div>

			<!-- end row -->

			<div class="row">

				<div class="col-lg-12">

					<div class="card">

						<div class="card-body">



							<!-- Nav tabs -->
							<ul class="nav nav-tabs" role="tablist">
								<?php $__currentLoopData = $grades; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $gg): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
								<li class="nav-item">
									<a class="nav-link <?php if($loop->iteration == 1): ?> active <?php endif; ?>" data-toggle="tab" href="#grade_<?php echo e($gg->id); ?>" role="tab" aria-selected="true">
                                                    <span class="d-none d-md-block"><?php echo e($gg->name); ?></span><span class="d-block d-md-none"><i class="mdi mdi-home-variant h5"></i></span>
                                                </a>

								</li>
								<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

							</ul>

							<!-- Tab panes -->
							<div class="tab-content">

								<?php $__currentLoopData = $grades; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ggg): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
								<div class="tab-pane p-3 <?php if($loop->iteration == 1 ): ?> active <?php endif; ?>" id="grade_<?php echo e($ggg->id); ?>" role="tabpanel">
									<p class="font-14 mb-0">
										<div class="table-responsive mt-4">

											<table class="table table-striped table-hover mb-0">

												<thead>

													<tr>

														<th scope="col">Sr # </th>
														<th scope="col">Test/quiz Title</th>
														<th scope="col">Assigned By</th>
														<th scope="col">Course</th>
														<th scope="col">Attachment</th>
														<th scope="col">Assigned Date</th>
														<th scope="col">Completion Date</th>
														<th scope="col" >Total Submssion</th>

													</tr>

												</thead>

												<tbody>
													
													<tr>
														<th scope="row">1</th>
														<td> <strong>Test Submission</strong> </td>
														<td align="center">Teacher Name</td>
														<td align="center">Course Title</span></td>
													 <td align="center"><i class="mdi mdi-attachment h4"></i></span></td>
														<td align="center">12-10-2020</td>
														<td align="center">18-10-2020</td>
														
														<td  align="center">
															<span class="badge badge-warning">4</span>
														</td>

													</tr>
												

												</tbody>

											</table>

										</div>

										<nav aria-label="Page navigation example">
											<ul class="pagination justify-content-end mb-0  m-t-15">
												<li class="page-item disabled">
													<a class="page-link" href="#" tabindex="-1">Previous</a>
												</li>
												<li class="page-item"><a class="page-link" href="#">1</a>
												</li>
												<li class="page-item"><a class="page-link" href="#">2</a>
												</li>
												<li class="page-item"><a class="page-link" href="#">3</a>
												</li>
												<li class="page-item">
													<a class="page-link" href="#">Next</a>
												</li>
											</ul>
										</nav>
									</p>
								</div>
								<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

							</div>

						</div>




					</div>

				</div>

			</div>

			<!-- end row -->


	<!-- Projects section--->
		<div class="row">

				<div class="col-sm-12">

					<div class="page-title-box">

						<div class="row align-items-center">

							<div class="col-md-8">

								<h4 class="page-title mb-0">Projects</h4>

								

							</div>

							<div class="col-md-4">

								<div class="float-right d-none d-md-block">

									<div class="dropdown">

										<!-- <button class="btn btn-success btn-rounded" type="button"  data-toggle="modal" data-target="#addGradeModal">

                                          <i class="fa fa-plus"></i> Add New Grade

                                      </button> -->



									</div>

								</div>

							</div>

						</div>



					</div>

				</div>

			</div>

			<!-- end row -->

			<div class="row">

				<div class="col-lg-12">

					<div class="card">

						<div class="card-body">



							<!-- Nav tabs -->
							<ul class="nav nav-tabs" role="tablist">
								<?php $__currentLoopData = $grades; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $gg): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
								<li class="nav-item">
									<a class="nav-link <?php if($loop->iteration == 1): ?> active <?php endif; ?>" data-toggle="tab" href="#grade_<?php echo e($gg->id); ?>" role="tab" aria-selected="true">
                                                    <span class="d-none d-md-block"><?php echo e($gg->name); ?></span><span class="d-block d-md-none"><i class="mdi mdi-home-variant h5"></i></span>
                                                </a>

								</li>
								<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

							</ul>

							<!-- Tab panes -->
							<div class="tab-content">

								<?php $__currentLoopData = $grades; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ggg): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
								<div class="tab-pane p-3 <?php if($loop->iteration == 1 ): ?> active <?php endif; ?>" id="grade_<?php echo e($ggg->id); ?>" role="tabpanel">
									<p class="font-14 mb-0">
										<div class="table-responsive mt-4">

											<table class="table table-striped table-hover mb-0">

												<thead>

													<tr>

														<th scope="col">Sr # </th>
														<th scope="col">Project Title</th>
														<th scope="col">Assigned By</th>
														<th scope="col">Course</th>
														<th scope="col">Attachment</th>
														<th scope="col">Assigned Date</th>
														<th scope="col">Completion Date</th>
														<th scope="col" >Total Submssion</th>

													</tr>

												</thead>

												<tbody>
													
													<tr>
														<th scope="row">1</th>
														<td> <strong>Test Submission</strong> </td>
														<td align="center">Teacher Name</td>
														<td align="center">Course Title</span></td>
													 <td align="center"><i class="mdi mdi-attachment h4"></i></span></td>
														<td align="center">12-10-2020</td>
														<td align="center">18-10-2020</td>
														
														<td  align="center">
															<span class="badge badge-warning">4</span>
														</td>

													</tr>
												

												</tbody>

											</table>

										</div>

										<nav aria-label="Page navigation example">
											<ul class="pagination justify-content-end mb-0  m-t-15">
												<li class="page-item disabled">
													<a class="page-link" href="#" tabindex="-1">Previous</a>
												</li>
												<li class="page-item"><a class="page-link" href="#">1</a>
												</li>
												<li class="page-item"><a class="page-link" href="#">2</a>
												</li>
												<li class="page-item"><a class="page-link" href="#">3</a>
												</li>
												<li class="page-item">
													<a class="page-link" href="#">Next</a>
												</li>
											</ul>
										</nav>
									</p>
								</div>
								<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

							</div>

						</div>




					</div>

				</div>

			</div>

			<!-- end row -->
		</div>
		<!-- container-fluid -->



	</div>
	<!-- content -->



	<footer class="footer">

		© 2020 - 2021 The Educators Academy

	</footer>

</div>





<!-- ============================================================== -->

<!-- End Right content here -->

<!-- ============================================================== -->



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



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



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

<?php echo $__env->make( 'layouts.admin' , \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\freelance\school\school\resources\views/admin/all_students.blade.php ENDPATH**/ ?>