@extends('layouts.admin') @section('styles') @endsection @section('content') @php $t_abono = 0; $t_caja = 0; $t_gasto = 0; @endphp

ABONOS REALIZADOS

@foreach ($data as $estudiante) @endforeach
REC. / FECH. ESTU. VALOR
#{{ $estudiante->id }} /
{{$estudiante->created_at->toFormattedDateString()}}
({{$estudiante->user->name}})
{{ $estudiante->estudiante->nombre }} Q. {{ number_format($estudiante->valor, 2) }}
({{$estudiante->tipo}})

USUARIOS QUE ABONARON

@foreach ($user_Abonos as $us) @endforeach @foreach ($user_Abonos as $us) @endforeach
{{$us->name}}
Q. {{number_format($us->total, 2)}}

GASTOS

@foreach ($gastos as $data) @endforeach
FECH. DESCRIPCION. VALOR USUARIO
{{$data->created_at->toFormattedDateString()}} {{$data->descripcion}}, {{$data->user->name}} Q. {{number_format($data->valor, 2)}} {{$data->user->name}}

CAJA CHICA

@foreach ($entradas as $data) @endforeach
FECH. DESCRIPCION. VALOR USUARIO
{{$data->created_at->toFormattedDateString()}} {{$data->descripcion}}, {{$data->user->name}} Q. {{number_format($data->valor, 2)}} {{$data->user->name}}

TOTALES

ABONOS: Q. {{number_format($t_abono, 2)}}

GASTOS: Q. {{number_format($t_gasto, 2)}}

CAJA CHICA: Q. {{number_format($t_caja, 2)}}

@endsection @section('scripts') @endsection