Etiquetas idetificacion Requerimientos 1-8
git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C540
This commit is contained in:
parent
6e582c8336
commit
a26a2b774f
10 changed files with 150 additions and 77 deletions
|
|
@ -27,7 +27,7 @@ namespace AyABL.TRA
|
|||
public correoEL objcorreoEL { get; set; }
|
||||
|
||||
public int insertarCorreo()
|
||||
{
|
||||
{
|
||||
try
|
||||
{
|
||||
this.CamposTabla = t_dis_correo.FKSOLICITUD.ToString() + "," + t_dis_correo.CONTENIDO.ToString() + Tablas.correo.ToString() + "," + t_dis_correo.ASUNTO.ToString() + Tablas.correo.ToString() + "," + Constraints.FK.ToString() + Tablas.usuarioxdependencia.ToString() + "," + t_dis_correo.FECHAENVIO.ToString() + Tablas.correo.ToString() + "," + Auditoria.ASTATE.ToString() + Tablas.correo.ToString();
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@
|
|||
|
||||
<tr>
|
||||
<td style="text-align:justify">
|
||||
|
||||
<!--Requerimiento 3-->
|
||||
Quien subscribe strNombreResponsable, en mi condición de funcionario (a) del aréa de strDependencia del Instituto Costarricense de Acueductos y Alcantarillados, hago constar que a las strHora horas del día strFecha, recibí del señor(a) strCliente, el formulario de solicitud y requisitos debidamente completos, la cual se registró con el consecutivo de solicitud No strNumSolicitud, correspondiente al folio real matrícula N° strNumeroFolio y plano catastro No. strNumeroPlanoCatastro.
|
||||
Las consultar a través del sitio web, para ver cómo va el progreso de la solicitud https://www.aya.go.cr/servicioCliente/SitePages/seguimientoSolicitudes.aspx
|
||||
|
||||
|
|
|
|||
|
|
@ -49,10 +49,11 @@
|
|||
#MainContent_chkSinFolio, #MainContent_chkDeclaracionPrivada, #MainContent_chkDeclaracionProtocolizada {
|
||||
display: ruby !important;
|
||||
}
|
||||
|
||||
/*Requerimiento 2*/
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
/*Requerimiento 2*/
|
||||
</style>
|
||||
|
||||
|
||||
|
|
@ -179,12 +180,14 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="separador">
|
||||
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="Solo se permiten letras" ControlToValidate="txtDuplicado"
|
||||
ValidationExpression="^[A-Za-z]*$"></asp:RegularExpressionValidator>
|
||||
<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="Solo se permiten letras" ControlToValidate="txtHorizontal"
|
||||
ValidationExpression="^[A-Za-z]*$"></asp:RegularExpressionValidator>
|
||||
<asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ErrorMessage="Solo se permiten números" ControlToValidate="txtDerecho"
|
||||
ValidationExpression="^[0-9]*$"></asp:RegularExpressionValidator>
|
||||
<%--Requerimiento 2--%>
|
||||
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="Solo se permiten letras" ControlToValidate="txtDuplicado"
|
||||
ValidationExpression="^[A-Za-z]*$"></asp:RegularExpressionValidator>
|
||||
<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="Solo se permiten letras" ControlToValidate="txtHorizontal"
|
||||
ValidationExpression="^[A-Za-z]*$"></asp:RegularExpressionValidator>
|
||||
<asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ErrorMessage="Solo se permiten números" ControlToValidate="txtDerecho"
|
||||
ValidationExpression="^[0-9]*$"></asp:RegularExpressionValidator>
|
||||
<%--Requerimiento 2--%>
|
||||
</div>
|
||||
<div class="Separador"></div>
|
||||
<div class="row">
|
||||
|
|
@ -210,10 +213,12 @@
|
|||
</ItemTemplate>--%>
|
||||
</asp:TemplateField>
|
||||
|
||||
<%-- Requerimiento 1 --%>
|
||||
<asp:BoundField DataField="PKFOLIO" Visible="true" HeaderText="ID" SortExpression="PKFOLIO" >
|
||||
<HeaderStyle CssClass="hidden"/>
|
||||
<ItemStyle CssClass="hidden"/>
|
||||
</asp:BoundField>
|
||||
<%-- Requerimiento 1 --%>
|
||||
<asp:BoundField DataField="NUMEROFOLIO" HeaderText="Folio" SortExpression="NUMEROFOLIO" />
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1506,6 +1506,7 @@ public partial class Forms_TRA_Validarplanosyfolios : General
|
|||
string strModo = ViewState["MODO"].ToString();
|
||||
foreach (GridViewRow row in grvFolio.Rows)
|
||||
{
|
||||
//Requerimiento 2
|
||||
//HtmlInputCheckBox chkTemp = (HtmlInputCheckBox)row.Controls[1].Controls[1];
|
||||
//if (chkTemp != null)
|
||||
//{
|
||||
|
|
@ -1516,6 +1517,7 @@ public partial class Forms_TRA_Validarplanosyfolios : General
|
|||
nPkFolio = int.Parse(row.Cells[2].Text);
|
||||
// }
|
||||
//}
|
||||
//Requerimiento 2
|
||||
}
|
||||
if (nContador > 1 || nContador == 0)
|
||||
{
|
||||
|
|
@ -1598,6 +1600,8 @@ public partial class Forms_TRA_Validarplanosyfolios : General
|
|||
|
||||
foreach (GridViewRow row in grvListaTerrenos.Rows)
|
||||
{
|
||||
|
||||
|
||||
//HtmlInputCheckBox chkTemp = (HtmlInputCheckBox)row.Controls[1].Controls[1];
|
||||
//if (chkTemp != null)
|
||||
//{
|
||||
|
|
@ -1612,7 +1616,6 @@ public partial class Forms_TRA_Validarplanosyfolios : General
|
|||
// MensajeAlerta("Debe seleccionar un plano.....");
|
||||
// return false;
|
||||
//}
|
||||
|
||||
|
||||
objsolicitudfolioBL = new solicitudfolioBL();
|
||||
|
||||
|
|
@ -1988,32 +1991,33 @@ public partial class Forms_TRA_Validarplanosyfolios : General
|
|||
{
|
||||
|
||||
#region Envio de correo
|
||||
//Requerimiento 13
|
||||
|
||||
arlCondicionesFiltroBusqueda = new ArrayList();
|
||||
// condicionesBusqueda();
|
||||
objsolicitudBL = new solicitudBL();
|
||||
//arlCondicionesFiltroBusqueda = new ArrayList();
|
||||
//// condicionesBusqueda();
|
||||
//objsolicitudBL = new solicitudBL();
|
||||
|
||||
objsolicitudBL.objSolicitudEL.PK = int.Parse(Session["PKPROGRAMACION"].ToString());
|
||||
//objsolicitudBL.objSolicitudEL.PK = int.Parse(Session["PKPROGRAMACION"].ToString());
|
||||
|
||||
{
|
||||
//{
|
||||
|
||||
DataSet dsEncargadosActividades = objsolicitudBL.dsListaActividadesEncargado(arlCondicionesFiltroBusqueda);
|
||||
if (dsEncargadosActividades.Tables.Count > 0)
|
||||
{
|
||||
nPkSolicitud = Convert.ToInt32(dsEncargadosActividades.Tables[0].Rows[0][1].ToString());//AQUI INSERTAMOS LA PK DE LA SOLICITUD
|
||||
// DataSet dsEncargadosActividades = objsolicitudBL.dsListaActividadesEncargado(arlCondicionesFiltroBusqueda);
|
||||
// if (dsEncargadosActividades.Tables.Count > 0)
|
||||
// {
|
||||
// nPkSolicitud = Convert.ToInt32(dsEncargadosActividades.Tables[0].Rows[0][1].ToString());//AQUI INSERTAMOS LA PK DE LA SOLICITUD
|
||||
|
||||
}
|
||||
}
|
||||
// }
|
||||
//}
|
||||
|
||||
AyABL.TRA.correoBL objcorreoBL = new AyABL.TRA.correoBL();
|
||||
objcorreoBL.objcorreoEL.FKNUMSOLICITUD = nPkSolicitud;
|
||||
// objcorreoBL.objcorreoEL.CORREO = dsActividad.Tables[0].Rows[0]["LOGINUSUARIO"].ToString() + "@aya.go.cr";
|
||||
objcorreoBL.objcorreoEL.ASUNTO = "Asignación de actividades - SIGDD";
|
||||
objcorreoBL.objcorreoEL.CONTENIDO = "Se ha finalizado la actividad de Ingreso y asignación de expedientes de la solicitud de disponibilidad " + Session["SOLICITUD"].ToString() + ", para ver mas detalles ingrese al sistema <a href=http://" + HttpContext.Current.Request.Url.Authority + "/Forms/wfrLogin> SIGDD</a>" + strPiePagina;
|
||||
objcorreoBL.objcorreoEL.FKUSUARIO = int.Parse(Session["PKUSUARIOXDEPENDENCIA"].ToString());
|
||||
objcorreoBL.objcorreoEL.Fecha = DateTime.Now;
|
||||
//AyABL.TRA.correoBL objcorreoBL = new AyABL.TRA.correoBL();
|
||||
//objcorreoBL.objcorreoEL.FKNUMSOLICITUD = nPkSolicitud;
|
||||
//// objcorreoBL.objcorreoEL.CORREO = dsActividad.Tables[0].Rows[0]["LOGINUSUARIO"].ToString() + "@aya.go.cr";
|
||||
//objcorreoBL.objcorreoEL.ASUNTO = "Asignación de actividades - SIGDD";
|
||||
//objcorreoBL.objcorreoEL.CONTENIDO = "Se ha finalizado la actividad de Ingreso y asignación de expedientes de la solicitud de disponibilidad " + Session["SOLICITUD"].ToString() + ", para ver mas detalles ingrese al sistema <a href=http://" + HttpContext.Current.Request.Url.Authority + "/Forms/wfrLogin> SIGDD</a>" + strPiePagina;
|
||||
//objcorreoBL.objcorreoEL.FKUSUARIO = int.Parse(Session["PKUSUARIOXDEPENDENCIA"].ToString());
|
||||
//objcorreoBL.objcorreoEL.Fecha = DateTime.Now;
|
||||
|
||||
nValorRetornado = objcorreoBL.insertarCorreo();
|
||||
//nValorRetornado = objcorreoBL.insertarCorreo();
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1157,7 +1157,10 @@
|
|||
<asp:ListItem Text="Sistemas de agua potable" Value="4"></asp:ListItem>
|
||||
<asp:ListItem Text="Otro" Value="5"></asp:ListItem>
|
||||
<asp:ListItem Text="No aplica" Value="6"></asp:ListItem>
|
||||
<%-- Requerimiento 6 --%>
|
||||
<asp:ListItem Text="No es posible de verificar" Value="7"></asp:ListItem>
|
||||
<%-- Requerimiento 6 --%>
|
||||
|
||||
|
||||
</asp:RadioButtonList> </td>
|
||||
<td colspan="2">
|
||||
|
|
@ -1176,16 +1179,21 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td colspan="1" class="auto-style1"><asp:RadioButtonList ID="rblNuevoServicio" AutoPostBack="true" runat="server" OnSelectedIndexChanged="rblNuevoServicio_SelectedIndexChanged" CssClass="fixWidth" RepeatDirection="Horizontal" RepeatLayout="Table">
|
||||
<%-- Requerimiento 6 --%>
|
||||
<asp:ListItem Text="2-1 (Prevista)" Value="1"></asp:ListItem>
|
||||
<asp:ListItem Text="2-2 (Tierra)" Value="2"></asp:ListItem>
|
||||
<asp:ListItem Text="2-3 (Lastre)" Value="3"></asp:ListItem>
|
||||
<asp:ListItem Text="2-4 (Asfalto/Concreto)" Value="4"></asp:ListItem>
|
||||
<asp:ListItem Text="No aplica" Value="7"></asp:ListItem>
|
||||
<%-- Requerimiento 6 --%>
|
||||
|
||||
</asp:RadioButtonList> </td>
|
||||
<td colspan="2" class="auto-style1">
|
||||
<div id="dvDiametroNuevoServicio" runat="server" >
|
||||
<%-- Requerimiento 6 --%>
|
||||
Diámetro propuesto de la conexión Aguas Residuales: <asp:RadioButtonList ID="rblDiametroNuevoServicio" runat="server" RepeatDirection="Horizontal" RepeatLayout="Table">
|
||||
<%-- Requerimiento 6 --%>
|
||||
|
||||
<asp:ListItem Text="100" Value="100"></asp:ListItem>
|
||||
<asp:ListItem Text="150" Value="150"></asp:ListItem>
|
||||
</asp:RadioButtonList>
|
||||
|
|
|
|||
|
|
@ -821,6 +821,7 @@ public partial class Forms_Trans_frwCriterioAS : General
|
|||
BloquearIntros();
|
||||
|
||||
|
||||
//Requerimiento 7
|
||||
inspeccionapBL objInspeccionBL = new inspeccionapBL();
|
||||
objInspeccionBL.objinspeccionapEL.FKSOLICITUD = int.Parse(Session["PKSOLICITUD"].ToString());
|
||||
DataSet dsInspeccion2 = objInspeccionBL.listarInspecciones(null);
|
||||
|
|
@ -828,7 +829,7 @@ public partial class Forms_Trans_frwCriterioAS : General
|
|||
{
|
||||
LlenarDatosExistentes(dsInspeccion2);
|
||||
}
|
||||
|
||||
//Requerimiento 7
|
||||
|
||||
EjecutarScript("inicializaTab('formulario');");
|
||||
}
|
||||
|
|
@ -1364,10 +1365,14 @@ public partial class Forms_Trans_frwCriterioAS : General
|
|||
}
|
||||
}
|
||||
|
||||
//Requerimiento 7
|
||||
public void LlenarDatosExistentes(DataSet dsAguaPotable)
|
||||
{
|
||||
//Requerimiento 8
|
||||
txtSistemaAsociado.Text = dsAguaPotable.Tables[0].Rows[0]["SISTEMAASOCIADOINSPECCIONAP"].ToString();
|
||||
txtLongitud.Text = dsAguaPotable.Tables[0].Rows[0]["LONGUITUDCROQUIS"].ToString();
|
||||
//Requerimiento 8
|
||||
|
||||
txtLongitud.Text = dsAguaPotable.Tables[0].Rows[0]["LONGUITUDCROQUIS"].ToString();
|
||||
txtLatitud.Text = dsAguaPotable.Tables[0].Rows[0]["LATITUDCROQUIS"].ToString();
|
||||
txtOficioRecepcion.Text = dsAguaPotable.Tables[0].Rows[0]["CONDOMINIOINSPECCION"].ToString();
|
||||
|
||||
|
|
@ -1411,6 +1416,7 @@ public partial class Forms_Trans_frwCriterioAS : General
|
|||
|
||||
|
||||
}
|
||||
//Requerimiento 7
|
||||
|
||||
public void habilitarCampos()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -953,9 +953,13 @@
|
|||
<asp:CheckBox ID="chkId18" runat="server" Text="Inconsistencia en la información registral aportada por los usuarios (espejo registral, tema)" /></td>
|
||||
|
||||
</tr>
|
||||
<%-- <tr>
|
||||
<%--
|
||||
Requerimiento 6
|
||||
<tr>
|
||||
<td><asp:CheckBox ID="chkId19" runat="server" Text="Falta de requisitos en la información presentada por los usuarios, conforme lo establecido en el Art. 18 del RPSC" /></td>
|
||||
</tr>--%>
|
||||
</tr>
|
||||
Requerimiento 6
|
||||
--%>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:CheckBox ID="chkId21" runat="server" Text="Inexistencia de infraestructura de distribución y recolección frente al inmueble solicitante de disponibilidad" /></td>
|
||||
|
|
@ -972,6 +976,8 @@
|
|||
<td>
|
||||
<asp:CheckBox ID="chkId25" runat="server" Text="El inmueble se encuentra dentro de un proyecto Urbanístico con procesos de aprobación, inspección y recepción pendientes ante AyA" /></td>
|
||||
</tr>
|
||||
|
||||
<%-- Requerimiento 6 --%>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:CheckBox ID="chkId26" runat="server" Text="Propósitos no atinentes a trámites que tengan como requisito la disponibilidad ante el CFIA (vía APC) " />
|
||||
|
|
@ -997,6 +1003,7 @@
|
|||
|
||||
</td>
|
||||
</tr>
|
||||
<%-- Requerimiento 6 --%>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
|
@ -1060,9 +1067,10 @@
|
|||
<tr>
|
||||
|
||||
<td>
|
||||
|
||||
<%-- Requerimiento 6 --%>
|
||||
¿El inmueble cuenta conprevista hacia red existente?:
|
||||
|
||||
<%-- Requerimiento 6 --%>
|
||||
|
||||
<asp:RadioButtonList ID="rblPrevista" runat="server" RepeatDirection="Vertical" RepeatLayout="Table">
|
||||
<asp:ListItem Text="No prevista" Value="false"></asp:ListItem>
|
||||
<asp:ListItem Text="Prevista" Value="true"></asp:ListItem>
|
||||
|
|
@ -1071,7 +1079,9 @@
|
|||
</td>
|
||||
<td colspan="4">
|
||||
<div id="divPrevista">
|
||||
El material de la vía existente frente al inmueble es:
|
||||
<%-- Requerimiento 6 --%>
|
||||
El material de la vía existente frente al inmueble es:
|
||||
<%-- Requerimiento 6 --%>
|
||||
|
||||
<asp:RadioButtonList ID="rblTipoPrevista" runat="server" OnSelectedIndexChanged="rblTipoPrevista_SelectedIndexChanged" RepeatDirection="Vertical" RepeatLayout="Table" AutoPostBack="True">
|
||||
<asp:ListItem Text="En asfalto" Value="1"></asp:ListItem>
|
||||
|
|
@ -1088,7 +1098,10 @@
|
|||
<tr>
|
||||
<td colspan="5">
|
||||
<br />
|
||||
<%-- Requerimiento 6 --%>
|
||||
<legend>Modalidad de medición recomendada: </legend></td>
|
||||
<%-- Requerimiento 6 --%>
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -1106,7 +1119,10 @@
|
|||
</td>
|
||||
<td colspan="4">
|
||||
<div id="divTipoMedidor">
|
||||
Diámetro propuesto para el dispositivo de medición:
|
||||
<%-- Requerimiento 6 --%>
|
||||
Diámetro propuesto para el dispositivo de medición:
|
||||
<%-- Requerimiento 6 --%>
|
||||
|
||||
|
||||
<asp:RadioButtonList ID="rblDiametroMedidor" runat="server" RepeatDirection="Horizontal" RepeatLayout="Table">
|
||||
<asp:ListItem Text="12,5 mm" Value="12.50"></asp:ListItem>
|
||||
|
|
|
|||
|
|
@ -602,6 +602,7 @@ public partial class Forms_Trans_frwCriterioPA : General
|
|||
{
|
||||
siAP.Visible = true;
|
||||
divCCH1.Visible = true;
|
||||
//Requerimiento 6
|
||||
txtOtraRazon.Visible = false;
|
||||
}
|
||||
else
|
||||
|
|
@ -621,6 +622,7 @@ public partial class Forms_Trans_frwCriterioPA : General
|
|||
}
|
||||
}
|
||||
|
||||
//Requerimiento 6
|
||||
protected void chkId32_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
|
|
@ -644,6 +646,7 @@ public partial class Forms_Trans_frwCriterioPA : General
|
|||
EjecutarScript("inicializaTab('formulario');");
|
||||
}
|
||||
}
|
||||
//Requerimiento 6
|
||||
|
||||
protected void rblExisteCCH_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
|
@ -1167,16 +1170,18 @@ public partial class Forms_Trans_frwCriterioPA : General
|
|||
txtOtroDiametro.Enabled = true;
|
||||
rblDisponibilidadAP.Enabled = true;
|
||||
chkId18.Enabled = true;
|
||||
//chkId19.Enabled = true;
|
||||
//Requerimiento 6 chkId19.Enabled = true;
|
||||
chkId21.Enabled = true;
|
||||
chkId22.Enabled = true;
|
||||
chkId23.Enabled = true;
|
||||
chkId25.Enabled = true;
|
||||
chkId26.Enabled = true;
|
||||
chkId27.Enabled = true;
|
||||
//Requerimiento 6
|
||||
chkId30.Enabled = true;
|
||||
chkId31.Enabled = true;
|
||||
chkId32.Enabled = true;
|
||||
//Requerimiento 6
|
||||
rblExisteCCH.Enabled = true;
|
||||
txtObservacionesExtensionRamal.Enabled = true;
|
||||
rblUbicacionMedidor.Enabled = true;
|
||||
|
|
@ -1215,16 +1220,18 @@ public partial class Forms_Trans_frwCriterioPA : General
|
|||
txtOtroDiametro.Enabled = false;
|
||||
rblDisponibilidadAP.Enabled = false;
|
||||
chkId18.Enabled = false;
|
||||
//chkId19.Enabled = false;
|
||||
//Requerimiento 6 chkId19.Enabled = false;
|
||||
chkId21.Enabled = false;
|
||||
chkId22.Enabled = false;
|
||||
chkId23.Enabled = false;
|
||||
chkId25.Enabled = false;
|
||||
chkId26.Enabled = false;
|
||||
chkId27.Enabled = false;
|
||||
//Requerimiento 6
|
||||
chkId30.Enabled = false;
|
||||
chkId31.Enabled = false;
|
||||
chkId32.Enabled = false;
|
||||
//Requerimiento 6
|
||||
txtOtraRazon.Enabled = false;
|
||||
|
||||
rblExisteCCH.Enabled = false;
|
||||
|
|
@ -1266,16 +1273,20 @@ public partial class Forms_Trans_frwCriterioPA : General
|
|||
txtOtroDiametro.Text = string.Empty;
|
||||
rblDisponibilidadAP.ClearSelection();
|
||||
chkId18.Checked = false;
|
||||
//chkId19.Checked = false;
|
||||
//Requerimiento 6 chkId19.Checked = false;
|
||||
chkId21.Checked = false;
|
||||
chkId22.Checked = false;
|
||||
chkId23.Checked = false;
|
||||
chkId25.Checked = false;
|
||||
chkId26.Checked = false;
|
||||
chkId27.Checked = false;
|
||||
|
||||
//Requerimiento 6
|
||||
chkId30.Checked = false;
|
||||
chkId31.Checked = false;
|
||||
chkId32.Checked = false;
|
||||
//Requerimiento 6
|
||||
|
||||
rblExisteCCH.ClearSelection();
|
||||
txtObservacionesExtensionRamal.Text = string.Empty;
|
||||
rblUbicacionMedidor.ClearSelection();
|
||||
|
|
@ -1432,16 +1443,18 @@ public partial class Forms_Trans_frwCriterioPA : General
|
|||
if (rblDisponibilidadAP.SelectedValue == "false")
|
||||
{
|
||||
if (chkId18.Checked == false &&
|
||||
//chkId19.Checked == false &&
|
||||
//Requerimiento 6 chkId19.Checked == false &&
|
||||
chkId21.Checked == false &&
|
||||
chkId22.Checked == false &&
|
||||
chkId23.Checked == false &&
|
||||
chkId25.Checked == false &&
|
||||
chkId26.Checked == false &&
|
||||
chkId27.Checked == false &&
|
||||
//Requerimiento 6
|
||||
chkId30.Checked == false &&
|
||||
chkId31.Checked == false &&
|
||||
chkId32.Checked == false
|
||||
//Requerimiento 6
|
||||
)
|
||||
{
|
||||
rblDisponibilidadAP.Focus();
|
||||
|
|
@ -1951,6 +1964,7 @@ public partial class Forms_Trans_frwCriterioPA : General
|
|||
objInspeccionBL.objinspeccionapEL.OBSERVACION = txtObservacionesCritec.Text;
|
||||
objInspeccionBL.objinspeccionapEL.FKINSPECCIONAPAS = p_nPK;
|
||||
objInspeccionBL.objinspeccionapEL.FKTIPOINSPECCION = 1;// int.Parse(Session["PKTIPOINSPECCION"].ToString());//AGUA POTABLE
|
||||
//Requerimiento 6
|
||||
objInspeccionBL.objinspeccionapEL.DESCRIPCIONOTROMOTIVONEGACIONDISPONIBILIDAD = txtOtraRazon.Text;
|
||||
objInspeccionBL.objinspeccionapEL.ASTATE = true;
|
||||
|
||||
|
|
@ -1977,6 +1991,7 @@ public partial class Forms_Trans_frwCriterioPA : General
|
|||
pkResult = objInspeccionBL.insertarNegaciondisponibilidad(p_tdlTransaccion);
|
||||
}
|
||||
|
||||
//Requerimiento 6
|
||||
//if (chkId19.Checked)
|
||||
//{
|
||||
// objInspeccionBL.objinspeccionapEL.FKTIPONEGACIONDISPONIBILIDAD = 19;
|
||||
|
|
@ -2012,6 +2027,7 @@ public partial class Forms_Trans_frwCriterioPA : General
|
|||
objInspeccionBL.objinspeccionapEL.FKTIPONEGACIONDISPONIBILIDAD = 27;
|
||||
pkResult = objInspeccionBL.insertarNegaciondisponibilidad(p_tdlTransaccion);
|
||||
}
|
||||
//Requerimiento 6
|
||||
if (chkId30.Checked)
|
||||
{
|
||||
objInspeccionBL.objinspeccionapEL.FKTIPONEGACIONDISPONIBILIDAD = 30;
|
||||
|
|
@ -2027,6 +2043,7 @@ public partial class Forms_Trans_frwCriterioPA : General
|
|||
objInspeccionBL.objinspeccionapEL.FKTIPONEGACIONDISPONIBILIDAD = 32;
|
||||
pkResult = objInspeccionBL.insertarNegaciondisponibilidad(p_tdlTransaccion);
|
||||
}
|
||||
//Requerimiento 6
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
@ -2265,7 +2282,7 @@ public partial class Forms_Trans_frwCriterioPA : General
|
|||
pkResult = objInspeccionBL.insertarNegaciondisponibilidad(p_tdlTransaccion);
|
||||
}
|
||||
|
||||
|
||||
//Requerimiento 6
|
||||
//if (chkId19.Checked)
|
||||
//{
|
||||
// objInspeccionBL.objinspeccionapEL.FKTIPONEGACIONDISPONIBILIDAD = 19;
|
||||
|
|
@ -2308,6 +2325,7 @@ public partial class Forms_Trans_frwCriterioPA : General
|
|||
pkResult = objInspeccionBL.insertarNegaciondisponibilidad(p_tdlTransaccion);
|
||||
}
|
||||
|
||||
//Requerimiento 6
|
||||
if (chkId30.Checked)
|
||||
{
|
||||
objInspeccionBL.objinspeccionapEL.FKTIPONEGACIONDISPONIBILIDAD = 30;
|
||||
|
|
@ -2324,7 +2342,7 @@ public partial class Forms_Trans_frwCriterioPA : General
|
|||
pkResult = objInspeccionBL.insertarNegaciondisponibilidad(p_tdlTransaccion);
|
||||
}
|
||||
|
||||
|
||||
// Requerimiento 6
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -2836,8 +2854,9 @@ public partial class Forms_Trans_frwCriterioPA : General
|
|||
{
|
||||
try
|
||||
{
|
||||
//Requerimiento 6
|
||||
txtOtraRazon.Visible = false;
|
||||
|
||||
//Requerimiento 6
|
||||
objInspeccionBL = new inspeccionapBL();
|
||||
//objInspeccionBL.objinspeccionapEL.FKSOLICITUD = int.Parse(Session["PKSOLICITUD"].ToString());
|
||||
objInspeccionBL.objinspeccionapEL.PKINSPECCION = p_nPKInspeccion;
|
||||
|
|
@ -2940,6 +2959,7 @@ public partial class Forms_Trans_frwCriterioPA : General
|
|||
{
|
||||
if (int.Parse(row["FKTIPONEGACIONDISPONIBILIDAD"].ToString()) == 18)
|
||||
chkId18.Checked = true;
|
||||
//Requerimiento 6
|
||||
//if (int.Parse(row["FKTIPONEGACIONDISPONIBILIDAD"].ToString()) == 19)
|
||||
// chkId19.Checked = true;
|
||||
if (int.Parse(row["FKTIPONEGACIONDISPONIBILIDAD"].ToString()) == 21)
|
||||
|
|
@ -2954,6 +2974,8 @@ public partial class Forms_Trans_frwCriterioPA : General
|
|||
chkId26.Checked = true;
|
||||
if (int.Parse(row["FKTIPONEGACIONDISPONIBILIDAD"].ToString()) == 27)
|
||||
chkId27.Checked = true;
|
||||
|
||||
//Requerimiento 6
|
||||
if (int.Parse(row["FKTIPONEGACIONDISPONIBILIDAD"].ToString()) == 30)
|
||||
chkId30.Checked = true;
|
||||
if (int.Parse(row["FKTIPONEGACIONDISPONIBILIDAD"].ToString()) == 31)
|
||||
|
|
@ -2962,11 +2984,14 @@ public partial class Forms_Trans_frwCriterioPA : General
|
|||
chkId32.Checked = true;
|
||||
txtOtraRazon.Text = dsInspeccion.Tables[0].Rows[0]["DESCRIPCIONOTROMOTIVONEGACIONDISPONIBILIDAD"].ToString();
|
||||
txtOtraRazon.Visible = true;
|
||||
//Requerimiento 6
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
//Requerimiento 6
|
||||
txtOtraRazon.Visible = true;
|
||||
//Requerimiento 6
|
||||
}
|
||||
if (rblDisponibilidadAP.SelectedValue.ToString().ToLower() == "false")
|
||||
{
|
||||
|
|
|
|||
|
|
@ -948,31 +948,31 @@ public partial class Forms_Trans_frwProgramacionTrabajo : General
|
|||
|
||||
#region Envio de correo
|
||||
|
||||
arlCondicionesFiltroBusqueda = new ArrayList();
|
||||
condicionesBusqueda();
|
||||
objSolicitudBL = new solicitudBL();
|
||||
//arlCondicionesFiltroBusqueda = new ArrayList();
|
||||
//condicionesBusqueda();
|
||||
//objSolicitudBL = new solicitudBL();
|
||||
|
||||
objSolicitudBL.objSolicitudEL.PK = int.Parse(Session["PKPROGRAMACION"].ToString());
|
||||
//objSolicitudBL.objSolicitudEL.PK = int.Parse(Session["PKPROGRAMACION"].ToString());
|
||||
|
||||
{
|
||||
//{
|
||||
|
||||
DataSet dsEncargadosActividades = objSolicitudBL.dsListaActividadesEncargado(arlCondicionesFiltroBusqueda);
|
||||
if (dsEncargadosActividades.Tables.Count > 0)
|
||||
{
|
||||
nPkSolicitud = Convert.ToInt32(dsEncargadosActividades.Tables[0].Rows[0][1].ToString());//AQUI INSERTAMOS LA PK DE LA SOLICITUD
|
||||
// DataSet dsEncargadosActividades = objSolicitudBL.dsListaActividadesEncargado(arlCondicionesFiltroBusqueda);
|
||||
// if (dsEncargadosActividades.Tables.Count > 0)
|
||||
// {
|
||||
// nPkSolicitud = Convert.ToInt32(dsEncargadosActividades.Tables[0].Rows[0][1].ToString());//AQUI INSERTAMOS LA PK DE LA SOLICITUD
|
||||
|
||||
}
|
||||
}
|
||||
// }
|
||||
//}
|
||||
|
||||
AyABL.TRA.correoBL objcorreoBL = new AyABL.TRA.correoBL();
|
||||
objcorreoBL.objcorreoEL.FKNUMSOLICITUD = nPkSolicitud;
|
||||
// objcorreoBL.objcorreoEL.CORREO = dsActividad.Tables[0].Rows[0]["LOGINUSUARIO"].ToString() + "@aya.go.cr";
|
||||
objcorreoBL.objcorreoEL.ASUNTO = "Asignación de actividades - SIGDD";
|
||||
objcorreoBL.objcorreoEL.CONTENIDO = "La solicitud de disponibilidad " + Session["SOLICITUD"].ToString() + " fue enviada para que se continúe con el proceso de " + ddlActividades.SelectedItem.Text + ", ingrese al sistema <a href=http://" + HttpContext.Current.Request.Url.Authority + "/Forms/wfrLogin> SIGDD</a>" + strPiePagina;
|
||||
objcorreoBL.objcorreoEL.FKUSUARIO = Convert.ToInt32(dsActividad.Tables[0].Rows[0]["PKUSUARIOXDEPENDENCIA"].ToString());
|
||||
objcorreoBL.objcorreoEL.Fecha = DateTime.Now;
|
||||
//AyABL.TRA.correoBL objcorreoBL = new AyABL.TRA.correoBL();
|
||||
//objcorreoBL.objcorreoEL.FKNUMSOLICITUD = nPkSolicitud;
|
||||
//// objcorreoBL.objcorreoEL.CORREO = dsActividad.Tables[0].Rows[0]["LOGINUSUARIO"].ToString() + "@aya.go.cr";
|
||||
//objcorreoBL.objcorreoEL.ASUNTO = "Asignación de actividades - SIGDD";
|
||||
//objcorreoBL.objcorreoEL.CONTENIDO = "La solicitud de disponibilidad " + Session["SOLICITUD"].ToString() + " fue enviada para que se continúe con el proceso de " + ddlActividades.SelectedItem.Text + ", ingrese al sistema <a href=http://" + HttpContext.Current.Request.Url.Authority + "/Forms/wfrLogin> SIGDD</a>" + strPiePagina;
|
||||
//objcorreoBL.objcorreoEL.FKUSUARIO = Convert.ToInt32(dsActividad.Tables[0].Rows[0]["PKUSUARIOXDEPENDENCIA"].ToString());
|
||||
//objcorreoBL.objcorreoEL.Fecha = DateTime.Now;
|
||||
|
||||
nValorRetornado = objcorreoBL.insertarCorreo();
|
||||
//nValorRetornado = objcorreoBL.insertarCorreo();
|
||||
|
||||
#endregion
|
||||
|
||||
|
|
@ -1111,18 +1111,18 @@ public partial class Forms_Trans_frwProgramacionTrabajo : General
|
|||
{
|
||||
#region Envio de correo
|
||||
|
||||
AyABL.TRA.correoBL objcorreoBL = new AyABL.TRA.correoBL();
|
||||
//AyABL.TRA.correoBL objcorreoBL = new AyABL.TRA.correoBL();
|
||||
|
||||
nPkSolicitud = Convert.ToInt32(row[1].ToString());//AQUI INSERTAMOS LA PK DE LA SOLICITUD
|
||||
//nPkSolicitud = Convert.ToInt32(row[1].ToString());//AQUI INSERTAMOS LA PK DE LA SOLICITUD
|
||||
|
||||
objcorreoBL.objcorreoEL.FKNUMSOLICITUD = nPkSolicitud;
|
||||
// objcorreoBL.objcorreoEL.CORREO = dsActividad.Tables[0].Rows[0]["LOGINUSUARIO"].ToString() + "@aya.go.cr";
|
||||
objcorreoBL.objcorreoEL.ASUNTO = "Estado de actividad - SIGDD";
|
||||
objcorreoBL.objcorreoEL.CONTENIDO = strMensajeContenido;
|
||||
objcorreoBL.objcorreoEL.FKUSUARIO = Convert.ToInt32(row["FKUSUARIOXDEPENDENCIA"].ToString());
|
||||
objcorreoBL.objcorreoEL.Fecha = DateTime.Now;
|
||||
//objcorreoBL.objcorreoEL.FKNUMSOLICITUD = nPkSolicitud;
|
||||
//// objcorreoBL.objcorreoEL.CORREO = dsActividad.Tables[0].Rows[0]["LOGINUSUARIO"].ToString() + "@aya.go.cr";
|
||||
//objcorreoBL.objcorreoEL.ASUNTO = "Estado de actividad - SIGDD";
|
||||
//objcorreoBL.objcorreoEL.CONTENIDO = strMensajeContenido;
|
||||
//objcorreoBL.objcorreoEL.FKUSUARIO = Convert.ToInt32(row["FKUSUARIOXDEPENDENCIA"].ToString());
|
||||
//objcorreoBL.objcorreoEL.Fecha = DateTime.Now;
|
||||
|
||||
nValorRetornado = objcorreoBL.insertarCorreo();
|
||||
//nValorRetornado = objcorreoBL.insertarCorreo();
|
||||
|
||||
|
||||
#endregion
|
||||
|
|
|
|||
|
|
@ -846,16 +846,17 @@ public partial class Forms_TRA_frwRequisitos : General
|
|||
string strTelefonoOficina = "800-REPORTE(800-7376783)";// ds.Tables[0].Rows[0]["TELEFONODEPENDENCIASIGDD"].ToString();
|
||||
//string strFaxOficina = ds.Tables[0].Rows[0]["FAXDEPENDENCIASIGDD"].ToString();
|
||||
string strFecha = DateTime.Now.ToShortDateString();
|
||||
|
||||
//Requerimiento 3
|
||||
string strSolicitante = "";
|
||||
//string strSolicitante = ds.Tables[0].Rows[0]["NOMBRECOMPLETOSOLICITANTE"].ToString().ToLower();
|
||||
//strSolicitante = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(strSolicitante);
|
||||
|
||||
string[] subs = ds.Tables[0].Rows[0]["NOMBRECLIENTESOLICITUD"].ToString().Split(',');
|
||||
|
||||
foreach (var item in subs)
|
||||
{
|
||||
strSolicitante += item + "<br>";
|
||||
}
|
||||
//Requerimiento 3
|
||||
|
||||
//Session["NOMBREEMPLEADO"]
|
||||
string strResponsable = Session["NOMBREEMPLEADO"].ToString().ToLower();
|
||||
|
|
@ -993,9 +994,17 @@ public partial class Forms_TRA_frwRequisitos : General
|
|||
string strTelefonoOficina = "800-REPORTE(800-7376783)";// ds.Tables[0].Rows[0]["TELEFONODEPENDENCIASIGDD"].ToString();
|
||||
//string strFaxOficina = ds.Tables[0].Rows[0]["FAXDEPENDENCIASIGDD"].ToString();
|
||||
string strFecha = DateTime.Now.ToShortDateString();
|
||||
string strSolicitante = ds.Tables[0].Rows[0]["NOMBRECOMPLETOSOLICITANTE"].ToString().ToLower();
|
||||
strSolicitante = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(strSolicitante);
|
||||
|
||||
|
||||
//Requerimiento 3
|
||||
string strSolicitante = "";
|
||||
//string strSolicitante = ds.Tables[0].Rows[0]["NOMBRECOMPLETOSOLICITANTE"].ToString().ToLower();
|
||||
//strSolicitante = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(strSolicitante);
|
||||
string[] subs = ds.Tables[0].Rows[0]["NOMBRECLIENTESOLICITUD"].ToString().Split(',');
|
||||
foreach (var item in subs)
|
||||
{
|
||||
strSolicitante += item + "<br>";
|
||||
}
|
||||
//Requerimiento 3
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue