@extends('front.layouts.frontlayout') @section('mainarea')

Personal Details

Name {{$employee->fullName}}
Father's Name {{$employee->fatherName}}
DOB {{ date('d-M-Y',strtotime($employee->date_of_birth))}}
Gender {{ucfirst($employee->gender)}}
Email {{$employee->email}}
Aternate Email {{$employee->alternate_mail}}
Phone {{$employee->mobileNumber}}
Emergency Phone {{$employee->emergency_phone}}
Local Address {{$employee->localAddress}}
Permanent Address {{$employee->permanentAddress}}

Company Details

Employee ID {{$employee->employeeID}}
Department {{$employee->getDesignation->department->deptName}}
Designation {{$employee->getDesignation->designation}}
Date of Joining {{date('d-M-Y',strtotime($employee->joiningDate))}}
Salary ( ) @foreach($employee->getSalary as $salary)

{{$salary->type}} : {{$salary->salary}}

@endforeach

Bank Details

Account Holder Name {{$employee->getBankDetail->accountName ?? ''}}
Account Number {{$employee->getBankDetail->accountNumber ?? ''}}
PAN Number {{$employee->getBankDetail->pan ?? ''}}
IFSC Code {{$employee->getBankDetail->ifsc ?? ''}}

Notice Board

@if(count($noticeboards)) @foreach($noticeboards as $notice)
{{date('d',strtotime($notice->created_at))}} {{date('m, Y',strtotime($notice->created_at))}}

{{$notice->title}}

{!! \Illuminate\Support\Str::words($notice->description, 100,'....') !!}

@endforeach @endif

Upcoming Holidays

@forelse($holidays as $holiday) {{--Check for upcoming Holidays--}}
{{$holiday->occassion}} {{date('d M Y',strtotime($holiday->date))}}
@empty
No Holiday
@endforelse

Awards

@foreach($userAwards as $award)
{{ucfirst($award->forMonth)}} {{$award->forYear}} {{$award->awardName}}
@endforeach

Attendance

Last absent {{$employee->lastAbsent($employee->employeeID,'date')}} {{$employee->lastAbsent($employee->employeeID)}}
{{--------------------------Show Notice MODALS-----------------}} {{------------------------END Notice MODALS---------------------}} @endsection @section('footerjs') @endsection