<input type="checkbox"
       id="checkbox<?php echo e($row->employeeID); ?>"
       onchange="showHide('<?php echo e($row->employeeID); ?>');return false;"
       class="make-bs-switch md-check"
       data-size="small" name="checkbox[]"
       data-on-color="success" data-on-text="P" data-off-text="A"
       data-off-color="danger"
       <?php if($row->status == "present" || $row->date == null): ?> checked <?php endif; ?>/>
<input type="hidden" name="employees[]" value="<?php echo e($row->employeeID); ?>">

<div class="leave-form <?php if($row->status == "present" || $row->status == null): ?> hidden <?php endif; ?>"
     id="leaveForm<?php echo e($row->employeeID); ?>">
    <div class="row">
        <div class="col-lg-6 col-md-12">
            <label class="control-label">Leave Type</label>
            <select class="form-control leaveType input-sm"
                    onchange="halfDayToggle(<?php echo e($row->employeeID); ?>, this.value)" id="leaveType<?php echo e($row->employeeID); ?>"
                    name="leaveType[]">
                <?php $__currentLoopData = $leaveTypes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $leaveType): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <option <?php if($row->leaveType == $leaveType): ?> selected <?php endif; ?>><?php echo e($leaveType); ?></option>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </select>
        </div>
        <div class="col-lg-6 col-md-12">
            <p class="hidden-md"></p>
            <label class="control-label"><input type="checkbox" id="halfDay<?php echo e($row->employeeID); ?>"
                                                <?php if($row->halfDayType == "yes"): ?> checked <?php endif; ?> name="half_day[]"
                                                class="half-day-checkbox"/> Half Day</label>
        </div>
        <div class="col-lg-12">
            <label class="control-label">Reason</label>
            <input type="text" class="form-control reason input-sm" id="reason<?php echo e($row->employeeID); ?>" name="reason[]"
                   placeholder="<?php echo app('translator')->get("core.absentReason"); ?>" value="<?php echo e($row->reason); ?>">
        </div>
    </div>
</div>
<?php /**PATH /home/kodiinit/hrm.kodiinitiative.org/resources/views/admin/attendances/col2.blade.php ENDPATH**/ ?>