Files
oficial/app/resources/views/ventas/show/forma_pago/total.blade.php

29 lines
750 B
PHP
Raw Normal View History

<tr class="{{$venta->saldo() < 0 ? 'positive' : ($venta->saldo() > 0 ? 'error' : '')}}">
<td>
<strong>
Total
</strong>
</td>
<td></td>
<td class="right aligned">
<strong>
{{$format->ufs($formaPago->total())}}
</strong>
</td>
<td class="right aligned">
<strong>
{{$format->pesos($formaPago->total('pesos'))}}
</strong>
</td>
<td class="right aligned" >
2023-11-24 20:28:08 -03:00
@if (abs($venta->saldo() / $venta->valor) > 0.01)
<strong>
&Delta;
{{$format->ufs($venta->saldo())}}
({{$format->number($venta->saldo() / $venta->valor * 100, 2)}} %)
</strong>
@endif
</td>
<td></td>
</tr>