@extends('header_new')
@section('main')
<!-- -->
<style>
    .pepheader {
        background-color: #0F335A;
        color: #FFFFFF;
    }

    .pepeliminado {
        color: #B7B7B7;
    }

    .text-fidelitas {
        color: #0F335A;
    }

    /* azul oscuro */

    .pepheader {
        background-color: #0F335A;
        color: #FFFFFF;
    }

    .pepdata {
        text-align: center;
        color: #0F335A;
        font-size: 14px;
        padding-bottom: 8px;
    }

    .pepbox-neg {
        width: 100%;
        font-size: 20px;
        font-weight: bold;
        color: #FFFFFF;
        background-color: #63b68c;
        text-align: center;
        padding-top: 2px;
        padding-bottom: 2px;
    }

    .pepbox-rel {
        width: 100%;
        font-size: 20px;
        font-weight: bold;
        color: #FFFFFF;
        background-color: #FFB81C;
        text-align: center;
        padding-top: 2px;
        padding-bottom: 2px;
    }


    .pepbox-pep {
        width: 100%;
        font-size: 20px;
        font-weight: bold;
        color: #FFFFFF;
        background-color: #FF5C1C;
        text-align: center;
        padding-top: 2px;
        padding-bottom: 2px;
    }


    .pepbox-pos {
        width: 100%;
        font-size: 20px;
        font-weight: bold;
        color: #FFFFFF;
        background-color: #A72B2A;
        text-align: center;
        padding-top: 2px;
        padding-bottom: 2px;
    }

    .pepbox-so {
        width: 100%;
        font-size: 20px;
        font-weight: bold;
        color: #FFFFFF;
        background-color: #4A8AF0;
        text-align: center;
        padding-top: 2px;
        padding-bottom: 2px;
    }
</style>
<!-- -->
<form id="form_fidecheck">
    <input type="hidden" name="_token" id="token" value="{{ csrf_token() }}">
    <input type="hidden" name="inicio" id="inicio" value="{{$inicio}}">
    <input type="hidden" name="error" id="error" value="{{$error}}">
    <input type="hidden" name="contrap" id="contrap" value="{{$contrap->contraparte}}">
</form>

<div class="container-fluid">
    <!-- -->
    <div class="row my-3">
        <div class="col-md-8">
            <h2>{{$cliente->nombre_cliente}} - Fidecheck</h2>
            @if (ENV('PEP_FIDECHECK_AUTOMATICO_VA_A_WORLDSYS') == 'NO')
                <h4 class="text-danger"><strong>NO SE HACE LA CONSULTA A WORLDSYS AUTOMATICAMENTE<br>Completar el proceso
                        con el Botón Fidecheck manual<br><br></strong></h4>
            @endif
        </div>
    </div>
    <!-- -->
    <div class="row my-4 ms-1">
        @include('blue/info_cliente_abm')        <div class="col-md-7 text-fidelitas">
            <h6>Fidecheck Automatico</h6>
            <h6>Contraparte: {{$contrap->nombre_persona}} - {{$contrap->abreviatura}} {{$contrap->numero}}
                ({{$contrap->country_name}})</h6>
        </div>
        <!-- -->
        <div class="col-md-5 d-flex align-items-center justify-content-end">
            <div>
                <button type="button" data-title="Contraparte" data-cuit="{{$contrap->numero}}"
                    data-nombre="{{$contrap->nombre_persona}}" title="Ver Brief"
                    class="btn btn-fidelitas briefbtn btn-sm my-2 me-3"><i
                        class="bi bi-newspaper no-data"></i>&nbsp;Brief</button>
                <br>
                <button type="button" data-title="" data-fecha="{{$propio->fecha}}" data-pais="{{ $propio->country_code }}" data-cuit="{{$contrap->numero}}"
                    data-nombre="{{$contrap->nombre_persona}}" title="Buscar Fidecheck"
                    class="btn btn-fidelitas pepbtn btn-sm my-2" data-contraparte="{{$contrap->contraparte}}"><i
                        class="bi bi-patch-check-fill no-data"></i>&nbsp;Fidecheck</button>
                <svg class="me-3" height="20" width="20">
                    <circle cx="10" cy="10" r="9" stroke="black" stroke-width="0" @if ($propio->fidecheck == 'N')
                    fill="#63b68c" @elseif ($propio->fidecheck == 'E') fill="#FF5C1C" @elseif ($propio->fidecheck == 'R')
                    fill="#FFB81C" @elseif ($propio->fidecheck == 'S') fill="#4A8AF0" @elseif ($propio->fidecheck == 'P')
                    fill="#A72B2A" @endif />
                </svg>
            </div>
            <p class="text-center">
                {{$propio->detalle}}
            </p>
        </div>
    </div>
    <!-- -->
    <div class="row my-3">
        <div class="col-md-10">
            <h5>Socios / Accionistas</h5>
        </div>
        <div class="col-md-2 text-end"><button type="button" class="btn btn-fidelitas btnadd btn-sm"
                data-bs-toggle="modal" data-bs-target="#modalFidecheck" data-seccion="S"
                data-contraparte="{{$contrap->contraparte}}"><i class="bi bi-plus-lg"></i> Agregar</button></div>
    </div>
    <!-- -->
    <table class="table table-condensed table-striped table-hover mb-5" id="tablaSocios">
        <thead class="table-header-fidelitas">
            <tr class="pepheader">
                <th class="text-center"></th>
                <th class="text-center">Apellido y Nombre / Razón social</th>
                <th class="text-center">Nacionalidad</th>
                <th class="text-center">Tax ID</th>
                <th class="text-center">%</th>
                <th class="text-center">Fecha carga en Accionistas</th>
                <th class="text-center">Defunción</th>
                <th class="text-center">Fuente</th>
                <th class="text-center">Estado</th>
                <th class="text-center">Acción</th>
            </tr>
        </thead>
        <tbody>
            @foreach ($socios as $socio)
                <tr>
                    @if ($socio->visible == 0)
                        <tr class="pepeliminado">
                            <td>ELIMINADO</td>
                    @else
                        <tr>
                            <td></td>
                    @endif
                    <!-- -->
                    <td>{{$socio->nombre}}</td>
                    <td class="text-center">{{$socio->nacionalidad}}</td>
                    <td class="text-center">{{$socio->tax_id}}</td>
                    <td class="text-end">{{$socio->porcentaje}}&nbsp;&nbsp;&nbsp;</td>
                    <td class="text-center">{{$socio->modified_en_tabla}}</td>
                    @if ($socio->fecha_defuncion != null)
                        <td class="text-center">{{$socio->fecha_defuncion}}</td>
                    @else
                        @if ($socio->defuncion == 1)
                            <td class="text-center">FALLECIDO/A</td>
                        @else
                            <td></td>
                        @endif
                    @endif
                    <td class="text-start">{{$socio->detalle}}</td>
                    <td class="text-center">
                        <svg height="20" width="20">
                            <circle cx="10" cy="10" r="9" stroke="black" stroke-width="0" @if ($socio->fidecheck == 'N')
                            fill="#63b68c" @elseif ($socio->fidecheck == 'E') fill="#FF5C1C" @elseif ($socio->fidecheck == 'R'/* || $socio->fidecheck == 'S'*/) fill="#FFB81C" @elseif ($socio->fidecheck == 'S') fill="#4A8AF0" @elseif($socio->fidecheck == 'P') fill="#A72B2A"
                            @endif />
                        </svg>
                    </td>
                    <!-- -->
                    <td class="text-center" nowrap="nowrap">
                        @if ($socio->visible == 0)
                            <button type="button" class="btn btn-fidelitas btndelete" data-id="{{$socio->id_fidecheck}}"
                                data-seccion="{{$socio->nombre_seccion}}" data-cambiar="activar" title="activar"><i
                                    class="bi bi-recycle"></i></button>
                        @else
                            <button type="button" class="btn btn-fidelitas btndelete" data-id="{{$socio->id_fidecheck}}"
                                data-seccion="{{$socio->nombre_seccion}}" data-cambiar="eliminar" title="eliminar"><i
                                    class="bi bi-trash"></i></button>
                        @endif
                        <button type="button" data-title="Socios / Accionistas" data-cuit="{{$socio->tax_id}}"
                            data-nombre="{{$socio->nombre}}" title="Ver Brief" class="btn btn-fidelitas briefbtn"
                            @if($socio->visible == 0) disabled @endif><i
                                class="bi bi-newspaper no-data"></i>&nbsp;Brief</button>
                        <button type="button" data-title="Socios / Accionistas" data-fecha="{{$socio->fecha}}"
                            data-cuit="{{$socio->tax_id}}" data-nombre="{{$socio->nombre}}" data-pais="{{ $socio->country_code }}" title="Buscar Fidecheck"
                            data-contraparte="{{$contrap->contraparte}}" class="btn btn-fidelitas pepbtn"
                            @if($socio->visible == 0) disabled @endif><i
                                class="bi bi-patch-check-fill no-data"></i>&nbsp;Fidecheck</button>
                    </td>
                </tr>
            @endforeach
        </tbody>
    </table>
    <!-- -->
    <div class="row my-3">
        <div class="col-md-10">
            <h5>Vinculaciones / Empresas relacionadas</h5>
        </div>
    </div>
    <!-- -->
    <table class="table table-condensed table-striped table-hover mb-5" id="tablaVinculaciones">
        <thead class="table-header-fidelitas">
            <tr class="pepheader">
                <th class="text-center"></th>
                <th class="text-center">N&deg;</th>
                <th class="text-center">Razón social</th>
                <th class="text-center">Nacionalidad</th>
                <th class="text-center">Tax ID</th>
                <th class="text-center">Tipo de relación</th>
                <th class="text-center">Fuente</th>
                <th class="text-center">Estado</th>
                <th class="text-center">Acción</th>
            </tr>
        </thead>
        <tbody>
            @foreach ($relac as $relacionada)
                <tr>
                    @if ($relacionada->visible == 0)
                        <tr class="pepeliminado">
                            <td>ELIMINADO</td>
                    @else
                        <tr>
                            <td></td>
                    @endif
                    <td class="text-center">{{$relacionada->orden}}</td>
                    <td>{{$relacionada->nombre}}</td>
                    <td class="text-center">{{$relacionada->nacionalidad}}</td>
                    <td class="text-center">{{$relacionada->tax_id}}</td>
                    <td class="text-center">{{$relacionada->tipo_relacion}}</td>
                    <td class="text-start">{{$relacionada->detalle}}</td>
                    <td class="text-center">
                        <svg height="20" width="20">
                            <circle cx="10" cy="10" r="9" stroke="black" stroke-width="0" @if ($relacionada->fidecheck == 'N')
                            fill="#63b68c" @elseif ($relacionada->fidecheck == 'E') fill="#FF5C1C" @elseif ($relacionada->fidecheck == 'R' /*|| $relacionada->fidecheck == 'S'*/) fill="#FFB81C" @elseif ($relacionada->fidecheck == 'S') fill="#4A8AF0" @elseif ($relacionada->fidecheck == 'P')
                            fill="#A72B2A" @endif />
                        </svg>
                    </td>
                    <td class="text-center" nowrap="nowrap">
                        <button type="button" class="btn btn-fidelitas btnmove" data-id="{{$relacionada->id_fidecheck}}"
                            data-move="up"><i class="bi bi-arrow-up"></i></button>
                        <button type="button" class="btn btn-fidelitas btnmove" data-id="{{$relacionada->id_fidecheck}}"
                            data-move="down"><i class="bi bi-arrow-down"></i></button>
                        @if ($relacionada->visible == 0)
                            <button type="button" class="btn btn-fidelitas btndelete" data-id="{{$relacionada->id_fidecheck}}"
                                data-seccion="{{$relacionada->nombre_seccion}}" data-cambiar="activar" title="activar"><i
                                    class="bi bi-recycle"></i></button>
                        @else
                            <button type="button" class="btn btn-fidelitas btndelete" data-id="{{$relacionada->id_fidecheck}}"
                                data-seccion="{{$relacionada->nombre_seccion}}" data-cambiar="eliminar" title="eliminar"><i
                                    class="bi bi-trash"></i></button>
                        @endif
                        <button type="button" data-title="Relacionadas" data-cuit="{{$relacionada->tax_id}}"
                            data-nombre="{{$relacionada->nombre}}" title="Ver Brief" class="btn btn-fidelitas briefbtn"
                            @if($relacionada->visible == 0) disabled @endif><i
                                class="bi bi-newspaper no-data"></i>&nbsp;Brief</button>
                        <button type="button" data-title="Relacionadas" data-fecha="{{$relacionada->fecha}}"
                            data-cuit="{{$relacionada->tax_id}}" data-pais="{{ $relacionada->country_code }}" data-nombre="{{$relacionada->nombre}}"
                            data-contraparte="{{$contrap->contraparte}}" title="Buscar Fidecheck"
                            class="btn btn-fidelitas pepbtn" @if($relacionada->visible == 0) disabled @endif><i
                                class="bi bi-patch-check-fill no-data"></i>&nbsp;Fidecheck</button>
                    </td>
                </tr>
            @endforeach
        </tbody>
    </table>
    <!-- -->
    <div class="row my-3">
        <div class="col-md-10">
            <h5>Directivos</h5>
        </div>
    </div>
    <!-- -->
    <table class="table table-condensed table-striped table-hover mb-5" id="tablaDirectivos">
        <thead>
            <tr class="pepheader">
                <th class="text-center"></th>
                <th class="text-center">Apellido y Nombre</th>
                <th class="text-center">Nacionalidad</th>
                <th class="text-center">Tax ID</th>
                <th class="text-center">Cargo</th>
                <th class="text-center">Fecha carga en Directivos</th>
                <th class="text-center">Defunción</th>
                <th class="text-center">Fuente</th>
                <th class="text-center">Estado</th>
                <th class="text-center">Acción</th>
            </tr>
        </thead>
        <tbody>
            @foreach ($direct as $directivo)
                @if ($directivo->visible == 0)
                    <tr class="pepeliminado">
                        <td>ELIMINADO</td>
                @else
                    <tr>
                        <td></td>
                @endif
                    <td>{{$directivo->nombre}}</td>
                    <td class="text-center">{{$directivo->nacionalidad}}</td>
                    <td class="text-center">{{$directivo->tax_id}}</td>
                    <td class="text-center">{{$directivo->cargo}}</td>
                    <td class="text-center">{{$directivo->modified_en_tabla}}</td>
                    @if ($directivo->fecha_defuncion != null)
                        <td class="text-center">{{$directivo->fecha_defuncion}}</td>
                    @else
                        @if ($directivo->defuncion == 1)
                            <td class="text-center">FALLECIDO/A</td>
                        @else
                            <td></td>
                        @endif
                    @endif
                    <td class="text-start">{{$directivo->detalle}}</td>
                    <td class="text-center">
                        <svg height="20" width="20">
                            <circle cx="10" cy="10" r="9" stroke="black" stroke-width="0" @if ($directivo->fidecheck == 'N')
                            fill="#63b68c" @elseif ($directivo->fidecheck == 'E') fill="#FF5C1C" @elseif ($directivo->fidecheck == 'R'/* || $directivo->fidecheck == 'S'*/) fill="#FFB81C" @elseif ($directivo->fidecheck == 'S') fill="#4A8AF0" @elseif($directivo->fidecheck == 'P')
                            fill="#A72B2A" @endif />
                        </svg>
                    </td>
                    <td class="text-center" nowrap="nowrap">
                        @if ($directivo->visible == 0)
                            <button type="button" class="btn btn-fidelitas btn-sm btndelete"
                                data-id="{{$directivo->id_fidecheck}}" data-seccion="{{$directivo->nombre_seccion}}"
                                data-cambiar="activar" title="activar"><i class="bi bi-recycle"></i></button>
                        @else
                            <button type="button" class="btn btn-fidelitas btn-sm btndelete"
                                data-id="{{$directivo->id_fidecheck}}" data-seccion="{{$directivo->nombre_seccion}}"
                                data-cambiar="eliminar" title="eliminar"><i class="bi bi-trash"></i></button>
                        @endif
                        <button type="button" data-title="Directivos" data-cuit="{{$directivo->tax_id}}"
                            data-nombre="{{$directivo->nombre}}" title="Ver Brief" class="btn btn-fidelitas btn-sm briefbtn"
                            @if($directivo->visible == 0) disabled @endif><i
                                class="bi bi-newspaper no-data"></i>&nbsp;Brief</button>
                        <button type="button" data-title="Directivos" data-fecha="{{$directivo->fecha}}"
                            data-cuit="{{$directivo->tax_id}}" data-nombre="{{$directivo->nombre}}" title="Buscar Fidecheck"
                            data-contraparte="{{$contrap->contraparte}}" data-pais="{{ $directivo->country_code }}" class="btn btn-fidelitas btn-sm pepbtn"
                            @if($directivo->visible == 0) disabled @endif><i
                                class="bi bi-patch-check-fill no-data"></i>&nbsp;Fidecheck</button>
                    </td>
                </tr>
            @endforeach
        </tbody>
    </table>
</div>
<!-- -->
<div id="modalFidecheck" class="modal fade">
    <div class="modal-dialog modal-xl">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-hidden="true"></button>
                <h3 class="modal-title" id="fidecheck_title"></h3>
                <h4 class="modal-title" id="fidecheck_title2"></h4>
            </div>
            <!-- -->
            <div class="modal-body" id="fidecheck_body"></div>
        </div>
    </div>
</div>
<!-- -->
<form id="frmRedireccionar" method="POST" @if($desde_contrapartes_genericos) action="/blue/contraparte-edit" @else
action="/blue/servicios-contratados-contrapartes" @endif>
    {{csrf_field()}}
    <!-- -->
    <input type="hidden" name="contraparte" value="{{$contrap->contraparte}}">
    <!-- -->
    <input type="hidden" name="cliente" value="{{$cliente->cliente}}">
    <!-- -->
    @if ($desde_contrapartes_genericos)
        <input type="hidden" name="cliente" value="{{$cliente->cliente}}">
        <input type="hidden" name="tieneApi" value="{{$datos_redireccion->tieneApi}}">
        <input type="hidden" name="producto" value="{{$servicio}}">
        <input type="hidden" name="nombre_producto" value="{{$datos_redireccion->nombre_servicio}}">
        <input type="hidden" name="contraparte" value="{{$contrap->contraparte}}">
        <input type="hidden" name="id_padron" value="{{$contrap->id_padron}}">
        <input type="hidden" name="cliente_nombre" value="{{$cliente->nombre_cliente}}">
        <input type="hidden" name="cli_codigo" value="{{$cliente->cli_codigo}}">
        <input type="hidden" name="cli_cuit" value="{{$cliente->cuit}}">
    @else
        <input type="hidden" name="cli_codigo" value="{{$cliente->cli_codigo}}">
        <input type="hidden" name="cliente" value="{{$cliente->cliente}}">
        <input type="hidden" name="producto_fidelitas" value="{{$servicio}}">
        <input type="hidden" name="tipo_paquete_cliente" value="{{$datos_redireccion->tipo_paquete}}">
        <input type="hidden" name="prod_nombre_cliente" value="{{$datos_redireccion->nombre_producto}}">
        <input type="hidden" name="limite_consumo_cliente" value="{{$datos_redireccion->limite}}">
        <input type="hidden" name="fecha_desde" value="{{$datos_redireccion->desde}}">
        <input type="hidden" name="fecha_hasta" value="{{$datos_redireccion->hasta}}">
        <input type="hidden" name="estado_bloquea_cliente" value="{{$datos_redireccion->bloquea}}">
        <input type="hidden" name="estado_producto_cliente" value="{{$datos_redireccion->estado_producto}}">
        <input type="hidden" name="modalidad_de_pago" value="{{$datos_redireccion->modalidad_de_pago}}">
        <input type="hidden" name="impe_acceso" value="{{$datos_redireccion->impe_acceso}}">
        <input type="hidden" name="impe_doc" value="{{$datos_redireccion->impe_doc}}">
        <input type="hidden" name="desde_panel_clientes" value="{{$datos_redireccion->desde_panel_clientes}}">
    @endif
</form>
<!-- -->
<form id="frmMove" method="post" action="/blue/servicios-contratados-contrapartes/fidecheck/acciones">
    {{csrf_field()}}
    <input type="hidden" name="id_fidecheck" value="" id="_fidecheck">
    <input type="hidden" name="move" value="" id="_move">
    <input type="hidden" name="accion" value="mover">
</form>
<!-- -->
<form id="frmDelete" method="post" action="/blue/servicios-contratados-contrapartes/fidecheck/acciones">
    {{csrf_field()}}
    <input type="hidden" name="id_fidecheck" value="" id="_fidecheck2">
    <input type="hidden" name="accion" value="borrar_automatico">
</form>
<!-- -->
<form name="frmSoloBrief" id="frmSoloBrief">
    <input type="hidden" name="apikeyBrief" value="C824D668799B10EE">
</form>
<!-- -->
<input type="hidden" id="ruta_recarga" value="/blue/servicios-contratados-contrapartes/fidecheck/automatico">
<input type="hidden" id="url_de_adentro" value="{{ env('URL_INTERNA') }}">
<!-- -->
<div id="modalBrief" class="modal fade">
    <div class="modal-dialog modal-xl">
        <div class="modal-content">
            <div class="modal-header">
                <h3 class="modal-title" id="brief_title"></h3>
                <h4 class="modal-title" id="brief_title2"></h4>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-hidden="true"></button>
            </div>
            <!-- -->
            <div class="modal-body text-center">
                <h3 class="modal-title text-center">Si tarda más de 5 segundos, presioná el botón "Recargar Brief"</h3>
                <p class="modal-title text-center" id="boton"></p>
                <h3 class="modal-title text-center">Si no salen los gráficos, presioná el botón "Recargar Brief"</h3>
            </div>
            <!-- -->
            <div class="modal-body text-center" id="btn_copy">
                <!--button id="btn_descarga_brief" type="button" class="btn btn-info " disabled>Descargar</button-->
                <!--button  type="button" class="btn btn-info btn-fidelitas btn_copy_brief" disabled>Copiar</button-->
            </div>
            <div class="modal-body" id="brief_body"> </div>
        </div>
    </div>
</div>
<!-- -->
<div id="modalPep" class="modal fade">
    <div class="modal-dialog modal-xl">
        <div class="modal-content">
            <div class="modal-header">
                <h3 class="modal-title" id="Pep_title"></h3>
                <h4 class="modal-title" id="Pep_title2"></h4>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-hidden="true"></button>
            </div>
            <div class="col-md-12 text-center">
                <img id="loading" src="/images/loading.gif" class="d-none" width="50px">
            </div>
            <div class="modal-body" id="Pep_body">
                @include('led/led_tabla_fidecheck')
            </div>
            <!-- -->
            <div class="row justify-content-center text-center my-2">
                <div class="col-12 col-md-3">
                    <p class="text-center" id="Pep_boton"></p>
                </div>
            </div>
            <!-- -->
            <div class="row justify-content-center text-center my-2">
                <div class="col-12 col-md-2">
                    <button type="button" class="btn btn-fidelitas btn_copy_pep">Copiar</button>
                </div>
            </div>
            <!-- Certificado -->
            <div class="modal-body d-none mx-auto my-2" id="Pep_certificado"
                style="width:80%; border: 10px #0f335a solid; padding: 4px 4px 4px 4px;">
                <div class="p-3" style="width:100%; border: 4px #0f335a solid;">
                    <div id="pepsearch" class="text-center">
                        <h4>SEARCH CRITERIA </h4>
                    </div>
                    <!-- -->
                    <div id="pepdata" class="pepdata"></div>
                    <!-- -->
                    <div id="pepdata2" class="pepdata"></div>
                    <!-- -->
                    <div id="peprespuesta" class="text-center"></div>
                    <!-- -->
                    <div id="peptexto" class="text-center">Sources checked: List of worldwide politicians and government
                        controlled entities (also known as PEPs, for politically exposed persons); profiles
                        of persons who hold political office, their immediate family members, close associates, and
                        companies under their control; Crime - Global Enforcement List, Profiles of entities
                        listed worldwide; Reputation - Global Foreign Officials List, SDN and Financial Intelligence
                        Units, following the FATF (Financial Action Task Force) recommendations.</div>
                </div>
            </div>
            <!-- Fin Certificado -->
        </div>
    </div>
</div>
<!-- -->
@endsection


@section('funcionesJs')
<script type="text/javascript" src="{{ URL::asset('js/html2canvas.min.js') }}"></script>
<script type="text/javascript" src="{{ URL::asset('js/canvas2image.js') }}"></script>
<script type="text/javascript"
    src="{{ URL::asset('/Libreria_CA/Js/vinculaciones_cuit_nuevo.js') }}?v={{time()}}"> </script>
<script src="{{ asset('/Libreria_CA/Js/funciones_servicios_contratados.js') }}"></script>
<!-- -->
<script>
    $(document).ready(function () {
        llamadaFidecheckAutomatico();
    });
</script>
@endsection