Mostrar porcentajes en venta

This commit is contained in:
Juan Pablo Vial
2025-04-03 13:56:11 -03:00
parent 8a1e6a7761
commit b5d6d0acb9
6 changed files with 8 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>