@extends('app-new') @push('head-script') @endpush @push('content-header') @endpush @section('content') {{-- @php dd($orgUrl); @endphp --}}

Apply Leave

@if($attendanceSummaries) @foreach ($attendanceSummaries as $key => $attendanceSummary) @php $duration = ""; if($attendanceSummary->first_half_status=='HD'){ $duration = "First Half Day"; } if($attendanceSummary->second_half_status=='HD'){ $duration = "Second Half Day"; } @endphp @endforeach
# Date In Time End Time Working Hours
attendance_date == $leave->from_date ) checked @endif> {{ $attendanceSummary->attendance_date ? App\Helpers\GeneralHelper::dateFormat($attendanceSummary->attendance_date) : '-' }} {{ $attendanceSummary->in_time }} {{ $attendanceSummary->out_time }} {{ $attendanceSummary->working_time }}
@if (count($attendanceSummaries) == 0)
No record(s) found!
@endif @endif
is_short_leave == '1') style="display:none" @endif>
is_short_leave == '1') style="display:none" @endif>
@if ($leave->document) View @endif eg: image,pdf,doc
@if ($leave->status == App\Helpers\ConstantHelper::PENDING || $leave->user_id == auth()->guard('web2')->id)
@endif

Employee Details

Name :
{{ isset($employee) ? $employee->name :'' }} ({{ isset($employee) ? $employee->employee_code :'' }} )
@if (auth()->user()->hod)
HOD :
{{ isset($employee->hod) ? $employee->hod->name :'' }} ({{ isset($employee->hod) ? $employee->hod->employee_code :'' }})
@endif

Leave Details

@foreach ($employeeLeaves as $employeeLeave) @endforeach
Leave Type Opening Balance Carry Forword Taken Total Balance
{{ isset($employeeLeave->leaveType->name) ? $employeeLeave->leaveType->name : '' }} {{ $employeeLeave->opening_leaves }} {{ $employeeLeave->carry_forwarded_leaves }} {{ $employeeLeave->taken_leaves }} {{ $employeeLeave->balance_leaves }}
@endsection @section('scripts') @push('footer-script') @endpush