FIX: Escritura y saldo

This commit is contained in:
2023-11-24 20:28:08 -03:00
parent a82db6e1da
commit b66ef435c6
2 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,9 @@
<div class="ui inverted grey segment">
ESCRITURA
</div>
@if ($venta->formaPago()->escritura !== null)
@if (in_array($venta->currentEstado()->tipoEstadoVenta->descripcion, ['escriturando', 'firmado por inmobiliaria', 'archivado']))
<div class="ui segment">
Escriturado {{$venta->formaPago()->escritura->fecha->format('d-m-Y')}}
Escriturado {{$venta->currentEstado()->fecha->format('d-m-Y')}}
<a href="{{$urls->base}}/venta/{{$venta->id}}/escritura/informe">
Informe
<i class="right chevron icon"></i>

View File

@ -16,7 +16,7 @@
</strong>
</td>
<td class="right aligned" >
@if ($venta->saldo() / $venta->valor > 0.01)
@if (abs($venta->saldo() / $venta->valor) > 0.01)
<strong>
&Delta;
{{$format->ufs($venta->saldo())}}