FIX: Escritura y saldo
This commit is contained in:
@ -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>
|
||||
|
@ -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>
|
||||
Δ
|
||||
{{$format->ufs($venta->saldo())}}
|
||||
|
Reference in New Issue
Block a user