Client Logo
{{-- Export to Excel button and course name --}}
Course Name: {{ $course_name }} Export to Excel
@php $serial = 1; @endphp @foreach ($groupedComments as $moduleNo => $pages) {{-- Module Row --}} @foreach ($pages as $pageNo => $comments) {{-- Page Row --}} {{-- Comments under page --}} @foreach ($comments as $comment) @endforeach @endforeach @endforeach
# Severity Date Reviewer Comments Status Update Comment
Module Name: {{ $moduleNo }}
Screen Number: {{ $pageNo }}
{{ $serial++ }} {{ $comment->severity ?? 'N/A' }} {{ date('Y-m-d', strtotime($comment->created_at)) }} {{ $comment->comment ?? 'No comment available' }} {{ $comment->status ?? 'N/A' }}
Last Updated: {{ isset($comment->updated_at) ? date('Y-m-d H:i A', strtotime($comment->updated_at)) : 'N/A' }}