@extends('payroll.employee_frontend.layouts.employee') @section('content')

Dashboard

{{Auth::guard('employee')->user()->emp_name}}

{{Auth::guard('employee')->user()->fetch_designation->name}}

{{Auth::guard('employee')->user()->fetch_department->name}}

{{--
Business Department
--}}
Last 7 days attendance report
@for($i=1; $i<= count($attendance_info); $i++) @if($attendance_info[$i]['in_time'] || $attendance_info[$i]['out_time'] ) @else @if(!empty($attendance_info[$i]['weekend'])) @elseif(!empty($attendance_info[$i]['half_weekend'])) @elseif(!empty($attendance_info[$i]['holiday'])) @else @endif @endif @endfor @for($i=1; $i<= count($attendance_info); $i++) @if($attendance_info[$i]['in_time'] || $attendance_info[$i]['out_time'] ) @else @if(!empty($attendance_info[$i]['weekend'])) @elseif(!empty($attendance_info[$i]['half_weekend'])) @elseif(!empty($attendance_info[$i]['holiday'])) @else @endif @endif @endfor
Date 01-Jan
In Time{{$attendance_info[$i]['in_time'] ? $attendance_info[$i]['in_time']: null}} @if(!empty($holiday_td)){{$holiday_td}}@endif
Out Time{{ $attendance_info[$i]['out_time'] ? $attendance_info[$i]['out_time'] : null}} @if(!empty($holiday_td)){{$holiday_td}}@endif
Pending Loan Application
@foreach ($pending_loan_history as $lh) @endforeach
Apply Date Amount Purpose & Note Status
{{$lh->application_date}} {{$lh->amount}} Purpose: {{$lh->purpose}}
Note: {{$lh->note}}
Pending
Pending Advance Application
@foreach ($pending_advance_history as $lh) @endforeach
Apply Date Amount Purpose & Note Status
{{$lh->application_date}} {{$lh->amount}} Purpose: {{$lh->purpose}}
Note: {{$lh->note}}
Pending
Pending Leave Application
@foreach ($pending_leave_history as $lh) @endforeach
Type Start date End date Total Days Reason Status
{{$lh->LeaveType->name}} {{$lh->start_date}} {{$lh->end_date}} {{$lh->leave_count}} {{$lh->leave_reason}} Pending
{{--
Leave Status

Your last leave application

Date: 15 Jan 2021

Leave Type: Sick

Status: Rejected

Warning Status

Your last leave application

Date: 15 Jan 2021

Leave Type: Sick

Status: Rejected

Show Cause

You have one show cause

Date: 15 Jan 2021

Leave Type: Sick

Status: Approved

--}}
@endsection