feature/porcentajes-pie-y-bono #22

Merged
aldarien merged 6 commits from feature/porcentajes-pie-y-bono into develop 2025-04-03 13:51:16 -03:00
8 changed files with 21 additions and 12 deletions
Showing only changes of commit df7f462ead - Show all commits

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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>