College Logo
END SEMESTER EXAMINATIONS RESULT DEC 2024
Student Name : {{ $mark_first->{$std_name_key} }}
Register Number : {{ $mark_first->{$reg_no_key} }}
Course : {{ $mark_first->{$course_key} }}
@foreach ($config_view as $data) @endforeach @foreach($marks as $mark) @foreach($config_view as $data) @php $attribute_value = $mark->{$data->config_key} ?? null; @endphp @endforeach @endforeach @php // Initializing a variable to track whether the student has failed $overall_result = "Pass"; // Default result is Pass // Loop through each student's marks foreach ($marks as $mark) { // Loop through each attribute (or column) of the mark foreach ($mark->getAttributes() as $attribute_name => $attribute_value) { // Check if the attribute is the 'Result' column and if it contains 'Fail' if ($attribute_name == $result_key && strtolower($attribute_value) == "fail") { $overall_result = "Fail"; // If any result is Fail, overall result should be Fail break 2; // Exit both loops if Fail is found } } } @endphp
S.No{{ $data->config_value }}
{{ $loop->iteration }} @if($attribute_value !== null) {{ $attribute_value }} @else N/A @endif
Report Generated: {{ now()->format('F j, Y') }}