@extends('layouts.app') @section('content')

Creditos Otorgados

@foreach($credit as $cred) @endforeach
Nombres Credito Barrio Hora Tasa Cuotas Valor neto
{{$cred->name}} {{$cred->last_name}} {{$cred->credit_id}} {{$cred->province}} {{$cred->created_at}} {{$cred->utility}} {{$cred->payment_number}} {{($cred->amount_neto)}}

Total: {{$total_credit}}

Pagos Recibidos

@foreach($summary as $sum) @endforeach
Nombres Fecha Credito Cuota Valor Saldo
{{$sum->name}} {{$sum->last_name}} {{$sum->created_at}} {{$sum->credit_id}} {{$sum->number_index}} {{$sum->amount}} {{(($sum->amount_neto)+($sum->amount_neto*$sum->utility))-($sum->total_summary)}}

Total: {{$total_summary}}

Gastos del Agente

@foreach($bills as $bill) @endforeach
Gasto Detalle Valor Fecha
{{$bill->type_bill}} {{$bill->description}} {{$bill->amount}} {{$bill->created_at}}

Total: {{$total_bills}}

@endsection