Registrador : {{$user->name}} Del {{$request->from}} al {{$request->to}}

@foreach($careers as $career){ } @endforeach @foreach($typeExams as $typeExam) @foreach($careers as $career){ } @endforeach @endforeach {{-- @foreach($typeExams as $typeExam) --}} @foreach($careers as $career){ } @endforeach
ESCUELA{{$career->title}}TOTAL
{{$typeExam->title}} {{$career->registereds()->where('confirmed','1')->where('recorder_id',$user->id)->whereBetween('registration_date', [$request->from, $request->to])->where('type_exam_id',$typeExam->id)->count()}} {{$typeExam->registereds()->where('confirmed','1')->where('recorder_id',$user->id)->whereBetween('registration_date', [$request->from, $request->to])->count()}}
TOTAL{{$career->registereds()->where('confirmed','1')->where('recorder_id',$user->id)->whereBetween('registration_date', [$request->from, $request->to])->count()}}{{$registeredsTotal}}
{{-- OTHER STUFF --}}