Tasks @foreach ($report as $weekId => $weeklyReport)
Warning: Undefined variable $weeklyReport in /var/www/html/pruthvi/resources/views/monthly_work_planner/record_view.blade.php on line 42

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/html/pruthvi/resources/views/monthly_work_planner/record_view.blade.php:42 Stack trace: #0 {main} thrown in /var/www/html/pruthvi/resources/views/monthly_work_planner/record_view.blade.php on line 42
@if(($monthly_work_planner->records->count() != 0) && Auth::user()->can('planner_update', $monthly_work_planner)) Update @endif @if ((Auth::user()->isAD())&& in_array($monthly_work_planner->status,['sent_action_plan', 'sent_accomplishments'])) Director Remarks @endif @if(!Auth::user()->can('create', $monthly_work_planner) && (!Auth::user()->isAD()) && in_array($monthly_work_planner->status,['sent_action_plan'])) Exe Update @endif
Week Activity Task Target Date Actual Target Date Assigned to Initially Assigned to Status % Remarks Director Remarks