Correcion de validacion masiva de cancelacion en reporte de cancelaciones por respuesta

This commit is contained in:
2023-01-16 18:45:01 -07:00
parent 1bfb7432d1
commit 956d734267
2 changed files with 4 additions and 3 deletions

View File

@@ -36,7 +36,7 @@
<div class="portlet light smmallpadding traspasorow bordered"> <div class="portlet light smmallpadding traspasorow bordered">
<div class="portlet-title"> <div class="portlet-title">
<div class="caption font-green"> <div class="caption font-green">
<span class="caption-subject bold uppercase" style="line-height: 1;">Facturas Pendientes Por Respuesta</span> <span class="caption-subject bold uppercase" style="line-height: 1;">Facturas Pendientes Por Respuesta <asp:Literal ID="LtlFacturasPendiente" runat="server"></asp:Literal></span>
</div> </div>
<div class="actions"> <div class="actions">

View File

@@ -551,7 +551,7 @@ public partial class Ventas_RepCancelacionesPorRespuesta : ClsPaginas
if (DtVentas != null) if (DtVentas != null)
{ {
var sb = new StringBuilder(); var sb = new StringBuilder();
foreach (DataRow Row in DtVentas.Rows) foreach (DataRow Row in DtVentas.FiltraParametros("(CveEstatusFactura IN (20) AND CveEstatusRefacturacion IN (0,4))").Rows)
{ {
int CveVenta = Row["CveVenta"].ToEntero(); int CveVenta = Row["CveVenta"].ToEntero();
string Total = Row["Total"].ToString(); string Total = Row["Total"].ToString();
@@ -564,7 +564,8 @@ public partial class Ventas_RepCancelacionesPorRespuesta : ClsPaginas
int CveCliente = Row["CveCliente"].ToEntero(); int CveCliente = Row["CveCliente"].ToEntero();
if (CveVenta > 0) if (CveVenta > 0)
{ {
sb.AppendFormat("{0}<br/>", VerificarVigenciaSAT(CveVenta, CveCliente, Folio, TipoDocto, Uuid, UsuarioActual.Empresa.RFC, RFCReceptor, SubTotal)); var resp = VerificarVigenciaSAT(CveVenta, CveCliente, Folio, TipoDocto, Uuid, UsuarioActual.Empresa.RFC, RFCReceptor, SubTotal);
sb.AppendFormat("{0}<br/>",resp.Mensaje);
} }
} }
Alert(sb.ToString()); Alert(sb.ToString());