@extends('admin::layouts.plane') @section('page_heading') {{ $title }} @endsection @section('content')
@if (!empty($scheme_courses_detailsArr)) @php $totalCredits = 0; @endphp @for ($i = 1; $i <= $semester; $i++) @php $semesterTotalCredits = 0; @endphp @foreach ($scheme_courses_detailsArr[$i] as $scheme_courses_detail) @php $semesterTotalCredits += $scheme_courses_detail['theory_credits'] + ($scheme_courses_detail['partical_credits'] != 'x' ? $scheme_courses_detail['partical_credits'] : 0); @endphp @endforeach @php $totalCredits += $semesterTotalCredits; @endphp @if ($i > 1) @endif @endfor
{{ $title }} {{ $start_on }}
Paper Course Title Type Course Code Theory
Credits
Parctical
Credits
Semester {{ $semesterSuffix[$i]??$i.'th' }} @if ($i == 1) Internal @endif @if ($i == 1) MCQ @endif @if ($i == 1) Theory @endif @if ($i == 1) Practical Internal @endif @if ($i == 1) Practical External @endif
{{ $scheme_courses_detail['paper'] }} {{ $scheme_courses_detail['title'] }} {{ $scheme_courses_detail['type'] }} {{ $scheme_courses_detail['course_code'] }} {{ $scheme_courses_detail['theory_credits'] }} {{ $scheme_courses_detail['partical_credits'] }} {{ $scheme_courses_detail['internal'] }} {{ $scheme_courses_detail['mcq'] }} {{ $scheme_courses_detail['theory'] }} {{ $scheme_courses_detail['partical_internal'] }} {{ $scheme_courses_detail['partical_external'] }}
Theory Credits of Semester {{ $semesterSuffix[$i]??$i.'th' }}  {{ $semesterTotalCredits }}
Theory Credits up to Semester {{ $semesterSuffix[$i]??$i.'th' }}  {{ $totalCredits }}
@endif
@stop