Deuda Total |
@php
$total = 0;
if($pago[0]->enero == null){ $total = $total + 15000; }
if($pago[0]->febrero == null){ $total = $total + 15000; }
if($pago[0]->marzo == null){ $total = $total + 15000; }
if($pago[0]->abril == null){ $total = $total + 15000; }
if($pago[0]->mayo == null){ $total = $total + 15000; }
if($pago[0]->junio == null){ $total = $total + 15000; }
if($pago[0]->julio == null){ $total = $total + 15000; }
if($pago[0]->agosto == null){ $total = $total + 15000; }
if($pago[0]->septiembre == null){ $total = $total + 15000; }
if($pago[0]->octubre == null){ $total = $total + 15000; }
if($pago[0]->noviembre == null){ $total = $total + 15000; }
if($pago[0]->diciembre == null){ $total = $total + 15000; }
@endphp
$ {{ number_format($total, 0, ",", ".") }}
|
@if ($total != 0)
|
@endif