Reordenar
This commit is contained in:
@ -60,21 +60,18 @@
|
|||||||
<td>{{$cuota->pago->identificador}}</td>
|
<td>{{$cuota->pago->identificador}}</td>
|
||||||
<td class="right aligned">{{$format->pesos($cuota->pago->valor)}}</td>
|
<td class="right aligned">{{$format->pesos($cuota->pago->valor)}}</td>
|
||||||
<td class="right aligned">
|
<td class="right aligned">
|
||||||
@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())}}
|
{{$format->ufs($cuota->pago->valor())}}
|
||||||
@else
|
@else
|
||||||
~{{$format->ufs($cuota->pago->valor / $uf_venta)}}
|
~{{$format->ufs($cuota->pago->valor / $uf_venta)}}
|
||||||
@endif
|
@endif
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td{!! ($cuota->pago->currentEstado->tipoEstadoPago->descripcion === 'abonado' ? ' class="green"' :
|
||||||
@if ($cuota->pago->currentEstado->tipoEstadoPago->descripcion === 'abonado')
|
($cuota->pago->currentEstado->tipoEstadoPago->descripcion === 'depositado' ? ' class="yellow"' :
|
||||||
class="green"
|
($cuota->pago->currentEstado->tipoEstadoPago->activo !== 1 ? ' class="red"' : ''))) !!}>
|
||||||
@elseif ($cuota->pago->currentEstado->tipoEstadoPago->descripcion === 'depositado')
|
{{ucwords($cuota->pago->currentEstado->tipoEstadoPago->descripcion)}}
|
||||||
class="yellow"
|
</td>
|
||||||
@elseif ($cuota->pago->currentEstado->tipoEstadoPago->activo !== 1)
|
|
||||||
class="red"
|
|
||||||
@endif
|
|
||||||
>{{ucwords($cuota->pago->currentEstado->tipoEstadoPago->descripcion)}}</td>
|
|
||||||
<td>
|
<td>
|
||||||
@if (in_array($cuota->pago->currentEstado->tipoEstadoPago->descripcion, ['abonado', 'anulado', 'reemplazado']))
|
@if (in_array($cuota->pago->currentEstado->tipoEstadoPago->descripcion, ['abonado', 'anulado', 'reemplazado']))
|
||||||
{{$cuota->pago->currentEstado->fecha->format('d-m-Y')}}
|
{{$cuota->pago->currentEstado->fecha->format('d-m-Y')}}
|
||||||
@ -83,11 +80,14 @@
|
|||||||
<div class="ui action left icon input">
|
<div class="ui action left icon input">
|
||||||
<i class="calendar icon"></i>
|
<i class="calendar icon"></i>
|
||||||
<input type="text" name="fecha_estado" />
|
<input type="text" name="fecha_estado" />
|
||||||
<button class="ui green basic icon button accept_estado" data-pago="{{$cuota->pago->id}}" data-estado="{{$cuota->pago->currentEstado->tipoEstadoPago->descripcion}}">
|
<button class="ui green basic icon button accept_estado"
|
||||||
|
data-pago="{{$cuota->pago->id}}"
|
||||||
|
data-estado="{{$cuota->pago->currentEstado->tipoEstadoPago->descripcion}}">
|
||||||
<i class="check icon"></i>
|
<i class="check icon"></i>
|
||||||
</button>
|
</button>
|
||||||
@if ($cuota->pago->currentEstado->tipoEstadoPago->descripcion === 'depositado')
|
@if ($cuota->pago->currentEstado->tipoEstadoPago->descripcion === 'depositado')
|
||||||
<button class="ui red basic icon button reject_estado" data-pago="{{$cuota->pago->id}}">
|
<button class="ui red basic icon button reject_estado"
|
||||||
|
data-pago="{{$cuota->pago->id}}">
|
||||||
<i class="remove icon"></i>
|
<i class="remove icon"></i>
|
||||||
</button>
|
</button>
|
||||||
@endif
|
@endif
|
||||||
|
Reference in New Issue
Block a user