@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']);
// $len = strlen($q['quote']);
// $store=html_entity_decode($q['quote']);
// $help=substr($q['quote'], 150,$len);
@endphp
@endforeach
Announcements
@if(count($announcement) > 0) @endifNo Announcements Found.
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.
@endifCALENDAR
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
@else
{{$b->first_name}}
{{$b->last_name}}
{{$bday}} |
@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)Tommorow | @else{{$b_day}} Days to go | @endif
No Upcoming Birthdays
@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));
$join = $joining_date.'-'.date('Y');
$day = date('d');
$b_day = $days - $day;
@endphp
@else
@if($a->profile_picture =='')
{{$a->first_name}} {{$a->last_name}}
{{$join}} |
@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)Tommorow | @else{{$b_day}} Days to go | @endif
No Upcoming Anniversary
@endifAttendance Sheet
Employee Name:
{{Auth::user()->name}}
Employee Id:
{{Auth::user()->emp_id}}
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 |