<!-- Modal -->
<div class="modal fade" style="display:none;" id="addExamDateModal" tabindex="-1" aria-labelledby="addExamDateModalLabel" aria-hidden="true" data-backdrop="static" data-keyboard="false">
    <div class="modal-dialog modal-dialog-centered">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="addExamDateModalLabel">เพิ่มวันที่อบรมและสอบใบขับขี่</h5>
            </div>
            <form action="<?php echo e(route('student.add_exam')); ?>"
                id="addExamFrm"
                novalidate class="<?php echo e(($errors->any()) ? 'was-validated' : 'needs-validation'); ?>"
                method="post">
                <?php echo csrf_field(); ?>
                <div class="modal-body">
                    <input type="hidden" id="eid" name="eid" value="<?php echo e($student->eid); ?>">
                    <input type="hidden" id="sid" name="sid" value="<?php echo e($student->sid); ?>">
                    <input type="hidden" id="logStudentAddExam" name="logStudent" value="<?php echo e($student->title.strip_tags($student->firstname)." ".strip_tags($student->lastname)); ?>" >
                    <div class="row">
                        <div class="col-6">
                            <div class="form-group">
                                <label for="examDate">วันที่อบรมและสอบใบขับขี่ <span class="text-red">*</span></label>
                                <div class="input-group mb-3">
                                    <input type="text" class="form-control" id="addExamDate" name="addExamDate" placeholder="วันที่อบรมและสอบใบขับขี่" autocomplete="off" required>
                                    <div class="input-group-append"><span class="input-group-text"><i class="far fa-calendar-alt"></i></span></div>
                                </div>
                                <?php $__errorArgs = ['addExamDate'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                <div class="text-danger"><?php echo e($message); ?></div>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                        </div>
                        <div class="col-6">
                            <div class="form-group">
                                <label for="addExamTime">เวลา <span class="text-red">*</span></label>
                                <div class="input-group mb-3">
                                    <input type="text" class="form-control" id="addExamTime" name="addExamTime" placeholder="เวลาที่อบรมและสอบใบขับขี่" autocomplete="off" required>
                                    <div class="input-group-append"><span class="input-group-text"><i class="far fa-clock"></i></span></div>
                                </div>
                                <?php $__errorArgs = ['addExamTime'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                <div class="text-danger"><?php echo e($message); ?></div>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-outline-secondary" data-dismiss="modal">ปิด</button>
                    <button type="submit" id="payBtnAddExam" class="btn btn-success">ตกลง</button>
                </div>
            </form>
        </div>
    </div>
</div>
<?php /**PATH /home/admin2/web/system.pongpetrdriving.com/public_html/resources/views/student/modal_add_exam.blade.php ENDPATH**/ ?>