@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->DetalleNota[0]->porcentaje/100)*($nx->nota)) @php($count++) @endforeach @if($count > 0) @php($resultado = $aux11) @if($resultado < 11){{$aux11}} | @else{{$aux11}} | @endif @else@endif @php($countx = $count) @php($count = 0) @php($resultado = 0) |