Solicitudes Ingresos Correcciones, Factuas 4.0 70 y 2 , Clientres Representante legal
This commit is contained in:
@@ -64,7 +64,7 @@ public partial class SAT_SolicitudesIngresoSat : ClsPaginas
|
||||
TxtRpdFechaFin.Text = string.Format("{0:dd/MM/yyyy}", DateTime.Now.AddMonths(-1).LastDayOfMonth());
|
||||
LnkConsultar_Click(null, null);
|
||||
|
||||
//if(UsuarioActual.CveRol == 1)
|
||||
//if (UsuarioActual.CveRol == 1)
|
||||
//{
|
||||
// GVSolicitudesNominas.Columns[8].Visible = true;
|
||||
//}
|
||||
@@ -216,7 +216,7 @@ public partial class SAT_SolicitudesIngresoSat : ClsPaginas
|
||||
|
||||
if (ResultadoSolicitudOK)
|
||||
{
|
||||
sbResultado.Append($"Solicitud registrada correctamente y solicitada a SAT.<br> Folio: {Folio}");
|
||||
sbResultado.Append($"Solicitud registrada. {resultSolicitud[1]}<br> Folio: {Folio}");
|
||||
}
|
||||
else{
|
||||
|
||||
@@ -247,13 +247,13 @@ public partial class SAT_SolicitudesIngresoSat : ClsPaginas
|
||||
{
|
||||
txtFechaIAdd.Text = "";
|
||||
txtFechaFAdd.Text = "";
|
||||
ChkMetaDatos.Checked = false;
|
||||
this.RegistraScript("$('#ModalAgregarSolicitud').modal('hide');");
|
||||
cargasolicitudes();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected void LnkverificarSolicitudes_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
@@ -293,7 +293,7 @@ public partial class SAT_SolicitudesIngresoSat : ClsPaginas
|
||||
{
|
||||
resultSolicitud = ObjApiSolicitud.Select(token => token.Values().Aggregate((i, j) => $"{i}|{j}").Value<string>()).ToList();
|
||||
ResultadoSolicitudOK = bool.Parse(resultSolicitud[0]);
|
||||
sbResultado.Append($"Solicitud {CveSolicitudActual} solicitada a SAT.<br>");
|
||||
sbResultado.Append($"Solicitud {Folio} solicitada a SAT.<br>");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -336,7 +336,7 @@ public partial class SAT_SolicitudesIngresoSat : ClsPaginas
|
||||
|
||||
if(resultSolicitud.Count == 4)
|
||||
{
|
||||
sbResultado.Append($"Solicitud pendiente de verificar en SAT <br> Folio:{Folio} ({resultSolicitud[1]})<br>");
|
||||
sbResultado.Append($"({resultSolicitud[1]})<br> Folio:{Folio} <br> ");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -351,7 +351,7 @@ public partial class SAT_SolicitudesIngresoSat : ClsPaginas
|
||||
{
|
||||
if (ResultadoVerificaionOK)
|
||||
{
|
||||
sbResultado.Append($"Solicitud procesada.<br> Folio: {Folio}");
|
||||
sbResultado.Append($"Solicitud procesada.<br> Folio: {Folio} <br> {resultVerificacion[1]}");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -389,12 +389,11 @@ public partial class SAT_SolicitudesIngresoSat : ClsPaginas
|
||||
|
||||
txtFechaIAdd.Text = "";
|
||||
txtFechaFAdd.Text = "";
|
||||
ChkMetaDatos.Checked = false;
|
||||
UPModalViewSolicitudesAgregar.Update();
|
||||
this.RegistraScript("$('#ModalAgregarSolicitud').modal('show');");
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected void GvResumen_RowDataBound(object sender, GridViewRowEventArgs e)
|
||||
{
|
||||
if(e.Row.RowType == DataControlRowType.DataRow)
|
||||
@@ -477,11 +476,11 @@ public partial class SAT_SolicitudesIngresoSat : ClsPaginas
|
||||
LnkCFDIData.PostBackUrl = "#";
|
||||
}
|
||||
|
||||
if(e.Row.DataKey("CveVenta").ToEntero() > 0)
|
||||
{
|
||||
e.Row.Cells[1].Text = $"<a href='/Ventas/Ventas.aspx?CveVenta={e.Row.DataKey("CveVenta").ToEntero()}'class='Texto' target='_blank' >Si</a>";
|
||||
e.Row.Cells[3].Text = $"<a href='/Ventas/Ventas.aspx?CveVenta={e.Row.DataKey("CveVenta").ToEntero()}'class='Texto' target='_blank' >{e.Row.DataKey("VSerieFolio")}</a>";
|
||||
}
|
||||
//if(e.Row.DataKey("CveVenta").ToEntero() > 0)
|
||||
//{
|
||||
// e.Row.Cells[1].Text = $"<a href='/Ventas/Ventas.aspx?CveVenta={e.Row.DataKey("CveVenta").ToEntero()}'class='Texto' target='_blank' >Si</a>";
|
||||
// e.Row.Cells[3].Text = $"<a href='/Ventas/Ventas.aspx?CveVenta={e.Row.DataKey("CveVenta").ToEntero()}'class='Texto' target='_blank' >{e.Row.DataKey("VSerieFolio")}</a>";
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -690,8 +689,6 @@ public partial class SAT_SolicitudesIngresoSat : ClsPaginas
|
||||
return o.Value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected void LnkRenombrarArchivos_Click(object sender, EventArgs e)
|
||||
{
|
||||
GridViewRow GvRow = (GridViewRow)((LinkButton)sender).NamingContainer;
|
||||
@@ -701,8 +698,6 @@ public partial class SAT_SolicitudesIngresoSat : ClsPaginas
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected void LnkCFDIData_Click(object sender, EventArgs e)
|
||||
{
|
||||
GridViewRow GvRow = (GridViewRow)((LinkButton)sender).NamingContainer;
|
||||
@@ -723,6 +718,13 @@ public partial class SAT_SolicitudesIngresoSat : ClsPaginas
|
||||
Response.TransmitFile(ArchivoXML.FullName);
|
||||
Response.End();
|
||||
}
|
||||
else
|
||||
{
|
||||
//if(UsuarioActual.CveRol == 1)
|
||||
//{
|
||||
// Alert(UrlDescargaXML);
|
||||
//}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user