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"> <div class="ui inverted grey segment">
ESCRITURA ESCRITURA
</div> </div>
@if ($venta->formaPago()->escritura !== null) @if (in_array($venta->currentEstado()->tipoEstadoVenta->descripcion, ['escriturando', 'firmado por inmobiliaria', 'archivado']))
<div class="ui segment"> <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"> <a href="{{$urls->base}}/venta/{{$venta->id}}/escritura/informe">
Informe Informe
<i class="right chevron icon"></i> <i class="right chevron icon"></i>

View File

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