EVOLUTION-MANAGER
Edit File: 74fa202d0eb7dc3a5c33860dea9bf329b3a3a65d.php
<?php $__env->startSection('style'); ?> <link href="<?php echo e(asset('public/frontend/transparencia/wp-content/themes/jannah/assets/css/style.css')); ?>" id="tie-css-styles-css" media="all" rel="stylesheet" type="text/css"/> <?php $__env->stopSection(); ?> <?php $__env->startSection('contenido'); ?> <br> <div role="main"> <article class="container-wrapper post-content" id="the-post"> <header class="entry-header-outer"> <div class="entry-header"> <h1 class="post-title entry-title"> Validacion de Documento digital </h1> </div> <!-- .entry-header /--> </header> <!-- .entry-header-outer /--> <div class="entry-content entry clearfix"> <div class="vc_row wpb_row vc_row-fluid"> <div class="wpb_column vc_column_container vc_col-sm-12"> <div class="vc_column-inner"> <div class="wpb_wrapper"> <h3 class="vc_custom_heading" style="font-size: 14px;text-align: left;font-family:Actor;font-weight:400;font-style:normal"> Ingrese el código de barras del documento digital para verificar su validez. </h3> </div> </div> <div class="vc_column-inner" style="text-align: center;"> <input type="text" placeholder="Ingrese código de Barras" name="valor" id="valor"> <button type="submit" class="btn btn-success bnt-lg" data-toggle="tooltip" title="Editar"> <i class="fa fa-search" aria-hidden="true" onclick="validar_documento();"> Buscar</i></button> </div> <br> <div class="vc_column-inner" id="resultado_validacion" > </div> </div> </div> </div> <!-- .entry-content /--> </article> <!-- #the-post /--> </div> <div class="art-article" style="padding-top: 10px;padding-bottom: 150px;"> <center> <div class=""> <div class="col-md-12"> <!-- Mega menu --> <!-- / Mega menu --> </div> </div> </center> </div> <br> <br> <br> <br> <br> <br> <br> <?php $__env->stopSection(); ?> <?php $__env->startSection('script'); ?> <script type="text/javascript"> function validar_documento(){ var valor=$('#valor').val(); if(valor==null||valor==''){ return 1; } carga_ajax('Espere, estamos consultando los datos ...'); $.ajax({ type: "POST", url: "<?php echo e(url('validar_documento_post')); ?>", data: { valor,"_token":"<?php echo e(csrf_token()); ?>" } }).done(function(tabla) { $('#resultado_validacion').html(tabla); }) .fail(function(jqXHR, textStatus, errorThrown) { validacionCampos(jqXHR, textStatus, errorThrown); }) .always(function() { desaparecer_carga_ajax(); }); } $("#valor").on("keyup", function (e) { if (e.keyCode === 13) { //checks whether the pressed key is "Enter" validar_documento(); } }); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>