@php use App\Http\Controllers\modificaciones_controller; @endphp
|
| CAMBIO O MODIFICACIÓN LA SOLICITUD DE SERVICIO |
|
FECHA DE SOLICITUD DEL CLIENTE: {{date('d/m/Y', strtotime($datos_modificacion->fecha_solicitud))}} FECHA DE ELABORACIÓN: {{date('d/m/Y', strtotime($fecha_elaboracion))}} |
|
INFORME AFECTADO: {{$num_informe}} EMPRESA INFORME: {{$datos_cliente->cliente_informe}} EMPRESA FACTURA: {{$datos_cliente->cliente_factura}} PERSONA QUE SOLICITÓ EL CAMBIO: {{$datos_modificacion->persona_solicita_cambio}} ORIGEN DEL CAMBIO: {{$datos_modificacion->cambio}} FECHA DE ENTREGA AL CLIENTE: {{date('d/m/Y', strtotime($datos_modificacion->fecha_entrega))}} VÍA DE SOLICITUD: {{$datos_modificacion->via_solicitud}} |
| DESCRIPCIÓN Y/O MOTIVO DEL CAMBIO O MODIFICACIÓN |
| {{$datos_modificacion->descripcion}} |
| CAMBIO EN NO. INFORME | MODELO | CAMPO PARA MODIFICAR | DICE | DEBE DECIR | NUEVO NÚMERO DE INFORME | A CARGO DE | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{$dato_informe->dice}} | @else{{$dato_informe->numero_informe}} | @endif{{$dato_informe->modelo}} | @php $firstRow = false; @endphp @endif{{$campo_modificado}} | @switch($dato_informe->campo_modificado) @case("inspeccion_muestras.id_precio_x_servicio"){{$datos_campo_modificado_dice}} | @break @case("cliente_informes.id_estado"){{$datos_campo_modificado_dice}} | @break @case("programacion_muestras.id_tecnico"){{$datos_campo_modificado_dice}} | @break @case("programacion_muestras.fecha_informe"){{date("d/m/Y",strtotime($dato_informe->dice))}} | @break @case("programacion_muestras.fecha_termino_pruebas"){{date("d/m/Y",strtotime($dato_informe->dice))}} | @break @case("programacion_muestras.fecha_emision"){{date("d/m/Y",strtotime($dato_informe->dice))}} | @break @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("inspeccion_muestras.id_precio_x_servicio"){{$datos_campo_modificado_debe_decir}} | @break @case("cliente_informes.id_estado"){{$datos_campo_modificado_debe_decir}} | @break @case("programacion_muestras.id_tecnico"){{$datos_campo_modificado_debe_decir}} | @break @case("programacion_muestras.fecha_informe"){{date("d/m/Y",strtotime($dato_informe->debe_decir))}} | @break @case("programacion_muestras.fecha_termino_pruebas"){{date("d/m/Y",strtotime($dato_informe->debe_decir))}} | @break @case("programacion_muestras.fecha_emision"){{date("d/m/Y",strtotime($dato_informe->debe_decir))}} | @break @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}} | @endswitchN/A | {{$dato_informe->a_cargo_de}} |
|
@if($firma_recibio)
RECIBIÓ SOLICITUD DE CAMBIO
|
@if($firma_calidad)
AUTORIZÓ
ÁREA DE CALIDAD |
@if($firma_jefe)
REVISÓ
JEFE DE ÁREA |
@if($firma_responsable)
REALIZÓ
MODIFICACIÓN |
|
@if($firma_coordinador)
REVISÓ CONCLUSIÓN
DE MODIFICACIÓN |
DICE
DEBE DECIR