@extends('member-new') @push('head-script') {{-- --}} {{-- --}} @endpush @section('content')
@if ($policies->count())
@endif

My Attendance

17

Punch In Time

09:30 AM

Punch Out Time

06:30 PM

{{ trans('admin/leave.holidays_week_offs') }}

{{ date('Y') }}

{{-- --}}
@forelse($upcomingHolidays as $key => $upcomingHoliday)
{{ $upcomingHoliday['name'] }}

{{ $upcomingHoliday['datemonth'] }}

{{ $upcomingHoliday['day'] }}
@empty
No Upcoming Holidays!
@endforelse
@forelse($upcomingWeekOffs as $key => $upcomingWeekOff)
{{ $upcomingWeekOff['name'] }}

{{ $upcomingWeekOff['datemonth'] }}

{{ $upcomingWeekOff['day'] }}
@empty
No Upcoming Week-Offs!
@endforelse

{{ trans('admin/leave.my_leaves') }}

{{ trans('admin/leave.summary') }}

@foreach ($employeeLeaves as $key => $employeeLeave) @php $total = 0; $balanceLeaveCount = $employeeLeave->balance_leaves ? $employeeLeave->balance_leaves : 0; $openingLeaveCount = $employeeLeave->opening_leaves ? $employeeLeave->opening_leaves : 0; $takenLeaveCount = $employeeLeave->taken_leaves ? $employeeLeave->taken_leaves : 0; if ($openingLeaveCount != 0) { $total = (($openingLeaveCount - $takenLeaveCount) / $openingLeaveCount) * 100; } if ($key == 0) { $class = ''; } elseif ($key == 1) { $class = 'progress-sick'; } elseif ($key == 2) { $class = 'progress-earned'; } elseif ($key == 3) { $class = 'progress-encashed'; } @endphp
{{ $employeeLeave->balance_leaves ? $employeeLeave->balance_leaves : 0 }}
Balance
{{ isset($employeeLeave->leaveType->name) ? $employeeLeave->leaveType->name : '-' }}

View

@endforeach

Leave Requests

@if (count($pendingLeaves) > 0) @endif Show All
@if (count($pendingLeaves) > 0) @foreach ($pendingLeaves as $key => $pendingLeave) @endforeach @endif @if (count($pendingLeaves) == 0)
No record(s) found!
@endif
{{ $pendingLeaves->appends(request()->merge(['tab' => 'pending'])->except('page'))->links('partials.pagination') }}
@if (count($approveLeaves) > 0) @foreach ($approveLeaves as $key => $approveLeave) @endforeach @endif @if (count($approveLeaves) == 0)
No record(s) found!
@endif
{{ $approveLeaves->appends(request()->merge(['tab' => 'approved'])->except('page'))->links('partials.pagination') }}
@if (count($rejectLeaves) > 0) @foreach ($rejectLeaves as $key => $rejectLeave) @endforeach @endif @if (count($rejectLeaves) == 0)
No record(s) found!
@endif
{{ $rejectLeaves->appends(request()->merge(['tab' => 'rejected'])->except('page'))->links('partials.pagination') }}
{{-- comoff --}}

Compensation Requests - Pending

@if (count($compensationRequests) > 0) @endif Show All
@foreach ($compensationRequests as $key => $compensationRequest) @endforeach
# Employee Name Date Start Time End Time Working Hours Day Count Status Apply Date and Time {{ trans('common/common.actions') }}
{{ $key + 1 }}
{{ isset($compensationRequest->employee->name) ? $compensationRequest->employee->name : '' }}
{{ isset($compensationRequest->employee->name) ? $compensationRequest->employee->name : '' }} ({{ isset($compensationRequest->employee->employee_code) ? $compensationRequest->employee->employee_code : '' }})
{{ $compensationRequest->request_date ? App\Helpers\GeneralHelper::dateFormat($compensationRequest->request_date) . ' (' . date('D', strtotime($compensationRequest->request_date)) . ')' : '-' }} {{ $compensationRequest->start_time ? App\Helpers\GeneralHelper::timeFormat($compensationRequest->start_time) : '-' }} {{ $compensationRequest->end_time ? App\Helpers\GeneralHelper::timeFormat($compensationRequest->end_time) : '-' }} {{ $compensationRequest->working_hours }} {{ $compensationRequest->day_count }} @if ($compensationRequest->status == App\Helpers\ConstantHelper::APPROVED) {{ ucfirst($compensationRequest->status) }} @elseif( $compensationRequest->status == App\Helpers\ConstantHelper::CANCELED || $compensationRequest->status == App\Helpers\ConstantHelper::REJECTED) {{ ucfirst($compensationRequest->status) }} @else {{ ucfirst($compensationRequest->status) }} @endif {{ App\Helpers\GeneralHelper::dateTimeFormat($compensationRequest->created_at) }}
@if (count($compensationRequests) == 0)
No record(s) found!
@endif

My Leave Requests

@foreach ($leaves as $leave) @endforeach
Leave Type From Date To Date Status Applied Date/Time Approved Date/Time Action
{{ isset($leave->leaveType->name) ? $leave->leaveType->name : '-' }} {{ $leave->from_date ? App\Helpers\GeneralHelper::dateFormat($leave->from_date) : '-' }} {{ $leave->from_time ? '(' . date('H:i', strtotime($leave->from_time)) . ')' : '' }} {{ $leave->to_date ? App\Helpers\GeneralHelper::dateFormat($leave->to_date) : '-' }} {{ $leave->to_time ? '(' . date('H:i', strtotime($leave->to_time)) . ')' : '' }} @if ($leave->status == App\Helpers\ConstantHelper::APPROVED) {{ ucfirst($leave->status) }} @elseif($leave->status == App\Helpers\ConstantHelper::CANCELED || $leave->status == App\Helpers\ConstantHelper::REJECTED) {{ ucfirst($leave->status) }} @else {{ ucfirst($leave->status) }} @endif {{ $leave->created_at ? App\Helpers\GeneralHelper::dateTimeFormat($leave->created_at) : '-' }} {{ $leave->action_at ? App\Helpers\GeneralHelper::dateTimeFormat($leave->action_at) : '-' }} @if ($leave->status == App\Helpers\ConstantHelper::PENDING && $leave->employee_id == auth()->guard('web2')->user()->id) Revoke @else View @endif
Present
Absent
On Leave
Holiday
Half Day
Week Off

{{ trans('admin/dashboard.birthday') }}

{{ date('F') }} - {{ date('Y') }}

@if (count($birthdays) > 0)
@foreach ($birthdays as $birthday)
Avatar
{{ $birthday->name }}
{{ date('d-F', strtotime($birthday->dob)) }}-{{ date('Y') }}
@endforeach
@else

{{ trans('admin/dashboard.no_birthdays_found') }}

@endif

{{ trans('admin/dashboard.work_anniversary') }}

{{ date('F') }} - {{ date('Y') }}

@if (count($workAnniversaries) > 0) @foreach ($workAnniversaries as $workAnniversary)
Avatar
{{ $workAnniversary->name }}
{{ date('d-F', strtotime($workAnniversary->date_of_joining)) }}-{{ date('Y') }}
@endforeach @else

{{ trans('admin/dashboard.no_work_anniversary') }}

@endif

{{ trans('admin/dashboard.announcement') }}

{{ date('d') }}-{{ date('F') }} - {{ date('Y') }}

@if ($announcements)
{{ $announcements->title }}
{{ $announcements->description }}
@else

{{ trans('admin/dashboard.no_announcments') }}

@endif
{{--

{{ trans('admin/dashboard.attendance_information') }}

--}} {{--

{{ trans('admin/dashboard.attendance_information') }}

--}} {{--
--}} {{--
Profile Cover Photo
@if (isset(Auth::user()->hod->image)) @else @endif

{{ isset(Auth::user()->hod->name) ? Auth::user()->hod->name : '' }}

{{ isset(Auth::user()->hod->email) ? Auth::user()->hod->email : '' }}
{{ trans('admin/dashboard.your_manager') }}
{{ trans('admin/dashboard.contact') }} : {{ isset(Auth::user()->hod->mobile) ? Auth::user()->hod->mobile : '' }}

{{ trans('admin/dashboard.duty_information') }}

--}} {{--

{{ trans('admin/dashboard.total_average_working_hour') }}

{{ trans('admin/dashboard.average_working_hour') }}

{{ trans('admin/dashboard.pending_request') }}

--}}
@endsection @push('footer-script') {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} @endpush