@foreach($quote as $q)
@php
$date = date('d-m-Y',strtotime($q->created_at))
@endphp
@if($date == date('d-m-Y'))
Words of Wisdom
@elseWords 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
No Announcements Found
Highlights
@if(count($highlight) > 0)
@foreach($highlight as $p)
@php $date = date("d-m-Y",strtotime($p->date)); @endphp
@endforeach
@else
No Highlights Found.
@endifCALENDAR
UPCOMING BIRTHDAYS
@if(count($birthday)>=1)
@foreach($birthday as $b)
@else
{{$b->first_name}} {{$b->last_name}}
{{$b_Date}} |
@if($b_day == 0)
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 | @elseif($b_day == 1)Tomorrow | @else{{$b_day}} Days to go | @endif
No Upcoming Birthday
@endifUPCOMING 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));
$joining_date = $joining_date.'-'.date('Y');
$day = date('d');
$b_day = $days - $day;
@endphp
@else
{{$a->first_name}} {{$a->last_name}}
{{$joining_date}} |
@if($b_day == 0)
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 | @elseif($b_day == 1)Tomorrow | @else{{$b_day}} Days to go | @endif
No Upcoming Anniversary
@endifEmployee Performance
@if($final_score != 0)
@else
@endif
Employee Of The Week
Recent
{{(new DateTime($e->date))->format('d-m-Y')}}
@break
@endforeach
@foreach($eow_list as $e)
@endforeach
{{$e->emp_name}}
{{$e->point}}
Attendance Sheet
Weekly Employee
Employee Name:
{{$employee_data->first_name}} {{$employee_data->last_name}}
Employee Id:
{{Auth::user()->emp_id}}
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 |