|
@if (Gate::check('resoluciones.destroy') || Gate::check('resoluciones.edit'))
@endif
|
{{ $resolucion->resolucion }} |
{{ $resolucion->tipo }} |
{{ $resolucion->mandante }} |
@if (isset($resolucion->jornadaDeTrabajo))
{{ $resolucion->jornadaDeTrabajo->jornada }} |
@else
|
@endif
{{ $resolucion->horario }} |
@if (isset($resolucion->fecha_vencimiento))
{{ fechaConFormatoDeChile($resolucion->fecha_vencimiento) }} |
@else
|
@endif
@if (isset($resolucion->contratoComercial))
{{ $resolucion->contratoComercial->numero_contrato}} |
@else
|
@endif
{{ $resolucion->usuario->name }} |
@if ($resolucion->estado == 'Operativo')
{{ $resolucion->estado }} |
@else
{{ $resolucion->estado }} |
@endif
@if ($resolucion->tipo=="Excepcional")
@if ($estadoDeVencimiento == 'Vigente')
{{ $estadoDeVencimiento }} |
@elseif($estadoDeVencimiento == 'Por Vencer')
{{ $estadoDeVencimiento }} |
@elseif($estadoDeVencimiento == 'Vencido')
{{ $estadoDeVencimiento }} |
@endif
{{$diasFaltantes}} |
@else
No Aplica |
No Aplica |
@endif
@endforeach