@foreach($quote as $q) @php $date = date('d-m-Y',strtotime($q->created_at)) @endphp @if($date == date('d-m-Y'))
Words of Wisdom
@else
Words of Wisdom
@endif @endforeach

@php echo date('l, M d') @endphp

@foreach($quote as $q) @php echo strlen($q['quote']) >= 100 ? substr(html_entity_decode($q['quote']), 0,150):html_entity_decode($q['quote']); @endphp @endforeach
Announcements
@if(count($announcement) > 0) @foreach($announcement as $p) @php $date = date("d-m-Y",strtotime($p->date)); @endphp
{{$p->title}} @if($date == date('d-m-Y'))

New

@endif
Posted On: {{$date}}

@endforeach
@else

No Announcements Found

@endif
Highlights
@if(count($highlight) > 0) @foreach($highlight as $p) @php $date = date("d-m-Y",strtotime($p->date)); @endphp @endforeach @else

No Highlights Found.

@endif
CALENDAR
UPCOMING BIRTHDAYS
@if(count($birthday)>=1) @endif
@if(count($birthday)>=1) @foreach($birthday as $b) @php $date = $b['b_Date']; $b_Date = date('d-m',strtotime($date)); $b_Date = $b_Date.'-'.date('Y'); $days = date('d',strtotime($date)); $day = date('d'); $b_day = $days - $day; @endphp @if($b_day == 0) @elseif($b_day == 1) @else @endif @endforeach
Today @php $check_bday = []; @endphp @foreach($userNotifyData as $n) @if($n->type == 'birthday') @if($n->id == $b->id) @php array_push($check_bday,$b->id); @endphp @endif @endif @endforeach @if(in_array($b->id,$check_bday)) @else 🎉Wish Now @endif Tomorrow {{$b_day}} Days to go
@else

No Upcoming Birthday

@endif
UPCOMING WORK ANNIVERSARIES
@if(count($anniversary)>=1) @endif
@if(count($anniversary)>=1) @foreach($anniversary as $a) @php $date = $a['joining_date']; $days = date('d',strtotime($date)); $joining_date = date('d-m',strtotime($date)); $joining_date = $joining_date.'-'.date('Y'); $day = date('d'); $b_day = $days - $day; @endphp @if($b_day == 0) @elseif($b_day == 1) @else @endif @endforeach
Today @php $check_bday = []; @endphp @foreach($userNotifyData as $n) @if($n->type == 'anniversary') @if($n->id == $a->id) @php array_push($check_bday,$a->id); @endphp @endif @endif @endforeach @if(in_array($a->id,$check_bday)) @else 🎉Wish Now @endif Tomorrow {{$b_day}} Days to go
@else

No Upcoming Anniversary

@endif
Employee Performance
@if($final_score != 0)
@else
@endif
Employee Of The Week
Recent
@foreach($eow_list as $e)
{{(new DateTime($e->date))->format('d-m-Y')}}
@break @endforeach
@foreach($eow_list as $e)
{{$e->emp_name}}
{{$e->point}}
@endforeach
Attendance Sheet

Weekly Employee

Employee Name:

{{$employee_data->first_name}} {{$employee_data->last_name}}

Employee Id:

{{Auth::user()->emp_id}}

@if(count($attendence_data) > 0) @foreach($attendence_data as $attendance) @endforeach @else @endif
Date
Day
Work Type
Arrival Time
Dept Time
Break Time
Work Hours
{{date('d-m-Y',strtotime($attendance->upload_date))}}
{{date('l',strtotime($attendance->upload_date))}}
@if($attendance->work_type == 'Leave')
{{$attendance->work_type}}
@elseif($attendance->work_type == 'WFH')
{{$attendance->work_type}}
@elseif($attendance->work_type == 'WFO')
{{$attendance->work_type}}
@elseif($attendance->work_type == 'OD')
{{$attendance->work_type}}
@elseif($attendance->work_type == '')
-
@endif
@if($attendance->arr_time == '0.00')
-
@else
{{date('H:i',strtotime(number_format($attendance->arr_time,2)))}}
@endif
@if($attendance->dep_time == '0.00')
-
@else
{{date('H:i',strtotime(number_format($attendance->dep_time,2)))}}
@endif
@if($attendance->break_time == '0.00')
-
@else
{{date('H:i',strtotime(number_format($attendance->break_time,1)))}}
@endif
@if($attendance->dep_time == '0.00' || $attendance->arr_time == '0.00')
-
@else
{{date('H:i',strtotime(number_format($attendance->total_time,2)))}} Hr
@endif
Record Not Found
@include('components/ufooter') @if($employee_data->reject_verification != null && $employee_data->is_verified == '0') @endif @if($employee_data->job_type == 'Remote') @endif @if($final_score != 0) @endif @if($message != "") @endif @if(session('done')) @endif