

<?php $__env->startSection('title'); ?>
    عرض  طلاب للدورة  <?php if(isset($classRoom->name)): ?>
        <?php echo e($classRoom->name); ?>

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

<?php $__env->startSection('first-css'); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content-body'); ?>
    <!--**********************************
                            Content body start
                        ***********************************-->
    <?php echo $__env->make('massages', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    <!-- row -->
    <div class="container-fluid container-fluid-traning bg-white">
        <!--**********************************Tabs Start***********************************-->
        <!--**********************************Tabs End***********************************-->
        <div class="row">
            <div class="col-xl-12 tab-content">
                <form id="studentForm" method="POST" action="<?php echo e(route('certificate_store')); ?>"
                    class="row g-3 fv-plugins-bootstrap5 fv-plugins-framework  form-disable" >
                    <?php echo csrf_field(); ?>
                    <input type="hidden" name="classRoomId" value="<?php echo e($classRoom->id); ?>">
                    <!--**********************************Table AllTransaction Start***********************************-->
                    <div class="tab-pane fade show active" id="AllTransaction" role="tabpanel"
                        aria-labelledby="transaction-tab">
                        <div class="table-responsive fs-14">
                            <table class="table card-table display mb-4 dataTablesCard text-black text-center"
                                id="example">
                                <thead>
                                    <tr>
                                        <th>رقم </th>
                                        <th>اسم طالب</th>
                                        <th>اسم الطالب في الشهادة</th>
                                        <th>صرف  الشهادة</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <?php if(isset($students)): ?>
                                        <?php $__currentLoopData = $students; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $student): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <tr class="odd" role="row">
                                                <td>
                                                    <?php if(isset($student->id)): ?>
                                                        <?php echo e($student->id); ?>

                                                    <?php endif; ?>
                                                </td>
                                                <td>
                                                    <?php if(isset($student->name)): ?>
                                                        <?php echo e($student->name); ?>

                                                    <?php endif; ?>
                                                </td>
                                                <td>
                                                    <?php if(isset($student->certificate_name)): ?>
                                                        <?php echo e($student->certificate_name); ?>

                                                    <?php endif; ?>
                                                </td>
                                                <td>
                                                    <?php if(isset($student->id)): ?>
                                                    <div class="checkbox-primary check-lg">
                                                        <input type="hidden" name="roomId" value="<?php echo e($classRoom->id); ?>">
                                                        <input type="checkbox" class="form-check-input" name="studentsId[]" value="<?php echo e($student->id); ?>" id="customCheckBox9" >
                                                    </div>
                                                    <?php endif; ?>
                                                </td>
                                            </tr>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    <?php endif; ?>
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <!--**********************************Table AllTransaction End***********************************-->
                    <button type="submit" class="btn btn-primary me-sm-3 me-1 form-btn-disable">صرف الشهادات</button>
                </form>
            </div>
        </div>
    </div>

    <!--**********************************
                            Content body end
                ***********************************-->

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

<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\Nasser\Desktop\TrainingManagementPlatform\resources\views/studentCertificates/tables/all.blade.php ENDPATH**/ ?>