FIX: Venta

This commit is contained in:
Juan Pablo Vial
2024-03-13 22:43:37 -03:00
parent 57f9169cc7
commit 9c335fd350
8 changed files with 35 additions and 106 deletions

View File

@ -50,7 +50,7 @@
</td>
<td class="right aligned">
@if ($unidad->proyectoTipoUnidad->tipoUnidad->descripcion === 'departamento')
{{$format->number(($unidad->valor ?? $precio) / $unidad->proyectoTipoUnidad->vendible(), 2)}} UF/
{{$format->number((($unidad->valor === null or $unidad->valor === 0.0) ? $precio : $unidad->valor) / $unidad->proyectoTipoUnidad->vendible(), 2)}} UF/
@endif
</td>
<td class="center aligned">