Your Weekly checklist

Hello {!! $data['recipientName'] !!},

Here is your checklist status for this week ({!!$data['startDate']!!} to {!!$data['endDate']!!} )

@foreach($data['allDates'] as $day) @endforeach @if(count($data['data']) > 0) @foreach($data['data'] as $task) @if($task['checklists']) @foreach($task['checklists'] as $checklist) @endforeach @endif @endforeach @endif
Checklist{{viewDate($day)}}
{{$task['header']}}
{!! $checklist['task'] !!} {!! $checklist['Mon']['done'] !!} {!! $checklist['Tue']['done'] !!} {!! $checklist['Wed']['done'] !!} {!! $checklist['Thu']['done'] !!} {!! $checklist['Fri']['done'] !!} {!! $checklist['Sat']['done'] !!}
@php($x=1) @php($disabled=true) @if(is_array($data['arrHeaderQuestions']) && count($data['arrHeaderQuestions'])>0) @foreach($data['arrHeaderQuestions'] as $heading=>$arrQues) @php($headLen = 1) @if($heading=='Review Performance' || $heading=='Plan for the future') @if($x == count($data['arrHeaderQuestions'])) @endif @foreach($arrQues as $spell => $arrQuestions) @php($arr = []) @foreach($arrQuestions as $questions) @php($arr[] = ['id'=>$questions['id'],'question'=>$questions['question']]) @endforeach @php($headLen++) @endforeach @if($x == count($data['arrHeaderQuestions'])) @if(is_array($data['arrManagerComments']['future']) && count($data['arrManagerComments']['future'])>0 && $data['arrManagerComments']['future'][0]['manager_comment']!='') @else @endif @else @if(is_array($data['arrManagerComments']['past']) && count($data['arrManagerComments']['past'])>0 && $data['arrManagerComments']['past'][0]['manager_comment']!='') @else @endif @endif @else @if($x == count($data['arrHeaderQuestions'])) @endif @foreach($arrQues as $questions) @endforeach @endif @php($x++) @endforeach
{{$heading}}
{{$heading}}

“If you fail to plan, you are planning to fail”

Benjamin Franklin

Review all your inboxes (inbox dump)
[Pro tip: 1. add things on to-do as you go; 2. Do time blocking on your Calendar]

{{$spell}}{{$questions['question']}}

{{ $questions['staffData'] }}

Review Comments By Manager:
{{ $data['arrManagerComments']['future'][0]['manager_comment'] }}
No comments yet
Review Comments By Manager:
{{ $data['arrManagerComments']['past'][0]['manager_comment'] }}
No comments yet
{{$heading}}
3 surprises in a Good Way and 3 in a Bad way

“If you fail to plan, you are planning to fail”

Benjamin Franklin

Review all your inboxes (inbox dump)
[Pro tip: 1. add things on to-do as you go; 2. Do time blocking on your Calendar]

{{$questions['question']}}

{{ (isset($questions['staffData']) && $questions['staffData']!='')?nl2br($questions['staffData']):'' }}

@endif