Reporte Pagos


@if(!empty($records))
@for ($i = 1; $i <= $payment_count; $i++) @endfor @for ($i = 1; $i <= $payment_count; $i++) @endfor @foreach($records as $key => $value) @for ($i = 0; $i < $payment_count; $i++) @endfor @for ($i = 0; $i < $payment_count; $i++) @endfor @endforeach
# Ruc Fecha Factura Nombre Comercial Razon Social Zona Tipo de cliente Departamento Distrito Total FacturaPago {{$i}}SaldoReferencia {{$i}}
{{$loop->iteration}} {{$value->ruc}} {{$value->date}} {{$value->invoice }} {{$value->comercial_name }} {{$value->business_name }} {{$value->zone }} {{$value->person_type }} {{$value->department }} {{$value->district }} {{$value->total }}{{ ( isset($value->payments[$i]) ) ? number_format($value->payments[$i]->payment, 2, ".", "") : '' }}{{$value->balance }} {{ ( isset($value->payments[$i]) ) ? $value->payments[$i]->reference : '' }}
@else

No se encontraron registros.

@endif