{{-- resources/views/tramites/index.blade.php --}} @extends('backend.layouts.app') {{-- Estilos críticos en el head para evitar FOUC --}} @push('after-styles') @endpush @section('page-title')
Administra y supervisa todos los trámites del sistema
| ID | TIPO DE PRODUCTO | PRODUCTO | TIPO DE TRÁMITE | ESTADO DEL TRÁMITE | RESPONSABLE | FECHA PLANEADA DE ENTREGA DEL DOSSIER | EXPEDIENTE | NÚMERO DE REGISTRO | RADICADO | ACCIONES |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $tramite->id }} | @if($tramite->productoEspecifico && $tramite->productoEspecifico->tipoProducto) {{ $tramite->productoEspecifico->tipoProducto->nombre }} @else {{ $tramite->tipoTramite->tiposProducto->pluck('nombre')->join(', ') ?? '-' }} @endif | {{ $tramite->productoEspecifico->nombre ?? '-' }} | {{ $tramite->tipoTramite->nombre ?? '-' }} | {{ $tramite->estadoTramite->nombre ?? '-' }} | @if($tramite->responsable) {{ strtoupper($tramite->responsable->name) }} @else - @endif | @php $fechaPlaneada = $tramite->fecha_planeada_de_entrega_del_dossier; $fechaEntrega = $tramite->fecha_de_entrega_del_dossier; @endphp @if($fechaPlaneada) {{ date('d/m/Y', strtotime($fechaPlaneada)) }} @if($fechaEntrega) @if(strtotime($fechaEntrega) <= strtotime($fechaPlaneada)) @else @endif @endif @else - @endif | {{ $tramite->productoEspecifico->expediente ?? '-' }} | {{ $tramite->productoEspecifico->num_registro ?? '-' }} | {{ $tramite->radicado ?? '-' }} | |
| NO HAY TRÁMITES REGISTRADOS. | ||||||||||