<div class="employee-leave-section">

    
    <div class="employee-leave-header mb-4 d-flex justify-content-between align-items-center">
        <div>
            <h5 class="employee-leave-title mb-1">Employee Leave</h5>
            <small class="text-muted">
                Manage leave entitlement per year
            </small>
        </div>

        <div class="d-flex align-items-center gap-2">
            <select id="leaveYearSelect"
                    name="leave_year"
                    class="form-control form-control-sm"
                    style="width: 110px;">
                <?php $__currentLoopData = $years; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $year): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <option value="<?php echo e($year); ?>" <?php if($year == now()->year): echo 'selected'; endif; ?>>
                        <?php echo e($year); ?>

                    </option>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </select>

            <button type="button"
                    class="btn btn-sm btn-outline-primary"
                    id="addLeaveRow">
                <i class="bi bi-plus"></i> Add Leave
            </button>
        </div>
    </div>

    
    <div class="employee-leave-body">

        <div class="table-responsive">
            <table class="table table-bordered align-middle leave-table"
                   id="leaveTable">

                <thead class="table-light">
                    <tr>
                        <th style="min-width: 220px;">
                            Leave Type <span class="text-danger">*</span>
                        </th>
                        <th style="min-width: 180px;">
                            Number of Days <span class="text-danger">*</span>
                        </th>
                        <th class="text-center" style="width: 50px;"></th>
                    </tr>
                </thead>

                <tbody>
                    
                </tbody>

            </table>
        </div>

    </div>

</div>
<?php /**PATH /media/madu/E8460E1D460DECDE/projects/laraoffice/app/Modules/HR/Core/Providers/../Views/employees/partials/leave.blade.php ENDPATH**/ ?>