El departamento {{$venta->unidad()->descripcion}}:
@if (count($venta->propiedad()->estacionamientos()) > 0)
@if (count($venta->propiedad()->estacionamientos()) > 1)
tiene los estacionamientos
@foreach ($venta->propiedad()->estacionamientos() as $i => $est)
@if ($i == count($venta->propiedad()->estacionamientos()) - 1)
y
@elseif ($i > 0)
,
@endif
{{$est->descripcion}}
@endforeach
@else
tiene el estacionamiento {{$venta->propiedad()->estacionamientos()[0]->descripcion}}
@endif
@else
no tiene estacionamientos
@endif
y
@if (count($venta->propiedad()->bodegas()) > 0)
@if (count($venta->propiedad()->bodegas()) > 1)
tiene las bodegas
@foreach ($venta->propiedad()->bodegas() as $i => $est)
@if ($i == count($venta->propiedad()->bodegas()) - 1)
y
@elseif ($i > 0)
,
@endif
{{$est->descripcion}}
@endforeach
@else
tiene la bodega {{$venta->propiedad()->bodegas()[0]->descripcion}}.
@endif
@else
no tiene bodegas.
@endif
PRECIO {{format('ufs', $venta->valor('ufs'))}} UF.
@if ($venta->pie != 0)
PIE {{count($venta->pie()->cuotas())}} cuota{{(count($venta->pie()->cuotas()) > 1) ? 's que suman' : ' de'}}
$ {{format('pesos', $venta->pie()->valorPagado('pesos'))}} equivalente a {{format('ufs', $venta->pieReajustado())}} UF.
@if ($venta->pie()->reajuste != 0)
REAJUSTE
@if ($venta->pie()->reajuste()->estado()->estado >= 1)
$ {{format('pesos', $venta->pie()->reajuste()->valor)}} el {{format('shortDate', $venta->pie()->reajuste()->fecha)}}
equivalente a {{format('ufs', $venta->pie()->reajuste()->valor('ufs'))}} UF.
@else
{{format('ufs', $venta->pie()->reajuste()->valor('ufs'))}} UF por pagar.
@endif
@endif
@endif
@if ($venta->escritura != 0)
ESCRITURA
@if ($venta->escritura()->pago()->estado()->estado >= 1)
$ {{format('pesos', $venta->escritura()->pago()->valor)}} el {{format('shortDate', $venta->escritura()->pago()->fecha)}}
equivalente a {{format('ufs', $venta->escritura()->pago()->valor('ufs'))}} UF.
@else
{{format('ufs', $venta->escritura()->pago()->valor('ufs'))}} UF por pagar.
@endif
@endif
@if ($venta->saldo() / $venta->valor_uf > 0.01)
(DEVOLVER {{format('ufs', $venta->saldo())}} UF).
@endif
@if ($venta->anticipo() > 0)
TOTAL ANTICIPO {{format('ufs', $venta->anticipo())}} UF.
@endif
@if ($venta->bono_pie != 0)
BONO {{format('ufs', $venta->bonoPie()->pago()->valor('ufs'))}} UF.
@endif
@if ($venta->subsidio != 0)
SUBSIDIO {{format('ufs', $venta->subsidio()->pago()->valor('ufs'))}} UF con ahorro y
{{format('ufs', $venta->subsidio()->subsidio()->valor('ufs'))}} UF con subsidio.
@endif
@if ($venta->credito != 0)
Saldo {{format('ufs', $venta->credito()->pago()->valor('ufs'))}} UF con CRÉDITO en {{$venta->credito()->pago()->banco()->nombreCompleto()}}.
@endif
TOTAL {{format('ufs', $venta->pagado())}} UF.
@if ($venta->saldo() > 0.0001)
Diferencia {{format('ufs', $venta->saldo())}} UF ({{\App\Helper\Format::number(($venta->saldo()) / $venta->valor_uf * 100, 2)}}%).
@endif
@endsection