Mostrar porcentajes en venta

This commit is contained in:
Juan Pablo Vial
2025-04-03 13:38:22 -03:00
parent 6d1782cac6
commit df7f462ead
5 changed files with 7 additions and 6 deletions

View File

@ -167,7 +167,8 @@
}, 0.0))}}
</th>
<th class="right aligned">
{{$format->number(($total > 0) ? $pagado / $total * 100 : 0, 2)}}%
{{ $format->percent(($total > 0) ? $pagado / $total : 0, 2, true) }} Pie<br />
{{ $format->percent($pagado / $venta->valor, 2, true) }} Promesa
</th>
<th colspan="3"></th>
</tr>