<?php $__env->startSection('title', 'Generar Listado'); ?>
<?php $__env->startSection('content'); ?>
    <div class="col-sm-12 col-md-9 col-lg-10 col-xl-10">
        <h3 class="text-center titulo">Generar Listado</h3>
        <div class="borde-forma">
            <form id="form" method="post" accept-charset="utf-8" action="" enctype="multipart/form-data" 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="idPdf" class="col-sm-12 col-form-label col-md-5 col-lg-5 col-xl-5 text-right">
                        <strong class="requerido">*</strong>Tipo de Archivo:
                    </label>
                    <div class="col-sm-12 col-md-5 col-lg-5 col-xl-5 validar">
                        <div class="form-check form-check-inline">
                            <label for="" class="form-check-label">
                                <input type="radio" name="optTipo" id="optPdf" class="form-check-input" required title="Seleccione tipo">PDF
                            </label>
                        </div>
                        <div class="form-check form-check-inline">
                            <label for="" class="form-check-label">
                                <input type="radio" name="optTipo" id="optExcel" class="form-check-input" title="Seleccione tipo">EXCEL
                            </label>
                        </div>
                    </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>
        $("#optPdf").click(function () {
            if($("#optPdf").is(':checked')){
                $("#form").attr("action", '<?php echo e(route("informeConceptosPdf")); ?>');
            }
        });

        $("#optExcel").click(function () {
            if($("#optExcel").is(':checked')){
                $("#form").attr("action", '<?php echo e(route("InformeConceptosExcel")); ?>');
            }
        });
    </script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>