@foreach($groupedSubjec as $sub)
@foreach($periods as $period) @endforeach @foreach($subperiods as $subper) @endforeach @foreach($criteriasGropedSubject as $key=>$value) @if($key==$sub->id_subject) @foreach($critery as $key=>$value) @foreach($subperiods as $subper) @if(array_key_exists($subper->serial_sbp,$sbp_nota)) @else @endif @endforeach @endforeach @endif @endforeach
{{$sub->subject}}{{$period->name_prd}}
{{$subper->name_sbp}}
{{$name_groupsbj_gcr[$key]}} {{$sbp_nota[$subper->serial_sbp]}}
@endforeach @foreach($subjects as $sub)
@foreach($periods as $period) @endforeach @foreach($subperiods as $subper) @endforeach @foreach($criterias as $key=>$value) @if($key==$sub->id_subject) @foreach($critery as $key=>$value) @foreach($subperiods as $subper) @if(array_key_exists($subper->serial_sbp,$sbp_nota)) @else @endif @endforeach @endforeach @endif @endforeach
{{$sub->subject}}{{$period->name_prd}}
{{$subper->name_sbp}}
{{$name_gcr[$key]}} {{$sbp_nota[$subper->serial_sbp]}}

@endforeach @foreach($subject_nob as $sub)
@foreach($periods as $period) @endforeach @foreach($subperiods as $subper) @endforeach @foreach($criterias_nob as $key=>$value) @if($key==$sub->id_subject) @foreach($critery as $key=>$value) @foreach($subperiods as $subper) @if(array_key_exists($subper->serial_sbp,$sbp_nota)) @else @endif @endforeach @endforeach @endif @endforeach
{{$sub->subject}}{{$period->name_prd}}
{{$subper->name_sbp}}
{{$name_gcr_nob[$key]}} {{$sbp_nota[$subper->serial_sbp]}}

@endforeach