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

Dashboard

{{getActiveemployeeInfo()->emp_name}}

{{getActiveemployeeInfo()->fetch_designation->name ?? null}}

{{getActiveemployeeInfo()->fetch_department->name ?? null}}

{{--
Business Department
--}}
Last 7 days attendance report
@foreach ($attendance_info as $attendance) @if($attendance['in_time'] || $attendance['out_time'] ) @else @endif @endforeach @foreach ($attendance_info as $attendance) @if($attendance['in_time'] || $attendance['out_time'] ) @else @endif @endforeach {{-- @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['in_time']}}{{$attendance['status']}}
Out Time{{$attendance['out_time']}} {{$attendance['status']}}{{ $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->leaveTypeWithoutScope->name ?? null}} {{$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