1559 lines
97 KiB
Text
1559 lines
97 KiB
Text
<%@ Page Title="Busqueda de solicitudes" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="frwNuevaSolicitud.aspx.cs" Inherits="Forms_Trans_frwNuevaSolicitud" %>
|
||
|
||
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="act" %>
|
||
|
||
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="Server">
|
||
<script src="../../Scripts/jquery-ui-1.11.4.js"></script>
|
||
|
||
<script src="../../Scripts/toastr.js"></script>
|
||
<link href="../../Content/toastr.css" rel="stylesheet" />
|
||
|
||
<script src="../../Scripts/bootstrap.js"></script>
|
||
<script src="../../Scripts/WebForms/General/cuwBusquedaList.js"></script>
|
||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
<link href="../../Content/themes/ui-lightness/jquery-ui.css" rel="stylesheet" />
|
||
|
||
|
||
<script type="text/javascript">
|
||
|
||
|
||
//function seleccionarTab(varTab)
|
||
//{
|
||
// $('.nav-tabs a[href="#' + varTab + '"]').tab('show');
|
||
//}
|
||
function MensajeError(mensaje,pestanna) {
|
||
toastr.warning("<br /><br /><div align='center'><button type='button' width='200px' id='confirmationRevertYes' style='color:black;' class='btn clear'>Continuar</button></div>", mensaje,
|
||
{
|
||
closeButton: false,
|
||
allowHtml: true,
|
||
showduration: 2000,
|
||
positionClass: "toast-bottom-full-width",
|
||
timeOut: 10000,
|
||
hideduration: 2000,
|
||
onShown: function (toast) {
|
||
inicializaAcordeon(pestanna);
|
||
|
||
}
|
||
});
|
||
}
|
||
function VentanaAbrir() {
|
||
document.getElementById('light').style.display = 'block';
|
||
document.getElementById('fade').style.display = 'block';
|
||
//menu = document.getElementById('cuwMenu_mnuMenu').style.display = 'none';
|
||
//document.getElementById("cuwMenu_mnuMenu").disabled;
|
||
}
|
||
function VentanaCerrar() {
|
||
document.getElementById('light').style.display = 'none';
|
||
document.getElementById('fade').style.display = 'none'
|
||
//document.getElementById('cuwMenu_mnuMenu').style.display = 'block'
|
||
}
|
||
$(document).ready(function ($) {
|
||
|
||
|
||
$("#accordion").accordion();
|
||
$("#consultaOpen").hide();
|
||
|
||
var deshabilitar = getUrlParameter('d');
|
||
$("#MainContent_divDatosSuperiores").keypress(function (e) {
|
||
if (e.which == 13) {
|
||
return false;
|
||
}
|
||
});
|
||
|
||
|
||
|
||
|
||
}
|
||
);
|
||
function validarCedula(control) {
|
||
if (control.value != "") {
|
||
if (control.value.substr(0, 1) != "0") {
|
||
control.value = "0" + control.value;
|
||
|
||
return true;
|
||
}
|
||
}
|
||
return false;
|
||
}
|
||
function inicializaAcordeon(varTab, mensaje) {
|
||
|
||
|
||
$("#accordion").accordion();
|
||
$('.nav-tabs a[href="#' + varTab + '"]').tab('show');
|
||
|
||
if (mensaje == 'errorGuardado') {
|
||
toastr["error"]("Se presento un problema al guardar la solicitud.", "SIGDD");
|
||
toastr.options = {
|
||
"closeButton": true,
|
||
"debug": false,
|
||
"newestOnTop": false,
|
||
"progressBar": false,
|
||
"positionClass": "toast-bottom-full-width",
|
||
"preventDuplicates": false,
|
||
"onclick": null,
|
||
"showDuration": "1300",
|
||
"hideDuration": "1000",
|
||
"timeOut": "10000",
|
||
"extendedTimeOut": "1000",
|
||
"showEasing": "swing",
|
||
"hideEasing": "linear",
|
||
"showMethod": "fadeIn",
|
||
"hideMethod": "fadeOut"
|
||
};
|
||
}
|
||
if (mensaje == 'exitoGuardado') {
|
||
toastr["success"]("La solicitud se ha guardado de forma exitosa.", "SIGDD");
|
||
toastr.options = {
|
||
"closeButton": true,
|
||
"debug": false,
|
||
"newestOnTop": false,
|
||
"progressBar": false,
|
||
"positionClass": "toast-bottom-full-width",
|
||
"preventDuplicates": false,
|
||
"onclick": null,
|
||
"showDuration": "1300",
|
||
"hideDuration": "1000",
|
||
"timeOut": "10000",
|
||
"extendedTimeOut": "1000",
|
||
"showEasing": "swing",
|
||
"hideEasing": "linear",
|
||
"showMethod": "fadeIn",
|
||
"hideMethod": "fadeOut"
|
||
};
|
||
}
|
||
|
||
var deshabilitar = getUrlParameter('d');
|
||
if (deshabilitar == "constancia") {
|
||
$("#ingresodatos").addClass("ui-state-disabled");
|
||
//$("#requisitos").addClass("ui-state-disabled");
|
||
//$("#agenda").addClass("ui-state-disabled");
|
||
$("#deBaja").addClass("ui-state-disabled");
|
||
$("#constancia").removeClass("ui-state-disabled");
|
||
|
||
|
||
}
|
||
if (deshabilitar == "ingresodatos") {
|
||
$("#constancia").addClass("ui-state-disabled");
|
||
//$("#requisitos").addClass("ui-state-disabled");
|
||
//$("#agenda").addClass("ui-state-disabled");
|
||
//$("#deBaja").addClass("ui-state-disabled");
|
||
$("#ingresodatos").removeClass("ui-state-disabled");
|
||
|
||
|
||
}
|
||
if (deshabilitar == "revision") {
|
||
$("#ingresodatos").removeClass("ui-state-disabled");
|
||
//$("#requisitos").addClass("ui-state-disabled");
|
||
//$("#agenda").addClass("ui-state-disabled");
|
||
$("#deBaja").addClass("ui-state-disabled");
|
||
$("#constancia").removeClass("ui-state-disabled");
|
||
|
||
|
||
}
|
||
}
|
||
function limpiarFrame(pestanna) {
|
||
var urlDeshabilitar = "";
|
||
|
||
var deshabilitar = getUrlParameter('d');
|
||
if (deshabilitar == "deshabilitar")
|
||
urlDeshabilitar = "&d=deshabilitar";
|
||
|
||
if (deshabilitar == "firmar")
|
||
urlDeshabilitar = "&d=firmar";
|
||
|
||
if (deshabilitar == "constancia")
|
||
urlDeshabilitar = "&d=constancia";
|
||
|
||
var finalizado = getUrlParameter('f');
|
||
if(finalizado == "finalizado")
|
||
urlDeshabilitar = "&d=finalizado";
|
||
|
||
var tiporeutiliza = getUrlParameter('c');
|
||
if (tiporeutiliza == "prorroga" || tiporeutiliza == "revision")
|
||
urlDeshabilitar = "&d=" + tiporeutiliza;
|
||
|
||
|
||
if ($("#accordion").context.activeElement.id == 'deBaja') {
|
||
$("#frameDeBaja").attr('src', 'frwDeBajaSolicitud.aspx?l=H/TvTKzD0EejKTW94E5Rjg==&u=J/U7O2rxqMtOqD6/hFMtDw==' + urlDeshabilitar);
|
||
}
|
||
else {
|
||
//$("#frameDeBaja").attr('src', 'about:blank');
|
||
}
|
||
if ($("#accordion").context.activeElement.id == 'agenda') {
|
||
$("#frameAgenda").attr('src', 'frwAgendaSolicitud.aspx?l=H/TvTKzD0EejKTW94E5Rjg==&u=J/U7O2rxqMtOqD6/hFMtDw==' + urlDeshabilitar);
|
||
}
|
||
else {
|
||
//$("#frameAgenda").attr('src', 'about:blank');
|
||
}
|
||
if ($("#accordion").context.activeElement.id == 'constancia') {
|
||
$("#frameConstancia").attr('src', 'frwCartaSolicitud.aspx?l=H/TvTKzD0EejKTW94E5Rjg==&u=J/U7O2rxqMtOqD6/hFMtDw==' + urlDeshabilitar);
|
||
}
|
||
else {
|
||
// $("#frameConstancia").attr('src', 'about:blank');
|
||
}
|
||
if ($("#accordion").context.activeElement.id == 'requisitos') {
|
||
var nResultado = 0;
|
||
nResultado = VerificarCampos(5);//le pongo 5 para que revise todas las pestañas
|
||
if (nResultado == 1) {
|
||
$("#frameRequisitos").attr('src', 'frwRequisitosSolicitud.aspx?l=H/TvTKzD0EejKTW94E5Rjg==&u=J/U7O2rxqMtOqD6/hFMtDw==' + urlDeshabilitar);
|
||
}
|
||
else {
|
||
$('#accordion').accordion({ active: 0 });
|
||
}
|
||
}
|
||
else {
|
||
if ($("#accordion").context.activeElement.id == 'adjuntos') {
|
||
var nResultado = 0;
|
||
nResultado = VerificarCampos(5);//le pongo 5 para que revise todas las pestañas
|
||
if (nResultado == 1) {
|
||
$("#frameAdjuntos").attr('src', 'frwAdjuntosSolicitud.aspx?l=H/TvTKzD0EejKTW94E5Rjg==&u=J/U7O2rxqMtOqD6/hFMtDw==' + urlDeshabilitar);
|
||
}
|
||
else {
|
||
$('#accordion').accordion({ active: 0 });
|
||
}
|
||
}
|
||
else {
|
||
// $("#frameRequisitos").attr('src', 'about:blank');
|
||
}
|
||
}
|
||
}
|
||
|
||
|
||
$("#consultaOpen" ).dialog({
|
||
autoOpen: false,
|
||
show: "blind",
|
||
hide: "explode"
|
||
});
|
||
function abrirOpen() {
|
||
$('#popup').fadeIn('slow');
|
||
$('.popup-overlay').fadeIn('slow');
|
||
$('.popup-overlay').height($(window).height());
|
||
return false;
|
||
}
|
||
|
||
$('#close').click(function () {
|
||
$('#popup').fadeOut('slow');
|
||
$('.popup-overlay').fadeOut('slow');
|
||
return false;
|
||
});
|
||
function closeIFrameConstancia() {
|
||
$('#frameConstancia').remove();
|
||
window.location.href = '../wfrLogin.aspx?sesion=expiro';
|
||
}
|
||
function closeIFrameAdjunto() {
|
||
$('#frameAdjuntos').remove();
|
||
window.location.href = '../wfrLogin.aspx?sesion=expiro';
|
||
}
|
||
function closeIFrameRequisitos() {
|
||
$('#frameRequisitos').remove();
|
||
window.location.href = '../wfrLogin.aspx?sesion=expiro';
|
||
}
|
||
|
||
function closeIFrameCancelar() {
|
||
$('#frameDeBaja').remove();
|
||
window.location.href = '../wfrLogin.aspx?sesion=expiro';
|
||
}
|
||
function closeIFrameAgenda() {
|
||
$('#frameAgenda').remove();
|
||
window.location.href = '../wfrLogin.aspx?sesion=expiro';
|
||
}
|
||
|
||
$("#MainContent_btnGuardar").click( function (e) {
|
||
e.preventDefault();
|
||
})
|
||
|
||
function VerificarCampos(indice) {
|
||
var nRespuesta = 1;
|
||
console.log(indice);
|
||
if ($("#MainContent_ddlTipoInspeccion").val() == '4' && indice > 1) {
|
||
MensajeError('Debe seleccionar el tipo de inspección', 'TipoDisponibilidad');
|
||
nRespuesta = 0;
|
||
}
|
||
else
|
||
{
|
||
if ($("#MainContent_ddlTipoDisponibilidad").val() == '-1' && indice > 1) {
|
||
MensajeError('Debe seleccionar el tipo de disponibiidad', 'TipoDisponibilidad');
|
||
nRespuesta = 0;
|
||
}
|
||
else{
|
||
if ($("#MainContent_txtNombreSolicitante").val() == '' || $("#MainContent_txtNombreSolicitante").val() == 'N/A' && indice > 2) {
|
||
MensajeError('Debe digitar el nombre del solicitante', 'datosCliente');
|
||
nRespuesta = 0;
|
||
}
|
||
else{
|
||
if ($("#MainContent_txtApellido1Solicitante").val() == '' || $("#MainContent_txtApellido1Solicitante").val() == 'N/A' && indice > 2) {
|
||
MensajeError('Debe digitar el apellido del solicitante', 'datosCliente');
|
||
nRespuesta = 0;
|
||
} else if ($("#MainContent_txtApellido2Solicitante").val() == '' || $("#MainContent_txtApellidoSolicitante").val() == 'N/A' && indice > 2) {
|
||
MensajeError('Debe digitar el segundo apellido del solicitante', 'datosCliente');
|
||
nRespuesta = 0;
|
||
}
|
||
else
|
||
{
|
||
if ($("#MainContent_txtCedulaSolicitante").val() == '' || $("#MainContent_txtCedulaSolicitante").val() == 'N/A' && indice > 2) {
|
||
MensajeError('Debe digitar la identificación del solicitante', 'datosCliente');
|
||
nRespuesta = 0;
|
||
}
|
||
else {
|
||
|
||
if ($("#MainContent_rdlTieneServicios").val() == '1' && indice > 2) {
|
||
|
||
MensajeError('Debe digitar el número de NIS', 'datosCliente');
|
||
nRespuesta = 0;
|
||
} else if ($("#MainContent_rdlTieneServicios_0").is(':checked') && ($("#MainContent_txtNIS").val() == 'N/A' || $("#MainContent_txtNIS").val() == 'n/a' || $("#MainContent_txtNIS").val() == 'N/a' || $("#MainContent_txtNIS").val() == 'n/A' || $("#MainContent_txtNIS").val() == '')) {
|
||
|
||
MensajeError('Debe digitar el número de NIS', 'datosCliente');
|
||
nRespuesta = 0;
|
||
}
|
||
//else if ($('#MainContent_txtTelefono1').val() == '' && indice == 5) {
|
||
// MensajeError('Debe ingresar el Número de Teléfono 1', 'datosCliente');
|
||
// nRespuesta = 4;
|
||
//}
|
||
//else if ($('#MainContent_txtCorreo').val() == '' && indice == 5) {
|
||
// MensajeError('Debe ingresar el Correo Electrónico', 'datosCliente');
|
||
// nRespuesta = 4;
|
||
//}
|
||
else {
|
||
if ($("#MainContent_txtDescripcionUsoEdificaciones").val() == '' && indice > 2) {
|
||
MensajeError('Debe digitar una especificación del uso de edificaciones o si no aplica digite N/A', 'datosCliente');
|
||
nRespuesta = 0;
|
||
}
|
||
|
||
else {
|
||
if ($("#MainContent_txtDireccionExactaPropiedad").val() == '' || $("#MainContent_txtDireccionExactaPropiedad").val() == 'N/A' && indice > 2) {
|
||
MensajeError('Debe digitar la dirección de la propiedad', 'datosCliente');
|
||
nRespuesta = 0;
|
||
}
|
||
else {
|
||
if ($("#MainContent_ddlDependencia").val() == '-1' && indice > 2) {
|
||
MensajeError('Debe seleccionar la dependencia.', 'datosCliente');
|
||
nRespuesta = 0;
|
||
}
|
||
else {
|
||
//alert($("#MainContent_hfPkSolicitud").val());
|
||
var strRespuestaPropietario = '';
|
||
var datos = {
|
||
strPKSolicitudTMP: $("#MainContent_hfPkSolicitud").val()
|
||
|
||
};
|
||
$.ajax({
|
||
type: 'POST',
|
||
url: 'frwNuevaSolicitud.aspx/VerificarPropietarios',
|
||
|
||
cache: false,
|
||
data: JSON.stringify(datos),
|
||
contentType: 'application/json; charset=utf-8',
|
||
dataType: 'json',
|
||
success: function (response, status) {
|
||
|
||
|
||
//alert(response);
|
||
if (response.d == 'faltapropietarios' && indice > 2) {
|
||
MensajeError('No se han agregado los propietarios.', 'datosCliente');
|
||
nRespuesta = 0;
|
||
}
|
||
if (response.d == 'faltaproyectos' && indice > 3) {
|
||
MensajeError('No se han agregado los proyectos a la solicitud.', 'proposito');
|
||
nRespuesta = 0;
|
||
}
|
||
|
||
},
|
||
}).fail(function (jqxhr, textStatus, error) {
|
||
|
||
}).then(function (value) {
|
||
//alert('entonces');
|
||
});
|
||
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
|
||
}
|
||
|
||
}
|
||
|
||
|
||
|
||
|
||
//alert(nRespuesta);
|
||
|
||
return nRespuesta;
|
||
|
||
}
|
||
|
||
|
||
//$("li.active > a:nth-child(1)").on("click", function () {
|
||
// establecerFocus(1);
|
||
//});
|
||
//$("li.active > a:nth-child(2)").on("click", function () {
|
||
// establecerFocus(2);
|
||
//});
|
||
function establecerFocus(indice)
|
||
{
|
||
var nResultado = 0;
|
||
nResultado = VerificarCampos(indice);
|
||
if (nResultado == 1) {
|
||
switch (indice) {
|
||
case (1):
|
||
$('#MainContent_ddlTipoInspeccion').focus();
|
||
|
||
break;
|
||
case (2):
|
||
$('#MainContent_txtNombreSolicitante').focus();
|
||
$('#MainContent_txtNombreSolicitante').select();
|
||
break;
|
||
case (3):
|
||
$('#MainContent_ddlTipoProyecto').focus();
|
||
break;
|
||
case (4):
|
||
$('#MainContent_txtTelefono1').focus();
|
||
$('#MainContent_txtTelefono1').select();
|
||
break;
|
||
default:
|
||
$('#MainContent_txtNombreSolicitante').focus();
|
||
}
|
||
}
|
||
|
||
}
|
||
|
||
var getUrlParameter = function getUrlParameter(sParam) {
|
||
var sPageURL = decodeURIComponent(window.location.search.substring(1)),
|
||
sURLVariables = sPageURL.split('&'),
|
||
sParameterName,
|
||
i;
|
||
|
||
for (i = 0; i < sURLVariables.length; i++) {
|
||
sParameterName = sURLVariables[i].split('=');
|
||
|
||
if (sParameterName[0] === sParam) {
|
||
return sParameterName[1] === undefined ? true : sParameterName[1];
|
||
}
|
||
}
|
||
};
|
||
|
||
function anular(e) {
|
||
tecla = (document.all) ? e.keyCode : e.which;
|
||
return (tecla != 13);
|
||
}
|
||
</script>
|
||
<style type="text/css">
|
||
body {
|
||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||
}
|
||
|
||
|
||
.auto-style6 {
|
||
width: 200px;
|
||
}
|
||
|
||
.auto-style7 {
|
||
width: 110px;
|
||
}
|
||
|
||
.auto-style14 {
|
||
width: 400px;
|
||
}
|
||
|
||
.auto-style10 {
|
||
width: 50px;
|
||
}
|
||
|
||
.auto-style11 {
|
||
width: 200px;
|
||
}
|
||
|
||
.auto-style12 {
|
||
height: 41px;
|
||
}
|
||
|
||
.auto-style13 {
|
||
height: 23px;
|
||
}
|
||
|
||
#menuSolicitudes {
|
||
float: left;
|
||
left: 50%;
|
||
list-style-type: none;
|
||
margin: 0 auto;
|
||
padding: 0;
|
||
position: relative;
|
||
}
|
||
|
||
#menuSolicitudes li {
|
||
float: left;
|
||
position: relative;
|
||
right: 50%;
|
||
}
|
||
.open {
|
||
margin-bottom: 15px!important;
|
||
}
|
||
#popup {
|
||
left: 0;
|
||
position: absolute;
|
||
top: 0;
|
||
width: 100%;
|
||
z-index: 1001;
|
||
}
|
||
|
||
.content-popup {
|
||
margin: 0px auto;
|
||
margin-top: 120px;
|
||
position: relative;
|
||
padding: 10px;
|
||
/*width:500px;*/
|
||
overflow: auto;
|
||
border-radius: 4px;
|
||
background-color: #FFFFFF;
|
||
box-shadow: 0 2px 5px #666666;
|
||
height: auto;
|
||
}
|
||
|
||
.content-popup h2 {
|
||
color: #48484B;
|
||
border-bottom: 1px solid #48484B;
|
||
margin-top: 0;
|
||
padding-bottom: 4px;
|
||
}
|
||
|
||
.popup-overlay {
|
||
left: 0;
|
||
position: absolute;
|
||
top: 0;
|
||
width: 100%;
|
||
z-index: 999;
|
||
display: none;
|
||
background-color: #777777;
|
||
cursor: pointer;
|
||
opacity: 0.7;
|
||
}
|
||
|
||
.close {
|
||
position: absolute;
|
||
right: 15px;
|
||
}
|
||
#MainContent_chkSolicitantePropietario {
|
||
display:ruby !important;
|
||
}
|
||
|
||
</style>
|
||
|
||
|
||
|
||
<asp:ScriptManager ID="ScripManager1" runat="server" EnablePartialRendering="true">
|
||
</asp:ScriptManager>
|
||
|
||
<asp:UpdatePanel ID="updPanel" runat="server" UpdateMode="Conditional">
|
||
<ContentTemplate>
|
||
<asp:UpdateProgress ID="updProgress" runat="server">
|
||
<ProgressTemplate>
|
||
<div>
|
||
<div class="espera">
|
||
|
||
<asp:Image ID="imgEspera" runat="server" ImageUrl="~/Images/Animados/cargando.gif" Style="position: absolute; top: 40%; left: 45%; width: 80px; height: 80px" />
|
||
<asp:Label ID="lblEspera" runat="server" Text="Espere... " Style="position: absolute; top: 57%; left: 46%; width: 50px; height: 50px; color: #c8c8c8; font-size: medium; font-weight: 700"></asp:Label>
|
||
</div>
|
||
</div>
|
||
</ProgressTemplate>
|
||
</asp:UpdateProgress>
|
||
<!-- TITULO -->
|
||
<div id="divTitulo" align="center">
|
||
<legend>Solicitud de disponibilidad <%= strNumSolicitudTMP %></legend>
|
||
<%--<asp:Label ID="lblTitulo" runat="server" CssClass="lblTitulo" Text="Ingreso de Solicitudes"/>--%>
|
||
</div>
|
||
<!-- INSTRUCCIONES -->
|
||
<div id="divInstrucciones">
|
||
<%-- <asp:Label ID="lblInstrucciones" runat="server" Text="Gestión de Solicitudes"/>--%>
|
||
</div>
|
||
<!-- SEPARADOR -->
|
||
<div id="divSeparador1" class="divSeparador">
|
||
</div>
|
||
<div align="center" style="width: 95%; padding-left: 5%;">
|
||
<%-- **********************************************************************Datos Superiores ********************************************************************************* --%>
|
||
<div id="divDatosSuperiores" runat="server" visible="false">
|
||
<%--Consultar--%>
|
||
<div>
|
||
<div align="center" id=" " style="height: 90%">
|
||
|
||
|
||
|
||
<div id="accordion" style="height: 700px !important" onclick="limpiarFrame(this)">
|
||
<h3 id="ingresodatos">Solicitud de disponibilidad de agua potable y alcantarillado sanitario </h3>
|
||
<div id="tabs">
|
||
|
||
<ul class="nav nav-tabs" role="tablist" id="menuSolicitudes">
|
||
<li><a href="#TipoDisponibilidad" data-toggle="tab" aria-expanded="false" onclick="establecerFocus(1);">Tipo de Disponibilidad</a></li>
|
||
<li><a href="#datosCliente" data-toggle="tab" aria-expanded="false" onclick="establecerFocus(2);">Datos de la propiedad y del usuario</a></li>
|
||
<li><a href="#proposito" data-toggle="tab" aria-expanded="false" onclick="establecerFocus(3);">Propósito solicitud</a></li>
|
||
<li><a href="#reporteGestion" data-toggle="tab" aria-expanded="false" onclick="establecerFocus(4);">En caso de reporte de Notificación</a></li>
|
||
|
||
|
||
|
||
</ul>
|
||
<div id="myTabContent" class="tab-content" style="padding-top: 5%">
|
||
<asp:HiddenField ID="hfPkSolicitud" runat="server" />
|
||
<div class="tab-pane fade " id="TipoDisponibilidad">
|
||
<div id="Panel6" class="panel panel-primary">
|
||
<div class="panel-heading">
|
||
<h3 class="panel-title">Paso 1</h3>
|
||
</div>
|
||
<div class="panel-body" style="height: 90% !important">
|
||
|
||
<table id="tblTipoDisponibilidad" style="border-width: medium; border-color: transparent; text-align: left" border="0" >
|
||
<tr>
|
||
|
||
<td colspan="7">
|
||
<legend>Solicitud de Constancia de Disponibilidad e Instalación de Agua Potable y Alcantarillado Sanitario</legend>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="7" class="auto-style7">
|
||
<br />
|
||
</td>
|
||
|
||
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2" class="auto-style7"></td>
|
||
<td colspan="1" class="auto-style7"></td>
|
||
<td colspan="2" class="auto-style6">Tipo de Inspección</td>
|
||
<td colspan="2" class="auto-style7">
|
||
<asp:DropDownList ID="ddlTipoInspeccion" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlTipoInspeccion_SelectedIndexChanged" Enabled="false" CssClass="ddlS">
|
||
</asp:DropDownList>
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="7" class="auto-style7">
|
||
<br />
|
||
</td>
|
||
|
||
|
||
</tr>
|
||
<tr>
|
||
<td colspan="7" class="auto-style6"></td>
|
||
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2" class="auto-style7"></td>
|
||
<td colspan="1" class="auto-style7"></td>
|
||
<td colspan="2" class="auto-style6">Tipo de Disponibilidad </td>
|
||
<td colspan="2" class="auto-style7">
|
||
<asp:DropDownList ID="ddlTipoDisponibilidad" runat="server" Enabled="false" CssClass="ddlS">
|
||
</asp:DropDownList>
|
||
</td>
|
||
|
||
</tr>
|
||
<tr>
|
||
<td colspan="7" class="auto-style7">
|
||
<br />
|
||
</td>
|
||
|
||
|
||
</tr>
|
||
<tr>
|
||
<td colspan="7" class="auto-style7">
|
||
<div id="Div3" runat="server" align="center" class="tabla">
|
||
<asp:GridView ID="grvListaTerrenoSolicitud" runat="server" Width="70%" CellPadding="2" PageSize="5" GridLines="None" OnPageIndexChanging="grvListaTerrenoSolicitud_PageIndexChanging" AutoGenerateColumns="False" AllowPaging="True" Font-Names="Verdana" Font-Size="16px">
|
||
<RowStyle BackColor="#EFF3FB" VerticalAlign="Middle" />
|
||
|
||
<AlternatingRowStyle BackColor="White" VerticalAlign="Middle" />
|
||
<PagerStyle CssClass="gridViewPaginacion" ForeColor="#44608c" HorizontalAlign="Center" />
|
||
<HeaderStyle Font-Bold="True" ForeColor="White" CssClass="gridViewHeader" />
|
||
<PagerSettings PageButtonCount="25" />
|
||
<Columns>
|
||
<%--<asp:ButtonField ImageUrl="~/Images/MiniBotones/btnRemover.png"
|
||
ButtonType="Image" CommandName="borrar"></asp:ButtonField>--%>
|
||
<asp:BoundField DataField="FKSOLICITUD" HeaderText="Solicitud" SortExpression="FKSOLICITUD" Visible="false"></asp:BoundField>
|
||
|
||
<asp:BoundField DataField="NUMEROFOLIO" HeaderText="Folio" SortExpression="NUMEROFOLIO"></asp:BoundField>
|
||
<asp:BoundField DataField="NUMEROTERRENO" HeaderText="Plano" SortExpression="NUMEROTERRENO" />
|
||
<asp:BoundField DataField="DESCRIPCIONTIPOTERRENO" HeaderText="Terreno" SortExpression="DESCRIPCIONTIPOTERRENO" />
|
||
<asp:BoundField DataField="DESCRIPCIONNATURALEZAINMUEBLE" HeaderText="Naturaleza" SortExpression="DESCRIPCIONNATURALEZAINMUEBLE" />
|
||
|
||
|
||
</Columns>
|
||
</asp:GridView>
|
||
<div class="detalleGridView" style="width:70%">
|
||
<div class="Izquierda">
|
||
<%--<asp:Label ID="lblTotalDatos" runat="server" Text="Registros: " CssClass="textoDetalleGridView" />--%>
|
||
</div>
|
||
<div class="Derecha">
|
||
<asp:ImageButton ID="btnModificarFolioPlano" ImageUrl="~/Images/MiniBotones/btnTraslado.png" CausesValidation="false" runat="server" OnClick="btnModificarFolioPlano_Click" Width="20px" ToolTip="Modifica folios y planos." />
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</td>
|
||
|
||
|
||
</tr>
|
||
</table>
|
||
<div align="right">
|
||
<input type="button" value="Siguiente" onclick= "inicializaAcordeon('datosCliente'); VerificarCampos(2);"/>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="tab-pane fade " id="datosCliente">
|
||
<div id="Panel1" class="panel panel-primary">
|
||
<div class="panel-heading">
|
||
<h3 class="panel-title">Paso 2</h3>
|
||
</div>
|
||
<div class="panel-body" style="height: 90% !important">
|
||
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
|
||
<ContentTemplate>
|
||
<table id="tblDatosClientesSolicitud" style="border-width: medium; border-color: transparent; text-align: left" border="0" class="table-responsive">
|
||
<tr>
|
||
<td colspan="5">
|
||
<legend>Datos de Clientes</legend>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
|
||
<td class="auto-style6"><legend>Solicitante</legend> </td>
|
||
<td class="auto-style7">
|
||
<asp:DropDownList ID="ddlTitularInmueble" runat="server" Enabled="false" CssClass="ddlS"></asp:DropDownList>
|
||
|
||
</td>
|
||
<td class="auto-style10"> </td>
|
||
<td class="auto-style11"> </td>
|
||
<td class="auto-style7">
|
||
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="auto-style6">Nombre </td>
|
||
<td class="auto-style7">
|
||
<asp:TextBox ID="txtNombreSolicitante" runat="server"></asp:TextBox>
|
||
|
||
</td>
|
||
<td class="auto-style10"> </td>
|
||
<td class="auto-style11">Primer Apellido</td>
|
||
<td class="auto-style7">
|
||
<asp:TextBox ID="txtApellido1Solicitante" runat="server"></asp:TextBox>
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="1" class="auto-style6">
|
||
<br />
|
||
</td>
|
||
<td class="auto-style7">
|
||
|
||
<asp:RequiredFieldValidator ID="rfvNombreSolicitante" runat="server" ControlToValidate="txtNombreSolicitante" ErrorMessage="Debe digitar el nombre del solicitante."></asp:RequiredFieldValidator>
|
||
</td>
|
||
<td class="auto-style10"> </td>
|
||
<td class="auto-style11"></td>
|
||
<td class="auto-style7"></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="auto-style6">Segundo Apellido </td>
|
||
<td class="auto-style7">
|
||
<asp:TextBox ID="txtApellido2Solicitante" runat="server"></asp:TextBox></td>
|
||
<td class="auto-style10"> </td>
|
||
<td class="auto-style11">Número de identificación</td>
|
||
<td class="auto-style7">
|
||
<asp:TextBox ID="txtCedulaSolicitante" onblur="return validarCedula(this)" MaxLength="30" ToolTip="" runat="server"></asp:TextBox></td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="1" class="auto-style6">
|
||
<br />
|
||
</td>
|
||
<td class="auto-style7"></td>
|
||
<td class="auto-style10"> </td>
|
||
<td class="auto-style11"></td>
|
||
<td class="auto-style7">
|
||
<asp:RequiredFieldValidator ID="rfvCedulaSolicitante" runat="server" ControlToValidate="txtCedulaSolicitante" ErrorMessage="Debe digitar la identificación del solicitante."></asp:RequiredFieldValidator>
|
||
</td>
|
||
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2" class="auto-style6">El solicitante es el propietario. <asp:CheckBox ID="chkSolicitantePropietario" runat="server" AutoPostBack="true" OnCheckedChanged="chkSolicitantePropietario_CheckedChanged" Text="" />
|
||
</td>
|
||
<td colspan="3">
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="5">
|
||
<legend>Propietario</legend>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="5" style="text-align: center">
|
||
<%-- <asp:Button ID="btnAgregarClientes" runat="server" Text="Agregar" CssClass="botones" Visible="true" OnClick="btnAgregarClientes_Click" />--%>
|
||
<asp:RadioButtonList ID="rblTipoPropietario" runat="server" RepeatDirection="Horizontal" RepeatLayout="Table">
|
||
<asp:ListItem Text="Fisico" Value="1" Selected="True"></asp:ListItem>
|
||
<asp:ListItem Text="Jurídico" Value="2"></asp:ListItem>
|
||
<asp:ListItem Text="DIMEX" Value="3" ></asp:ListItem>
|
||
<asp:ListItem Text="NITÉ" Value="4"></asp:ListItem>
|
||
</asp:RadioButtonList>
|
||
</td>
|
||
|
||
</tr>
|
||
<tr>
|
||
<td colspan="5">
|
||
<h4></h4>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="auto-style6">Nombre completo / razón social</td>
|
||
<td class="auto-style7">
|
||
<asp:TextBox ID="txtNombrePropietario" runat="server"></asp:TextBox>
|
||
</td>
|
||
<td class="auto-style10"> </td>
|
||
<td class="auto-style11">Número de Identificación</td>
|
||
<td class="auto-style7">
|
||
<asp:TextBox ID="txtCedulaPropietario" ToolTip="" onblur="return validarCedula(this)" runat="server"></asp:TextBox>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
|
||
<td colspan="5">
|
||
<br />
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td colspan="5" style="text-align: center">
|
||
<%-- <asp:Button ID="btnAgregarClientes" runat="server" Text="Agregar" CssClass="botones" Visible="true" OnClick="btnAgregarClientes_Click" />--%>
|
||
<asp:Button ID="btnAgregarClientes" runat="server" CssClass="botones" ValidationGroup="validarme" Visible="true" OnClick="btnAgregarClientes_Click" Text="Agregar" />
|
||
</td>
|
||
|
||
</tr>
|
||
<tr>
|
||
<td colspan="5">
|
||
<h4></h4>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="5">
|
||
<asp:GridView ID="grvListaClienteSolicitud" runat="server" Width="100%" CellPadding="2" PageSize="5" GridLines="None" AutoGenerateColumns="False" AllowPaging="True" OnRowCommand="grvListaClienteSolicitud_RowCommand" Font-Names="Verdana" Font-Size="16px">
|
||
<RowStyle BackColor="#EFF3FB" VerticalAlign="Middle" />
|
||
<AlternatingRowStyle BackColor="White" VerticalAlign="Middle" />
|
||
<PagerStyle CssClass="gridViewPaginacion" ForeColor="#44608c" HorizontalAlign="Center" />
|
||
<HeaderStyle Font-Bold="True" ForeColor="White" CssClass="gridViewHeader" />
|
||
<PagerSettings PageButtonCount="25" />
|
||
<Columns>
|
||
<asp:ButtonField ImageUrl="~/Images/MiniBotones/btnRemover.png"
|
||
ButtonType="Image" CommandName="borrar"></asp:ButtonField>
|
||
<asp:BoundField DataField="PKCLIENTESOLICITUD" HeaderText="ID" SortExpression="PKCLIENTESOLICITUD"></asp:BoundField>
|
||
<asp:BoundField DataField="FKNUMSOLICITUDCLIENTESOLICITUD" HeaderText="Solicitud" SortExpression="FKNUMSOLICITUDCLIENTESOLICITUD" Visible="False" />
|
||
<asp:BoundField DataField="CEDULACLIENTESOLICITUD" HeaderText="Identificación" SortExpression="CEDULACLIENTESOLICITUD" />
|
||
<asp:BoundField DataField="NOMBRECLIENTESOLICITUD" HeaderText="Nombre" SortExpression="NOMBRECLIENTESOLICITUD" />
|
||
<asp:BoundField DataField="DESCRIPCIONTIPOPROPIETARIO" HeaderText="Tipo" SortExpression="DESCRIPCIONTIPOPROPIETARIO" />
|
||
|
||
</Columns>
|
||
</asp:GridView>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2">La propiedad tiene servicios de AyA:
|
||
|
||
</td>
|
||
<td colspan="3">
|
||
<asp:RadioButtonList ID="rdlTieneServicios" OnSelectedIndexChanged="rdlTieneServicios_SelectedIndexChanged" AutoPostBack="true" runat="server">
|
||
<asp:ListItem Value="1" Text="SI" Selected="True"></asp:ListItem>
|
||
<asp:ListItem Value="0" Text="NO"></asp:ListItem>
|
||
</asp:RadioButtonList>
|
||
|
||
</td>
|
||
|
||
</tr>
|
||
<tr>
|
||
|
||
<td colspan="5">
|
||
<br />
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2">Número de NIS:
|
||
|
||
</td>
|
||
<td colspan="3" >
|
||
<asp:TextBox ID="txtNIS" MaxLength="7" runat="server"></asp:TextBox>
|
||
<asp:ImageButton ID="imgBOpen" OnClick="ImageButton1_Click" CssClass="open" ImageUrl="~/Images/MiniBotones/Open-2.jpg" ValidationGroup="validarme" runat="server" ImageAlign="Middle" />
|
||
<%--<asp:ImageButton ID="imgBOpen" OnClick="ImageButton1_Click" CssClass="open" ImageUrl="~/Images/MiniBotones/Open-2.jpg" runat="server" ImageAlign="Middle" />--%>
|
||
</td>
|
||
<td>
|
||
<div id="popup" style="display: none;">
|
||
<div class="content-popup">
|
||
|
||
<asp:GridView ID="grvOpen" runat="server" CellPadding="2" GridLines="None" AutoGenerateColumns="false" AllowPaging="True" PageSize="10" CssClass="gridViewG" Font-Names="Verdana" Font-Size="16px">
|
||
<RowStyle BackColor="#EFF3FB" VerticalAlign="Middle" />
|
||
<AlternatingRowStyle BackColor="White" VerticalAlign="Middle" />
|
||
<PagerStyle CssClass="gridViewPaginacion" ForeColor="#44608c" HorizontalAlign="Center" />
|
||
<HeaderStyle Font-Bold="True" ForeColor="White" CssClass="gridViewHeader" />
|
||
<PagerSettings PageButtonCount="25" />
|
||
<Columns>
|
||
<asp:BoundField DataField="NIS_RAD" HeaderText="NIS" SortExpression="NIS_RAD" />
|
||
<asp:BoundField DataField="MEDIDOR" HeaderText="Hidrómetro" SortExpression="MEDIDIOR" />
|
||
<asp:BoundField DataField="ACC_FINCA" HeaderText="Dirección" SortExpression="ACC_FINCA" />
|
||
<asp:BoundField DataField="NOMBRE_CLIENTE" HeaderText="Propietario o dueño registral" SortExpression="NOMBRE_CLIENTE" />
|
||
<asp:BoundField DataField="TARIFA" HeaderText="Tarifa" SortExpression="TARIFA" />
|
||
<asp:BoundField DataField="AYA_DIAMETRO_AGUA" HeaderText="Diámetro conexion agua" SortExpression="AYA_DIAMETRO_AGUA" />
|
||
<asp:BoundField DataField="AYA_DIAMETRO_ALCA" HeaderText="Diámetro alcantarillado" SortExpression="AYA_DIAMETRO_ALCA" />
|
||
<asp:BoundField DataField="LOCALIZACION" HeaderText="Localización del servicio" SortExpression="LOCALIZACION" />
|
||
<asp:BoundField DataField="MON_DEUDA" HeaderText="Monto puesto al cobro" SortExpression="MON_DEUDA" />
|
||
<asp:BoundField DataField="MON_DEUDA_REC_VENC" HeaderText="Monto vencido" SortExpression="MON_DEUDA_REC_VENC" />
|
||
</Columns>
|
||
<EmptyDataTemplate>
|
||
<div class="gridViewVacio">
|
||
<div class="gridViewCheck">
|
||
</div>
|
||
<div class="gridFilaVacia">
|
||
<div class="textoGrid">
|
||
<asp:Label ID="lblGridView" Text="No se obtuvieron resultados de su búsqueda" runat="server" />
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</EmptyDataTemplate>
|
||
</asp:GridView>
|
||
|
||
<div id="dvcerrar" style="display: block; text-align: center;">
|
||
<asp:Button ID="close" runat="server" ValidationGroup="validarme" Text="Cerrar" />
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
</td>
|
||
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2"></td>
|
||
<td colspan="3">
|
||
<asp:RequiredFieldValidator ID="rfvNis" runat="server" ControlToValidate="txtNIS" ErrorMessage="Debe digitar el número de identificación del servicio."></asp:RequiredFieldValidator>
|
||
</td>
|
||
|
||
</tr>
|
||
<%--<tr>
|
||
<td colspan="2">Cantidad de edificaciones existentes en la propiedad:
|
||
|
||
</td>
|
||
<td colspan="3">
|
||
<asp:TextBox ID="txtCantidadEdificaciones" Text="0" runat="server" TextMode="Number"></asp:TextBox>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2"></td>
|
||
<td colspan="3">
|
||
<asp:RequiredFieldValidator ID="rfvCantidadEdificaciones" runat="server" ControlToValidate="txtCantidadEdificaciones" ErrorMessage="Debe digitar la cantidad de edificaciones de la solicitud."></asp:RequiredFieldValidator>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2" class="auto-style13">Uso de edificaciones:
|
||
|
||
|
||
</td>
|
||
<td colspan="3" class="auto-style13">
|
||
<asp:DropDownList ID="ddlUsoEdificacion" runat="server" AutoPostBack="true" CssClass="ddlS" OnSelectedIndexChanged="ddlDistrito_SelectedIndexChanged">
|
||
</asp:DropDownList>
|
||
</td>
|
||
|
||
</tr>
|
||
<tr>
|
||
|
||
<td colspan="5">
|
||
<br />
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2">Especifique:
|
||
|
||
</td>
|
||
<td colspan="3">
|
||
<br />
|
||
<asp:TextBox ID="txtDescripcionUsoEdificaciones" runat="server" MaxLength="500" TextMode="MultiLine" Width="90%"></asp:TextBox>
|
||
|
||
</td>
|
||
|
||
</tr>--%>
|
||
<tr>
|
||
|
||
<td colspan="5">
|
||
<legend>Localización de la Propiedad</legend>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
|
||
<td colspan="5" class="auto-style14">Provincia
|
||
<asp:DropDownList ID="ddlProvincia" runat="server" AutoPostBack="true" CssClass="ddlS2" OnSelectedIndexChanged="ddlProvincia_SelectedIndexChanged">
|
||
</asp:DropDownList>
|
||
|
||
Cantón <asp:DropDownList ID="ddlCanton" runat="server" AutoPostBack="true" CssClass="ddlS2" OnSelectedIndexChanged="ddlCanton_SelectedIndexChanged">
|
||
</asp:DropDownList>
|
||
|
||
Distrito <asp:DropDownList ID="ddlDistrito" runat="server" OnSelectedIndexChanged="ddlDistrito_SelectedIndexChanged" AutoPostBack="true"> </asp:DropDownList>
|
||
</td>
|
||
|
||
</tr>
|
||
<tr>
|
||
|
||
<td colspan="5">
|
||
<br />
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2">Dirección exacta de la propiedad (con señas): </td>
|
||
<td colspan="3">
|
||
<asp:TextBox ID="txtDireccionExactaPropiedad" runat="server" MaxLength="500" TextMode="MultiLine" Width="90%"></asp:TextBox></td>
|
||
</tr>
|
||
<tr>
|
||
|
||
<td colspan="2"></td>
|
||
<td colspan="3">
|
||
<asp:RequiredFieldValidator ID="rfvDireccionExactaPropiedad" runat="server" ControlToValidate="txtDireccionExactaPropiedad" ErrorMessage="Debe digitar la dirección exacta de la propiedad."></asp:RequiredFieldValidator></td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2">Dependencia: </td>
|
||
<td colspan="3">
|
||
<asp:DropDownList ID="ddlDependencia" OnSelectedIndexChanged="ddlDependencia_SelectedIndexChanged" runat="server" ></asp:DropDownList> (Región:<asp:Label ID="lblNuevaRegion" runat="server"></asp:Label>)
|
||
</tr>
|
||
|
||
</table>
|
||
<div align="right">
|
||
<input type="button" value="Siguiente" onclick= "inicializaAcordeon('proposito'); VerificarCampos(3);"/>
|
||
</div>
|
||
</ContentTemplate>
|
||
<Triggers>
|
||
<%--<asp:PostBackTrigger ControlID ="ddlProvincia" />--%>
|
||
<asp:AsyncPostBackTrigger ControlID="ddlProvincia" EventName="SelectedIndexChanged" />
|
||
<asp:AsyncPostBackTrigger ControlID="ddlCanton" EventName="SelectedIndexChanged" />
|
||
<asp:AsyncPostBackTrigger ControlID="ddlDistrito" EventName="SelectedIndexChanged" />
|
||
<asp:AsyncPostBackTrigger ControlID="ddlDependencia" EventName="SelectedIndexChanged" />
|
||
<asp:AsyncPostBackTrigger ControlID="imgBOpen" EventName="Click" />
|
||
|
||
<asp:AsyncPostBackTrigger ControlID="chkSolicitantePropietario" EventName="CheckedChanged" />
|
||
<asp:AsyncPostBackTrigger ControlID="rdlTieneServicios" EventName="SelectedIndexChanged" />
|
||
|
||
|
||
|
||
</Triggers>
|
||
</asp:UpdatePanel>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="tab-pane fade " id="proposito">
|
||
|
||
|
||
<div id="Panel3" class="panel panel-primary">
|
||
<div class="panel-heading">
|
||
<h3 class="panel-title">Paso 3</h3>
|
||
</div>
|
||
<div class="panel-body" style="width: 70%">
|
||
<asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional">
|
||
<ContentTemplate>
|
||
<table id="tblDatosProyecto" style="border-width: medium; border-color: #BFBFBF; text-align: left" border="0" class="table-responsive">
|
||
<tr>
|
||
<td colspan="5">
|
||
<legend>Propósito de la Solicitud</legend>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="5">
|
||
<strong>Seleccione el Proyecto a Desarrollar</strong>
|
||
</td>
|
||
|
||
|
||
|
||
</tr>
|
||
<tr>
|
||
|
||
<td colspan="5">
|
||
<asp:DropDownList ID="ddlTipoProyecto" runat="server" CssClass="ddlS" AutoPostBack="true" OnSelectedIndexChanged="ddlTipoProyecto_SelectedIndexChanged" />
|
||
</td>
|
||
|
||
|
||
|
||
|
||
|
||
</tr>
|
||
<tr>
|
||
<td colspan="5">
|
||
<asp:RegularExpressionValidator ID="rfvCantidad" ControlToValidate="txtValor" runat="server" ErrorMessage="Solo se permiten valores numéricos" ValidationExpression="\d+"></asp:RegularExpressionValidator>
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
|
||
<td colspan="2">
|
||
Cantidad
|
||
</td>
|
||
|
||
|
||
<td>
|
||
<asp:TextBox ID="txtValor" Text="0" TextMode="Number" CssClass="auto-style10" runat="server"></asp:TextBox>
|
||
<asp:Label ID="lblUnidadMedida" Text="" runat="server"></asp:Label>
|
||
|
||
</td>
|
||
|
||
<td> </td>
|
||
<td> </td>
|
||
|
||
</tr>
|
||
<tr>
|
||
<td colspan="5">
|
||
<div class="Separador"></div>
|
||
</td>
|
||
</tr>
|
||
|
||
|
||
<tr>
|
||
<td colspan="2" class="auto-style6">Caudal solicitado </td>
|
||
|
||
<td class="auto-style7">
|
||
<asp:TextBox ID="txtCaudalSolicitado" runat="server"></asp:TextBox>
|
||
</td>
|
||
|
||
<td> L/S</td>
|
||
<td> </td>
|
||
|
||
|
||
|
||
</tr>
|
||
<tr>
|
||
<td class="auto-style6"></td>
|
||
<td class="auto-style10"></td>
|
||
<td class="auto-style7">
|
||
<asp:RegularExpressionValidator ID="rfvCaudalSolicitado" runat="server" ControlToValidate="txtCaudalSolicitado" ValidationExpression="^(-?)(0|([1-9][0-9]*))(\\.[0-9]+)?$" ErrorMessage="Solo se permiten números."></asp:RegularExpressionValidator>
|
||
</td>
|
||
|
||
<td class="auto-style11"></td>
|
||
|
||
</tr>
|
||
<tr>
|
||
<td colspan="5"></td>
|
||
|
||
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2">
|
||
Niveles de construcción
|
||
</td>
|
||
|
||
|
||
<td colspan="3">
|
||
<asp:TextBox ID="txtNivelesConstruccion" Text="0" TextMode="Number" runat="server"></asp:TextBox>
|
||
|
||
|
||
</td>
|
||
|
||
|
||
|
||
|
||
</tr>
|
||
<tr>
|
||
<td colspan="5"> </td>
|
||
|
||
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2">
|
||
Area de construcción
|
||
</td>
|
||
|
||
|
||
<td colspan="3">
|
||
<asp:TextBox ID="txtAreaConstruccion" TextMode="Number" Text="0.00" runat="server"></asp:TextBox>
|
||
|
||
|
||
</td>
|
||
|
||
|
||
|
||
|
||
</tr>
|
||
<tr>
|
||
<td colspan="5"> </td>
|
||
|
||
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2">
|
||
Visado de planos
|
||
</td>
|
||
|
||
|
||
<td colspan="3">
|
||
<asp:CheckBox ID="chkVisado" runat="server" Text="" AutoPostBack="true" OnCheckedChanged="chkVisado_CheckedChanged" Checked="false" class="form-control1" BorderStyle="None"></asp:CheckBox>
|
||
|
||
|
||
</td>
|
||
|
||
|
||
|
||
|
||
</tr>
|
||
|
||
<div id="divnum1" runat="server" class="row" visible="false">
|
||
<tr>
|
||
<td colspan="2">
|
||
Sub-Clasificación
|
||
</td>
|
||
|
||
|
||
<td colspan="3">
|
||
<asp:DropDownList ID="ddlSubClasificacion" runat="server" Height="30px" class="dropdown" />
|
||
|
||
|
||
</td>
|
||
|
||
|
||
|
||
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2">
|
||
Cantidad de lotes
|
||
</td>
|
||
|
||
|
||
<td colspan="3">
|
||
<asp:TextBox ID="txtCantidadLotes" runat="server" TextMode="Number" Text="0" CssClass="textBox" ></asp:TextBox>
|
||
|
||
|
||
</td>
|
||
|
||
|
||
|
||
|
||
</tr>
|
||
|
||
</div>
|
||
<tr>
|
||
<td colspan="2">
|
||
|
||
</td>
|
||
|
||
|
||
<td colspan="3">
|
||
<asp:RadioButtonList ID="rblMotivoProyecto" runat="server" class="form-control1" Height="120px" Width="310px">
|
||
<asp:ListItem Selected="True" Text="Nuevo proyecto constructivo" Value="1"></asp:ListItem>
|
||
<asp:ListItem Text="Remodelación" Value="2"></asp:ListItem>
|
||
<asp:ListItem Text="Ampliación" Value="3"></asp:ListItem>
|
||
|
||
</asp:RadioButtonList>
|
||
|
||
|
||
</td>
|
||
|
||
|
||
|
||
|
||
</tr>
|
||
<tr>
|
||
<td colspan="5"> </td>
|
||
|
||
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2">
|
||
Observaciones
|
||
</td>
|
||
|
||
|
||
<td colspan="3">
|
||
<asp:TextBox ID="txtObservacionesProposito" Text="" TextMode="MultiLine" Width="80%" MaxLength="500" runat="server"></asp:TextBox>
|
||
|
||
|
||
</td>
|
||
|
||
|
||
|
||
|
||
</tr>
|
||
|
||
<tr>
|
||
<td colspan="5"></td>
|
||
|
||
|
||
</tr>
|
||
<tr>
|
||
<td colspan="5" style="text-align: center">
|
||
<%--<asp:Button ID="btnAgregarProyecto" runat="server" Text="Agregar" OnClick="btnAgregarProyecto_Click" />--%>
|
||
<asp:Button ID="btnAgregarProyecto" runat="server" CssClass="botones" ValidationGroup="validarme" Visible="true" OnClick="btnAgregarProyecto_Click" Text="Agregar" />
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="5">
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="5"></td>
|
||
</tr>
|
||
</table>
|
||
|
||
<asp:GridView ID="grvListaTipoProyecto" runat="server" AllowPaging="True" AutoGenerateColumns="False" CellPadding="2" Font-Names="Verdana" Font-Size="16px" GridLines="None" OnRowCommand="grvListaTipoProyecto_RowCommand" OnPageIndexChanging="grvListaTipoProyecto_PageIndexChanging" PageSize="5" Width="100%">
|
||
<RowStyle BackColor="#EFF3FB" VerticalAlign="Middle" />
|
||
<AlternatingRowStyle BackColor="White" VerticalAlign="Middle" />
|
||
<PagerStyle CssClass="gridViewPaginacion" ForeColor="#44608c" HorizontalAlign="Center" />
|
||
<HeaderStyle CssClass="gridViewHeader" Font-Bold="True" ForeColor="White" />
|
||
<PagerSettings PageButtonCount="25" />
|
||
<Columns>
|
||
<asp:ButtonField ButtonType="Image" CommandName="borrar" ImageUrl="~/Images/MiniBotones/btnRemover.png" />
|
||
<asp:BoundField DataField="PKPROYECTOSOLICITUD" HeaderText="ID" SortExpression="PKPROYECTOSOLICITUD" />
|
||
<asp:BoundField DataField="FKSOLICITUD" HeaderText="Solicitud" SortExpression="FKNUMSOLICITUDFKPROYECTOPROYECTOSOLICITUD" Visible="False" />
|
||
<asp:BoundField DataField="DESCRIPCIONPROYECTO" HeaderText="Tipo de proyecto" SortExpression="DESCRIPCIONPROYECTO" />
|
||
<asp:BoundField DataField="CANTIDADPROYECTOSOLICITUD" HeaderText="Cantidad" SortExpression="CANTIDADPROYECTOSOLICITUD" ItemStyle-HorizontalAlign="Center"/>
|
||
<asp:BoundField DataField="UNIDADMEDIDAPROYECTO" HeaderText="Unidad de medida" SortExpression="UNIDADMEDIDAPROYECTO" ItemStyle-HorizontalAlign="Center"/>
|
||
<asp:BoundField DataField="CAUDALSOLICITADOPROYECTOSOLICITUD" HeaderText="Caudal Solicitado" SortExpression="CAUDALSOLICITADOPROYECTOSOLICITUD" ItemStyle-HorizontalAlign="Center"/>
|
||
<%-- <asp:BoundField DataField="CAUDALASIGNADOPROYECTOSOLICITUD" HeaderText="Caudal Asignado" SortExpression="CAUDALASIGNADOPROYECTOSOLICITUD" ItemStyle-HorizontalAlign="Center"/>--%>
|
||
<%--<asp:BoundField DataField="OBSERVACIONESPROYECTOSOLICITUD" HeaderText="Observaciones" SortExpression="OBSERVACIONESPROYECTOSOLICITUD" />--%>
|
||
<asp:BoundField DataField="NIVELESCONSTRUCCIONPROYECTOSOLICITUD" HeaderText="Niveles" SortExpression="NIVELESCONSTRUCCIONPROYECTOSOLICITUD" ItemStyle-HorizontalAlign="Center"/>
|
||
<asp:BoundField DataField="AREACONSTRUCCIONPROYECTOSOLICITUD" HeaderText="Area" SortExpression="AREACONSTRUCCIONPROYECTOSOLICITUD" ItemStyle-HorizontalAlign="Center"/>
|
||
<asp:BoundField DataField="VISADOPROYECTOSOLICITUD" HeaderText="Visado de planos" SortExpression="VISADOPROYECTOSOLICITUD" ItemStyle-HorizontalAlign="Center"/>
|
||
<asp:BoundField DataField="CANTIDADLOTESVISADOPROYECTO" HeaderText="Lotes" SortExpression="CANTIDADLOTESVISADOPROYECTO" ItemStyle-HorizontalAlign="Center"/>
|
||
<asp:BoundField DataField="DESCRIPCIONTIPOVISADO" HeaderText="Sub-Clasificación" SortExpression="DESCRIPCIONTIPOVISADO" ItemStyle-HorizontalAlign="Center"/>
|
||
<asp:BoundField DataField="DESCRIPCIONMOTIVOPROYECTO" HeaderText="Motivo" SortExpression="DESCRIPCIONMOTIVOPROYECTO" ItemStyle-HorizontalAlign="Center"/>
|
||
</Columns>
|
||
</asp:GridView>
|
||
</ContentTemplate>
|
||
</asp:UpdatePanel>
|
||
</div>
|
||
<div align="right">
|
||
<input type="button" value="Siguiente" onclick= "inicializaAcordeon('reporteGestion'); VerificarCampos(4);"/>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
|
||
<div class="tab-pane fade" id="reporteGestion">
|
||
|
||
|
||
<div id="Panel4" class="panel panel-primary">
|
||
<div class="panel-heading">
|
||
<h3 class="panel-title">Paso 4</h3>
|
||
</div>
|
||
<div class="panel-body">
|
||
<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
|
||
<ContentTemplate>
|
||
<table id="tblDatosReporteGestion" style="border-width: medium; border-color: #BFBFBF; text-align: left" border="0" class="table-responsive">
|
||
<tr>
|
||
<td colspan="5" class="auto-style12">
|
||
<legend>En caso de Reporte de Notificación</legend>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="auto-style6">Número de Teléfono 1
|
||
</td>
|
||
<td class="auto-style7">
|
||
<asp:TextBox ID="txtTelefono1" runat="server"></asp:TextBox>
|
||
<asp:Label id="reqTel" Text="" runat="server"/>
|
||
</td>
|
||
<td class="auto-style10"> </td>
|
||
<td class="auto-style11">Fax</td>
|
||
<td class="auto-style7">
|
||
<asp:TextBox ID="txtFax" runat="server"></asp:TextBox>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="auto-style6">Número de Teléfono 2
|
||
</td>
|
||
<td class="auto-style7">
|
||
<asp:TextBox ID="txtTelefono2" runat="server"></asp:TextBox>
|
||
</td>
|
||
<td class="auto-style10"> </td>
|
||
<td class="auto-style11">Correo Electrónico</td>
|
||
<td class="auto-style7">
|
||
<asp:TextBox ID="txtCorreo" runat="server"></asp:TextBox>
|
||
<asp:Label id="reqCorreo" Text="" runat="server"/>
|
||
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="auto-style6">Correo Electrónico 2
|
||
</td>
|
||
<td class="auto-style7">
|
||
<asp:TextBox ID="txtCorreo2" runat="server"></asp:TextBox>
|
||
</td>
|
||
<td class="auto-style10"> </td>
|
||
<td class="auto-style11"></td>
|
||
<td class="auto-style7">
|
||
|
||
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="4">
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="4">
|
||
<legend>Esta disponibilidad se hace a solicitud de:</legend>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="auto-style6">Municipalidad local
|
||
</td>
|
||
<td class="auto-style7">
|
||
<asp:CheckBox ID="chkMunicipalidad" runat="server" />
|
||
</td>
|
||
<td class="auto-style10"> </td>
|
||
<td class="auto-style11">Ministerio de Salud
|
||
</td>
|
||
<td class="auto-style7">
|
||
<asp:CheckBox ID="chkMinisterio" runat="server"></asp:CheckBox>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="auto-style6">CFIA
|
||
|
||
|
||
</td>
|
||
<td class="auto-style7">
|
||
<asp:CheckBox ID="chkCFIA" runat="server" AutoPostBack="true" Enabled="false" OnCheckedChanged="chkCFIA_CheckedChanged"/>
|
||
|
||
|
||
</td>
|
||
<td class="auto-style10"> </td>
|
||
<td class="auto-style11">Otro
|
||
</td>
|
||
<td class="auto-style7">
|
||
<asp:TextBox ID="txtOtroEnteSolicita" runat="server"></asp:TextBox>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="auto-style6">
|
||
|
||
<asp:Label ID="lblDescripcionCFIA" runat="server" Visible="false">Código CFIA </asp:Label>
|
||
</td>
|
||
<td class="auto-style7">
|
||
|
||
<asp:TextBox ID="txtDescripcionCFIA" runat="server" Visible="false"></asp:TextBox>
|
||
</td>
|
||
<td class="auto-style10"> </td>
|
||
<td class="auto-style11">
|
||
</td>
|
||
<td class="auto-style7">
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="5" align="right">
|
||
<asp:Button ID="btnGuardar" runat="server" Text="Guardar" ValidationGroup="validarme" CssClass="botones" Enabled="false" Visible="true" OnClick="btnGuardar_Click" />
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
|
||
</ContentTemplate>
|
||
<Triggers>
|
||
<%--<asp:PostBackTrigger ControlID ="ddlProvincia" />--%>
|
||
|
||
<asp:AsyncPostBackTrigger ControlID="chkCFIA" EventName="CheckedChanged" />
|
||
<asp:AsyncPostBackTrigger ControlID="btnGuardar" EventName="Click" />
|
||
<%--<asp:PostBackTrigger ControlID="btnGuardar" EventName="Click" />--%>
|
||
|
||
|
||
</Triggers>
|
||
</asp:UpdatePanel>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
|
||
</div>
|
||
|
||
|
||
</div>
|
||
|
||
</div>
|
||
<h3 id="requisitos">Requisitos</h3>
|
||
|
||
<div>
|
||
<iframe id="frameRequisitos" src="" width="100%" height="90%" style="border: 0;">
|
||
|
||
</iframe>
|
||
|
||
</div>
|
||
|
||
|
||
|
||
<h3 id="constancia">Constancias</h3>
|
||
|
||
<div>
|
||
|
||
|
||
<iframe id="frameConstancia" src="" width="100%" height="90%" style="border: 0;"></iframe>
|
||
|
||
</div>
|
||
|
||
<h3 id="agenda">Agenda</h3>
|
||
|
||
<div>
|
||
|
||
<iframe id="frameAgenda" src="" width="100%" height="90%" style="border: 0;"></iframe>
|
||
|
||
|
||
</div>
|
||
|
||
|
||
<h3 id="deBaja">Cancelar</h3>
|
||
|
||
<div>
|
||
<iframe id="frameDeBaja" src="" width="100%" height="90%" style="border: 0;"></iframe>
|
||
|
||
|
||
|
||
|
||
</div>
|
||
<h3 id="adjuntos">Adjuntar</h3>
|
||
|
||
<div>
|
||
<iframe id="frameAdjuntos" src="" width="100%" height="90%" style="border: 0;"></iframe>
|
||
|
||
|
||
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
|
||
<%--Listado de Datos--%>
|
||
|
||
<%-- <td class="tabla" id="tdLista" runat="server" align="center">--%>
|
||
<div id="tdLista" runat="server" class="tabla">
|
||
</div>
|
||
|
||
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
<%--Botonera Superior--%>
|
||
|
||
<div id="tdBotoneraSuperior" runat="server" style="text-align: center; padding-top: 200px" class="tabla">
|
||
<%--<asp:RequiredFieldValidator ID="rfvCorreo" runat="server" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ControlToValidate="txtCorreo" ErrorMessage="El formato de la dirección no es la correcta ejem. xxx@aya.go.cr." ValidationGroup="validarme"></asp:RequiredFieldValidator>--%>
|
||
<br />
|
||
<%-- <asp:Button ID="btnCancelar" runat="server" Text="Cancelar" CssClass="botones" Visible="true" OnClick="btnCancelar_Click" />--%>
|
||
|
||
<asp:Button ID="btnAnterior2" runat="server" CssClass="botones" ValidationGroup="validarme" Visible="true" OnClick="btnAnterior2_Click" Text="Anterior" />
|
||
|
||
|
||
</div>
|
||
</ContentTemplate>
|
||
|
||
|
||
|
||
|
||
</asp:UpdatePanel>
|
||
</asp:Content>
|
||
|