PLACA: {{$placa}}

PROPIETARIO: {{$propietario}}


@php $totcap = 0; $totint = 0; $total = 0; @endphp @foreach ($cuotas as $cuota) @php $totcap = $totcap + $cuota->capital; $totint = $totint + $cuota->interes; $total = $total + $cuota->capital + $cuota->interes; @endphp @endforeach @php $hon = $totcap*0.1; @endphp
MES CAPITAL INTERES TOTAL
{{$cuota->mes}}, {{$cuota->concepto}} ${{number_format($cuota->capital, 2)}} ${{number_format($cuota->interes, 2)}} ${{ number_format($cuota->capital + $cuota->interes, 2)}}
TOTAL: ${{ number_format($totcap, 2)}} ${{ number_format($totint, 2)}} ${{ number_format($total, 2)}}
TOTAL, DEUDA CAPITAL + INTERESES ${{ number_format($total, 2)}}
TOTAL HONORARIOS PROFESIONALES ${{ number_format($hon, 2)}}
TOTAL ${{ number_format($total+$hon, 2)}}