<!-- Modal -->
<div class="modal fade" style="display:none;" id="examModal" tabindex="-1" aria-labelledby="examModalLabel" 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="examModalLabel">เลื่อนวันสอบใบขับขี่</h5>
            </div>
            <form action="<?php echo e(route('home.updateExam')); ?>"
                id="examFrm"
                novalidate class="<?php echo e(($errors->any()) ? 'was-validated' : 'needs-validation'); ?>"
                method="post">
                <?php echo csrf_field(); ?>
                <input type="hidden" name="studentID" id="studentID">
                <input type="hidden" name="enrollID" id="enrollID">
            <div class="modal-body">
                <div class="row">
                    <div class="col-12">
                        <div class="form-group">
                            <p>นักเรียน : <span id="student"></span></p>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-12">
                        <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="examDate" name="examDate" 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 = ['examDate'];
$__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="payBtn" class="btn btn-success">ตกลง</button>
            </div>
            </form>
        </div>
    </div>
</div>
<?php /**PATH /var/www/html/pongpetch/resources/views/home/modal_exam.blade.php ENDPATH**/ ?>