diff --git a/app/resources/views/ventas/pies/cuotas.blade.php b/app/resources/views/ventas/pies/cuotas.blade.php
index d912fea..a0962b9 100644
--- a/app/resources/views/ventas/pies/cuotas.blade.php
+++ b/app/resources/views/ventas/pies/cuotas.blade.php
@@ -60,21 +60,18 @@
{{$cuota->pago->identificador}} |
{{$format->pesos($cuota->pago->valor)}} |
- @if (in_array($cuota->pago->currentEstado->tipoEstadoPago->descripcion, ['depositado', 'abonado']) and $cuota->pago->currentEstado->fecha <= $now)
+ @if (in_array($cuota->pago->currentEstado->tipoEstadoPago->descripcion, ['depositado', 'abonado'])
+ and $cuota->pago->currentEstado->fecha <= $now)
{{$format->ufs($cuota->pago->valor())}}
@else
~{{$format->ufs($cuota->pago->valor / $uf_venta)}}
@endif
|
- pago->currentEstado->tipoEstadoPago->descripcion === 'abonado')
- class="green"
- @elseif ($cuota->pago->currentEstado->tipoEstadoPago->descripcion === 'depositado')
- class="yellow"
- @elseif ($cuota->pago->currentEstado->tipoEstadoPago->activo !== 1)
- class="red"
- @endif
- >{{ucwords($cuota->pago->currentEstado->tipoEstadoPago->descripcion)}} |
+ pago->currentEstado->tipoEstadoPago->descripcion === 'abonado' ? ' class="green"' :
+ ($cuota->pago->currentEstado->tipoEstadoPago->descripcion === 'depositado' ? ' class="yellow"' :
+ ($cuota->pago->currentEstado->tipoEstadoPago->activo !== 1 ? ' class="red"' : ''))) !!}>
+ {{ucwords($cuota->pago->currentEstado->tipoEstadoPago->descripcion)}}
+ |
@if (in_array($cuota->pago->currentEstado->tipoEstadoPago->descripcion, ['abonado', 'anulado', 'reemplazado']))
{{$cuota->pago->currentEstado->fecha->format('d-m-Y')}}
@@ -83,11 +80,14 @@
- |