@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']); // $len = strlen($q['quote']); // $store=html_entity_decode($q['quote']); // $help=substr($q['quote'], 150,$len); @endphp @endforeach
Announcements
@if(count($announcement) > 0) @endif
@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) @endif
@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) @foreach($birthday as $b) @php $date = $b['b_Date']; $b_Date = date('d-m',strtotime($date)); $bday = $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 Tommorow {{$b_day}} Days to go
@else

No Upcoming Birthdays

@endif
UPCOMING WORK ANNIVERSARIES
@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)); $join = $joining_date.'-'.date('Y'); $day = date('d'); $b_day = $days - $day; @endphp @if($b_day == 0) @elseif($b_day == 1) @else @endif @endforeach
@if($a->profile_picture =='') @else @endif
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 Tommorow {{$b_day}} Days to go
@else

No Upcoming Anniversary

@endif
Attendance Sheet
Employee Name:

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

Employee Id:

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

@if(count($attendence_data) > 0) @endif
@if(count($attendence_data) > 0) @foreach($attendence_data as $attendance) @endforeach @else @endif
Date
Day
Work Type
In
Out
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 == '')
-
@endif
{{date('H:i',strtotime(number_format($attendance->arr_time,2)))}}
@if($attendance->dep_time == '0')
-
@else
{{date('H:i',strtotime(number_format($attendance->dep_time,2)))}}
@endif
@if($attendance->break_time == '0')
-
@else
{{date('H:i',strtotime(number_format($attendance->break_time,2)))}}
@endif
@if($attendance->dep_time == '0' || $attendance->arr_time == '0')
-
@else
{{date('H:i',strtotime(number_format($attendance->total_time,2)))}} Hr
@endif
Record Not Found
@include('components/footer') @if(session('done')) @endif