@php use App\Http\Controllers\modificaciones_controller; @endphp
|
|
| CAMBIOS O MODIFICACIONES INTERNAS |
|
FECHA DE SOLICITUD CORRECCIÓN INTERNA: {{$datos_modificacion->fecha_solicitud}} FECHA DE ELABORACIÓN: {{$fecha_elaboracion}} FECHA LÍMITE PARA EL CAMBIO: {{$datos_modificacion->fecha_limite}} |
| ÁREAS AFECTADAS POR EL CAMBIO | ||
| LÍNEA DE TRABAJO | PERSONAL RESPONSABLE | JEFE DE ÁREA |
|---|---|---|
| {{$area->linea}} | {{$area->nombre}} {{$area->apaterno}} | {{$area->jefe_area ?? 'N/A'}} |
INFORME AFECTADO: {{$num_informe ?? 'N/A'}}
EMPRESA INFORME: {{$datos_cliente->cliente_informe ?? 'N/A'}}
EMPRESA FACTURA: {{$datos_cliente->cliente_factura ?? 'N/A'}}
PERSONA QUE SOLICITÓ EL CAMBIO: {{$datos_modificacion->persona_solicita_cambio}}
ORIGEN DEL CAMBIO: {{$datos_modificacion->cambio}}
FECHA DE CORRECCIÓN INTERNA: {{$datos_modificacion->fecha_recepcion}}
VÍA DE SOLICITUD: {{$datos_modificacion->via_solicitud}}
| DESCRIPCIÓN DEL CAMBIO O MODIFICACIÓN |
| {{$datos_modificacion->descripcion}} |
| CAMBIO EN NO. INFORME | MODELO | CAMPO A MODIFICAR | DICE | DEBE DECIR | A CARGO DE | ||||
|---|---|---|---|---|---|---|---|---|---|
| {{$dato_informe->numero_informe}} | {{$dato_informe->modelo ?? 'N/A'}} | {{$campo_modificado}} | @switch($dato_informe->campo_modificado) @case("cliente_informes.empresa_representante") @php $valorVisual = $dato_informe->dice; $ids = explode('|',$valorVisual); if(count($ids)==2){ $cliente = \App\Cliente_Informe::find($ids[0]); $rep = \App\Cliente_Representante_Legal_Informe::find($ids[1]); $valorVisual = "Cliente Informe: ".($cliente->nombre_empresa ?? 'N/A'). " | Rep. Legal: ".($rep->representante_legal ?? 'N/A'); } @endphp{{$valorVisual}} | @break @case("cliente_facturas.empresa_contacto") @php $valorVisual = $dato_informe->dice; $ids = explode('|',$valorVisual); if(count($ids)==2){ $cliente = \App\Cliente_Factura::find($ids[0]); $contacto = \App\Cliente_Contacto_Factura::find($ids[1]); $valorVisual = "Cliente Factura: ".($cliente->nombre_empresa ?? 'N/A'). " | Nombre Contacto: ".($contacto->nombre_contacto ?? 'N/A'); } @endphp{{$valorVisual}} | @break @default{{$dato_informe->dice}} | @endswitch @switch($dato_informe->campo_modificado) @case("cliente_informes.empresa_representante") @php $valorVisual = $dato_informe->debe_decir; $ids = explode('|',$valorVisual); if(count($ids)==2){ $cliente = \App\Cliente_Informe::find($ids[0]); $rep = \App\Cliente_Representante_Legal_Informe::find($ids[1]); $valorVisual = "Cliente Informe: ".($cliente->nombre_empresa ?? 'N/A'). " | Rep. Legal: ".($rep->representante_legal ?? 'N/A'); } @endphp{{$valorVisual}} | @break @case("cliente_facturas.empresa_contacto") @php $valorVisual = $dato_informe->debe_decir; $ids = explode('|',$valorVisual); if(count($ids)==2){ $cliente = \App\Cliente_Factura::find($ids[0]); $contacto = \App\Cliente_Contacto_Factura::find($ids[1]); $valorVisual = "Cliente Factura: ".($cliente->nombre_empresa ?? 'N/A'). " | Nombre Contacto: ".($contacto->nombre_contacto ?? 'N/A'); } @endphp{{$valorVisual}} | @break @default{{$dato_informe->debe_decir}} | @endswitch{{$dato_informe->a_cargo_de}} |
|
{{$firma->tipo_firma}}
|
@endforeach
DICE
@foreach ($datos_modificacion_evidencia_dice as $evi)DEBE DECIR
@foreach ($datos_modificacion_evidencia_debe_decir as $evi)