@foreach ($tramite as $item)
@endforeach
Folio |
Zona |
Fecha Modificación |
Estatus |
Acciones |
{{ $item->FOLIONODO }} |
{{ $item->zona->DESCRIPCION }} |
{{ $item->FECHAACTUALIZACION }} |
@if($item->IDESTATUS === 48)
Generar Precertificado
@elseif($item->IDESTATUS === 46)
Ver Precertificado
@else
{{ $item->estatus->DESCRIPCION }}
@endif
|
@if ($item->estatus->CLAVE == 'TC-CNA')
@endif
@if ($item->estatus->CLAVE == 'SN-CNA' || ($item->estatus->CLAVE == 'C-CNA' && (Auth::user()->rol === 1 || Auth::user()->rol === 4)))
@if (Auth::user()->rol === 4)
@endif
@endif
@if ($item->estatus->CLAVE == 'SR-CNA' && (Auth::user()->rol == 1 || Auth::user()->rol == 4))
@endif
@if ($item->estatus->CLAVE == 'TP-CNA' && (Auth::user()->rol == 1 || Auth::user()->rol == 3))
@endif
@if ($item->estatus->CLAVE == 'GPC-CNA' && (Auth::user()->rol == 1 || Auth::user()->rol == 3))
@endif
@if ($item->estatus->CLAVE == 'VP-CNA' && (Auth::user()->rol == 1 || Auth::user()->rol == 2))
@endif
@if ($item->estatus->CLAVE == 'SN-CNA' || $item->estatus->CLAVE == 'C-CNA' || ($item->estatus->CLAVE == 'SR-CNA' && (Auth::user()->rol == 1 || Auth::user()->rol == 4)))
@endif
|
{{ $tramite->links() }}