<!-- Modal para agregar/editar parámetro -->
<div class="modal fade" id="modal-empresa" tabindex="-1" aria-labelledby="modal-empresa-label" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="modal-empresa-label">AGREGAR EMPRESA</h5>
                <button type="button" class="btn btn-close" data-dismiss="modal" aria-label="Close"><i class="fa fa-close"></i></button>
            </div>
            <form id="form-nueva-empresa">
                
                <div class="modal-body">
                    <p>Debe llenar todos los campos marcados con <strong class="text-danger">(*)</strong></p>
                    <div id="errores-empresa" class="alert alert-outline-danger d-none">
                        <strong>Debe corregir los siguientes errores:</strong>
                        <ul class="mb-0"></ul>
                    </div>
                    <input type="hidden" id="empresa-id" name="id">
                    
                    <div class="mb-0">
                        <label for="nit" class="form-label">NIT <span class="text-danger">(*)</span></label>
                        <input type="text" class="form-control" id="nit" name="nit" required>
                    </div>
                    <div class="mb-0">
                        <label for="nombre" class="form-label">Nombre <span class="text-danger">(*)</span></label>
                        <input type="text" class="form-control" id="nombre" name="nombre" required>
                    </div>
                    <div class="mb-0">
                        <label for="direccion_empresa" class="form-label">Dirección Empresa <span class="text-danger">(*)</span></label>
                        <input type="text" class="form-control" id="direccion_empresa" name="direccion_empresa" required>
                    </div>
                    <div class="mb-0">
                        <label for="correo_empresa" class="form-label">Correo Empresa <span class="text-danger">(*)</span></label>
                        <input type="email" class="form-control" id="correo_empresa" name="correo_empresa" required>
                    </div>
                    <div class="mb-0">
                        <label for="contacto_empresa" class="form-label">Contacto Empresa <span class="text-danger">(*)</span></label>
                        <input type="text" class="form-control" id="contacto_empresa" name="contacto_empresa" required>
                    </div>
                    <div class="mb-0">
                        <label for="registro_seprec" class="form-label">Registro SEPREC <span class="text-danger">(*)</span></label>
                        <input type="text" class="form-control" id="registro_seprec" name="registro_seprec" required>
                    </div>
                    <div class="mb-0">
                        <label for="representante_legal" class="form-label">Representante Legal <span class="text-danger">(*)</span></label>
                        <input type="text" class="form-control" id="representante_legal" name="representante_legal" required>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="submit" class="btn btn-primary" id="btn-guardar">Guardar</button>
                    <button type="button" class="btn btn-secondary" data-dismiss="modal">Cancelar</button>
                </div>
            </form>
        </div>
    </div>
</div>