<?php $__env->startSection('content'); ?>
<div class="container-fluid" style="padding-top: 20px;">
    <div class="row">
        <div class="col-md-12">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h4 class="panel-title fw-bold text-primary">New Attendance Request</h4>
                </div>
                <div class="panel-body" style="padding: 25px;">
                    <form action="<?php echo e(route('attendance-requests.store')); ?>" method="POST">
                        <?php echo csrf_field(); ?>
                        <div class="form-group">
                            <label class="control-label">Date</label>
                            <input type="date" name="date" class="form-control" required>
                        </div>

                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label class="control-label">Punch In Time</label>
                                    <input type="time" name="punch_in" class="form-control" required>
                                </div>
                            </div>
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label class="control-label">Punch Out Time</label>
                                    <input type="time" name="punch_out" class="form-control" required>
                                </div>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="control-label">Reason</label>
                            <textarea name="reason" class="form-control" rows="4" placeholder="Reason for attendance regularisation..." required></textarea>
                        </div>

                        <div class="row" style="margin-top: 20px;">
                            <div class="col-md-12 text-right">
                                <a href="<?php echo e(route('attendance-requests.index')); ?>" class="btn btn-default">Cancel</a>
                                <button type="submit" class="btn btn-primary">Submit Request</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\hrms\resources\views/attendance_requests/create.blade.php ENDPATH**/ ?>