@extends('template.layout') @section('content') @include('sweet::alert')
| Nombre alumno | @foreach($notasxAlumno[0]->Notas as $pc){{$pc->nombre}} ( {{$pc->DetalleNota[0]->porcentaje}} % ) | @endforeachPromedio Final | |||
|---|---|---|---|---|---|
| {{ $item->alumno->usuario->apellido_paterno . " " . $item->alumno->usuario->apellido_materno . ", " . $item->alumno->usuario->nombres }} | @foreach($item->Notas as $not) @if($not->nota < 11){{$not->nota}} | @else{{$not->nota}} | @endif @endforeach @php($aux11 = 0) @foreach($item->Notas as $nx) @php($aux11 += $nx->nota) @php($count++) @endforeach @if($count > 0) @php($resultado = $aux11/$count) @if($resultado < 11){{$resultado}} | @else{{$resultado}} | @endif @else@endif |