@switch($widget) @case('oneToOneOverdue') @if(is_object($data) && count($data)>0)

Overdue One to Ones

@php $inc=200; @endphp @foreach($data as $overdue)
{{$overdue->oneTitle}} {{ (($overdue->DueDate == date('Y-m-d'))?'Due today':'Due since '.date('dS M, Y',strtotime($overdue->DueDate))) }}
@php if($inc==200){ $inc=300; }else{ $inc=200; } @endphp @endforeach @if(count($data) >=4) @endif
@endif @break @case('reviewsOverdue') @if(is_object($data) && count($data)>0)

Overdue Reviews

@php $inc=200; @endphp @foreach($data as $overdue)
Warning: Undefined variable $overdue in /home/people/public_html/resources/views/load_widget.blade.php on line 61

Warning: Attempt to read property "review_date" on null in /home/people/public_html/resources/views/load_widget.blade.php on line 61

Warning: Undefined variable $overdue in /home/people/public_html/resources/views/load_widget.blade.php on line 61

Warning: Attempt to read property "review_time" on null in /home/people/public_html/resources/views/load_widget.blade.php on line 61
{{$overdue->title}} {{ (($overdue->review_date == date('Y-m-d'))?'Due today':'Due since '.date('dS M, Y',strtotime($reviewDate))) }}
@php if($inc==200){ $inc=300; }else{ $inc=200; } @endphp @endforeach @if(count($data) >=4) @endif
@endif @break @endswitch