<?php $__env->startSection('title', 'Generar Oficio Cobro Coactivo'); ?>
<?php $__env->startSection('content'); ?>
    <div class="col-sm-12 col-md-9 col-lg-10 col-xl-10">
        <h3 class="text-center titulo">Generar Oficio Cobro Coactivo</h3>
        <div class="borde-forma">
            <form id="form" method="post" accept-charset="utf-8" action="<?php echo e(route("GenerarInformeCobroCoactivo")); ?>" target="_blank">
                <p class="parrafo-forma">
                    Los campos marcados con <strong class="requerido">*</strong> son obligatorios.
                </p>
                <?php echo e(csrf_field()); ?>

                <div class="form-group row">
                    <label for="" class="col-sm-12 col-form-label col-md-5 col-lg-5 col-xl-5 text-right">
                        <strong class="requerido">*</strong>Codigo Castastral Inicial:
                    </label>
                    <div class="col-sm-12 col-md-5 col-lg-5 col-xl-5 validar">
                        <input type="text" name="txtPredioI" id="txtPredioI" class="form-control" placeholder="Codigo Catastral Inicial" autocomplete="off" style="height: 34px;">
                        <input type="hidden" name="sltPredioI" id="sltPredioI">
                    </div>
                </div>
                <div class="form-group row">
                    <label for="sltPredioF" class="col-sm-12 col-form-label col-md-5 col-lg-5 col-xl-5 text-right">
                        <strong class="requerido">*</strong>Codigo Castastral Final:
                    </label>
                    <div class="col-sm-12 col-md-5 col-lg-5 col-xl-5 validar">
                        <input type="text" name="txtPredioF" id="txtPredioF" class="form-control" placeholder="Codigo Catastral Final" autocomplete="off" style="height: 34px;">
                        <input type="hidden" name="sltPredioF" id="sltPredioF">
                    </div>
                </div>
                <div class="form-group row">
                     <label for="txtFechaF" class="col-sm-12 col-form-label col-md-5 col-lg-5 col-xl-5 text-right">
                         <strong class="requerido"></strong>Fecha Generación:
                     </label>
                     <div class="col-sm-12 col-md-5 col-lg-5 col-xl-5 validar">
                         <input type="text" name="txtFechaF" id="txtFechaF" title="Ingrese fecha Generación" value="" class="form-control" placeholder="Fecha">
                     </div>
                </div>
                <div class="form-group row">
                    <label for="" class="col-form-label col-md-5 col-lg-5 col-xl-5 text-right"></label>
                    <div class="col-sm-12 col-md-5 col-lg-5 col-xl-5 validar">
                        <button type="submit" class="btn btn-primary sombra" title="Generar"><span class="fa fa-play"></span></button>
                    </div>
                </div>
            </form>
        </div>
    </div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
    <script>
        $("#txtPredioI").autocomplete({
            source: "/municipiobarbosa-sigiep/predial/public/predio/buscar",
            minlength: 2,
            select: function(event, ui){
                $("#sltPredioI").val(ui.item.id);
                $("#txtPredioI").val(ui.item.value);
            }
        });

        $("#txtPredioF").autocomplete({
            source: "/municipiobarbosa-sigiep/predial/public/predio/buscar",
            minlength: 2,
            select: function(event, ui){
                $("#sltPredioF").val(ui.item.id);
                $("#txtPredioF").val(ui.item.value);
            }
        });
    </script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>