Mostrar porcentajes en venta
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
<tr>
|
||||
<td><strong>Anticipo</strong></td>
|
||||
<td></td>
|
||||
<td>{{ $format->percent($anticipo['uf'] / $venta->valor, 2, true) }}</td>
|
||||
<td class="right aligned"><strong>{{$format->ufs($anticipo['uf'])}}</strong></td>
|
||||
<td class="right aligned"><strong>{{$format->pesos($anticipo['pesos'])}}</strong></td>
|
||||
<td colspan="2"></td>
|
||||
|
@ -14,7 +14,7 @@
|
||||
@endif
|
||||
</td>
|
||||
@if ($bonoPie !== null)
|
||||
<td></td>
|
||||
<td>{{ $format->percent($bonoPie->pago->valor() / $venta->valor, 2, true) }}</td>
|
||||
<td class="right aligned">{{$format->ufs($bonoPie->pago->valor())}}</td>
|
||||
<td class="right aligned">{{$format->pesos($bonoPie->pago->valor)}}</td>
|
||||
<td colspan="2"></td>
|
||||
|
@ -14,7 +14,7 @@
|
||||
@endif
|
||||
</td>
|
||||
@if ($credito !== null)
|
||||
<td></td>
|
||||
<td>{{ $format->percent($credito->pago->valor() / $venta->valor, 2, true) }}</td>
|
||||
<td class="right aligned">
|
||||
{{$format->ufs($credito->pago->valor())}}
|
||||
</td>
|
||||
|
@ -8,7 +8,7 @@
|
||||
</a>
|
||||
</sub>
|
||||
</td>
|
||||
<td></td>
|
||||
<td>{{ $format->percent($pie->valor / $venta->valor, 2, true) }}</td>
|
||||
<td class="right aligned">{{$format->ufs($pie->valor)}}</td>
|
||||
<td class="right aligned">{{$format->pesos($pie->valor * $pie->uf)}}</td>
|
||||
<td class="right aligned">Cuotas</td>
|
||||
@ -25,7 +25,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Pagado</td>
|
||||
<td></td>
|
||||
<td>{{$format->percent($pie->pagado() / $venta->valor, 2, true)}}</td>
|
||||
<td class="right aligned">{{$format->ufs($pie->pagado())}}</td>
|
||||
<td class="right aligned">{{$format->pesos($pie->pagado('pesos'))}}</td>
|
||||
<td colspan="2"></td>
|
||||
|
Reference in New Issue
Block a user