

<?php $__env->startSection('title'); ?>
    تحضير طلاب الصف <?php if(isset($classRoom->name)): ?>
        <?php echo e($classRoom->name); ?>

    <?php endif; ?> في درس <?php if(isset($lesson->title)): ?>
        <?php echo e($lesson->title); ?>

    <?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('attendances_store')); ?>"
                    class="row g-3 fv-plugins-bootstrap5 fv-plugins-framework needs-validation form-disable" novalidate>
                    <?php echo csrf_field(); ?>
                    <input type="hidden" name="lessonId" value="<?php echo e($lesson->id); ?>">
                    <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>
                                    </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->student->id)): ?>
                                                        <?php echo e($student->student->id); ?>

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

                                                    <?php endif; ?>
                                                </td>
                                                <td>
                                                    <?php if(isset($student->id)): ?>
                                                    <div class="checkbox-primary check-lg">
                                                        <input type="checkbox" class="form-check-input" name="subscribes[]" value="<?php echo e($student->id); ?>" checked="" 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 echo $__env->make('students.modals.new', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<?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/attendances/modals/create.blade.php ENDPATH**/ ?>