<div class="modal-header">
    <button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button>
    <h4 id="myLargeModalLabel" class="modal-title">
        Leave Application
    </h4>
</div>
<div class="modal-body" >
    <div class="portlet-body form">

        <div class="row">
            <label class="control-label col-md-3"><strong>Leave Type</strong></label>

            <div class="col-md-9">

                <?php if($leave_application->halfDayType == 'yes'): ?>
                    Half Day -  <?php echo e($leave_application->leaveType); ?>

                <?php else: ?>
                    <?php echo e(ucfirst($leave_application->leaveType)); ?>

                <?php endif; ?>
            </div>
        </div>
        <br>

        <div class="row">
            <label class="control-label col-md-3"><strong>Date</strong></label>

            <div class="col-md-9">
                <?php if(!isset($leave_application->end_date)): ?>
                    <?php echo e(date('d-M-Y',strtotime($leave_application->start_date))); ?>

                <?php else: ?>
                    <?php echo e(date('d-M-Y',strtotime($leave_application->start_date))); ?>

                    to  <?php echo e(date('d-M-Y',strtotime($leave_application->end_date))); ?>

                <?php endif; ?>
            </div>
        </div>
        <br>

        <div class="row">
            <label class="control-label col-md-3"><strong>Reason</strong></label>

            <div class="col-md-9">
                <?php echo e($leave_application->reason); ?>

            </div>
        </div>
        <br>

        <div class="row">
            <label class="control-label col-md-3"><strong>Applied on</strong></label>

            <div class="col-md-9">
                <?php echo e(date('d-M-Y',strtotime($leave_application->applied_on))); ?>

            </div>
        </div>
        <br>


    </div>
</div>

<?php /**PATH /home/kodiinit/hrm.kodiinitiative.org/resources/views/front/leave/show.blade.php ENDPATH**/ ?>