Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -77,7 +77,7 @@ Partial Class Bancos_CargarConciliacionesBancarias
|
||||
Protected Sub BtnCargaExcel_Click(sender As Object, e As EventArgs)
|
||||
If TxtExcel.getfiles().Archivos.Count > 0 Then
|
||||
Dim file As Archivo = TxtExcel.getfiles().Archivos(0)
|
||||
Dim Directorio As String = ModExtensiones.DirectorioBaseEmpresas & file.patch
|
||||
Dim Directorio As String = AppDomain.CurrentDomain.BaseDirectory & file.patch
|
||||
Dim Tipo As String = If(file.Extencion.Contiene("xlsx", "xlsx", "xlsm", "xlsb"), "EXCEL", "CSV")
|
||||
CargaExcel(Directorio, file.filename, Tipo)
|
||||
Else
|
||||
|
||||
@@ -644,9 +644,12 @@ Partial Class Bancos_ConciliacionesBancariasaspx
|
||||
ObjConta.Dispose()
|
||||
End If
|
||||
|
||||
Dim Filtros As String = String.Format("<b>Cuenta: </b>{0} <b>Conciliado: </b>{1} <b>Fecha Inicial: </b>{2} <b>Fecha Final: </b>{3}", DdlCuenta.SelectedItem.Text, DdlConciliado.SelectedItem.Text, txtFechaI.Text, txtFechaF.Text)
|
||||
|
||||
params.Add(New ReportParameter("SaldoFinalContabilidad", (SaldoFinalContabilidad.FormatoNumero)))
|
||||
params.Add(New ReportParameter("SaldoFinalContabilidadComplementaria", (SaldoFinalContabilidadComplementaria.FormatoNumero)))
|
||||
params.Add(New ReportParameter("Diferencia", (SaldoFinalLibros - SaldoFinalContabilidad).FormatoNumero))
|
||||
params.Add(New ReportParameter("Filtros", Filtros))
|
||||
|
||||
If Imagen.Exists Then
|
||||
params.Add(New ReportParameter("LogoPath", logouri))
|
||||
|
||||
@@ -339,7 +339,7 @@
|
||||
<RepeatColumnHeaders>true</RepeatColumnHeaders>
|
||||
<FixedColumnHeaders>true</FixedColumnHeaders>
|
||||
<DataSetName>DataSet1</DataSetName>
|
||||
<Top>1.94937cm</Top>
|
||||
<Top>2.58437cm</Top>
|
||||
<Height>1.09417cm</Height>
|
||||
<Width>19.82496cm</Width>
|
||||
<Style>
|
||||
@@ -430,7 +430,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox2</rd:DefaultName>
|
||||
<Top>1.34937cm</Top>
|
||||
<Top>1.98437cm</Top>
|
||||
<Height>0.52945cm</Height>
|
||||
<Width>561.96737pt</Width>
|
||||
<ZIndex>2</ZIndex>
|
||||
@@ -781,7 +781,7 @@
|
||||
<RepeatColumnHeaders>true</RepeatColumnHeaders>
|
||||
<FixedColumnHeaders>true</FixedColumnHeaders>
|
||||
<DataSetName>DataSet2</DataSetName>
|
||||
<Top>4.17187cm</Top>
|
||||
<Top>4.80687cm</Top>
|
||||
<Height>1.09417cm</Height>
|
||||
<Width>19.82496cm</Width>
|
||||
<ZIndex>3</ZIndex>
|
||||
@@ -825,7 +825,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox2</rd:DefaultName>
|
||||
<Top>3.57187cm</Top>
|
||||
<Top>4.20687cm</Top>
|
||||
<Height>0.52945cm</Height>
|
||||
<Width>561.96737pt</Width>
|
||||
<ZIndex>4</ZIndex>
|
||||
@@ -1176,7 +1176,7 @@
|
||||
<RepeatColumnHeaders>true</RepeatColumnHeaders>
|
||||
<FixedColumnHeaders>true</FixedColumnHeaders>
|
||||
<DataSetName>DataSet3</DataSetName>
|
||||
<Top>6.42083cm</Top>
|
||||
<Top>7.05583cm</Top>
|
||||
<Height>1.12063cm</Height>
|
||||
<Width>19.82496cm</Width>
|
||||
<ZIndex>5</ZIndex>
|
||||
@@ -1220,7 +1220,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox2</rd:DefaultName>
|
||||
<Top>5.82083cm</Top>
|
||||
<Top>6.45583cm</Top>
|
||||
<Height>0.52945cm</Height>
|
||||
<Width>561.96737pt</Width>
|
||||
<ZIndex>6</ZIndex>
|
||||
@@ -1571,7 +1571,7 @@
|
||||
<RepeatColumnHeaders>true</RepeatColumnHeaders>
|
||||
<FixedColumnHeaders>true</FixedColumnHeaders>
|
||||
<DataSetName>DataSet4</DataSetName>
|
||||
<Top>8.56395cm</Top>
|
||||
<Top>9.19895cm</Top>
|
||||
<Height>1.12063cm</Height>
|
||||
<Width>19.82496cm</Width>
|
||||
<ZIndex>7</ZIndex>
|
||||
@@ -1615,7 +1615,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox2</rd:DefaultName>
|
||||
<Top>7.96395cm</Top>
|
||||
<Top>8.59895cm</Top>
|
||||
<Height>0.52945cm</Height>
|
||||
<Width>561.96737pt</Width>
|
||||
<ZIndex>8</ZIndex>
|
||||
@@ -1663,7 +1663,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox2</rd:DefaultName>
|
||||
<Top>10.21319cm</Top>
|
||||
<Top>10.84819cm</Top>
|
||||
<Height>0.42362cm</Height>
|
||||
<Width>477.16077pt</Width>
|
||||
<ZIndex>9</ZIndex>
|
||||
@@ -1711,7 +1711,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox2</rd:DefaultName>
|
||||
<Top>10.63681cm</Top>
|
||||
<Top>11.27181cm</Top>
|
||||
<Height>0.42362cm</Height>
|
||||
<Width>477.16077pt</Width>
|
||||
<ZIndex>10</ZIndex>
|
||||
@@ -1766,7 +1766,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox2</rd:DefaultName>
|
||||
<Top>10.21319cm</Top>
|
||||
<Top>10.84819cm</Top>
|
||||
<Left>16.83317cm</Left>
|
||||
<Height>0.42362cm</Height>
|
||||
<Width>84.80665pt</Width>
|
||||
@@ -1815,7 +1815,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox2</rd:DefaultName>
|
||||
<Top>10.63681cm</Top>
|
||||
<Top>11.27181cm</Top>
|
||||
<Left>16.83317cm</Left>
|
||||
<Height>0.42362cm</Height>
|
||||
<Width>84.80665pt</Width>
|
||||
@@ -1913,7 +1913,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox2</rd:DefaultName>
|
||||
<Top>12.33483cm</Top>
|
||||
<Top>12.96983cm</Top>
|
||||
<Left>16.83317cm</Left>
|
||||
<Height>0.52945cm</Height>
|
||||
<Width>84.80665pt</Width>
|
||||
@@ -1933,30 +1933,6 @@
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value> LCP Jesus Nazareth Peralta Ortíz</Value>
|
||||
<MarkupType>HTML</MarkupType>
|
||||
<Style />
|
||||
</TextRun>
|
||||
<TextRun>
|
||||
<Value>____________</Value>
|
||||
<MarkupType>HTML</MarkupType>
|
||||
<Style>
|
||||
<Color>White</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
<TextRun>
|
||||
<Value>CP Benjamin Carrillo Cota</Value>
|
||||
<MarkupType>HTML</MarkupType>
|
||||
<Style />
|
||||
</TextRun>
|
||||
<TextRun>
|
||||
<Value>______________</Value>
|
||||
<MarkupType>HTML</MarkupType>
|
||||
<Style>
|
||||
<Color>White</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
<TextRun>
|
||||
<Value>CP Sara Eduwiges Ruíz Félix</Value>
|
||||
<MarkupType>HTML</MarkupType>
|
||||
@@ -1969,9 +1945,10 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>AgrupadoPor</rd:DefaultName>
|
||||
<Top>16.31254cm</Top>
|
||||
<Top>16.94754cm</Top>
|
||||
<Left>14.51918cm</Left>
|
||||
<Height>0.6cm</Height>
|
||||
<Width>561.96737pt</Width>
|
||||
<Width>139.98364pt</Width>
|
||||
<ZIndex>15</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
@@ -2038,7 +2015,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>AgrupadoPor</rd:DefaultName>
|
||||
<Top>15.6424cm</Top>
|
||||
<Top>16.2774cm</Top>
|
||||
<Height>0.6cm</Height>
|
||||
<Width>561.96737pt</Width>
|
||||
<ZIndex>16</ZIndex>
|
||||
@@ -2094,7 +2071,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>AgrupadoPor</rd:DefaultName>
|
||||
<Top>13.12403cm</Top>
|
||||
<Top>13.75903cm</Top>
|
||||
<Height>0.6cm</Height>
|
||||
<Width>561.96737pt</Width>
|
||||
<ZIndex>17</ZIndex>
|
||||
@@ -2163,7 +2140,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>AgrupadoPor</rd:DefaultName>
|
||||
<Top>13.90042cm</Top>
|
||||
<Top>14.53542cm</Top>
|
||||
<Height>1.25264cm</Height>
|
||||
<Width>561.96737pt</Width>
|
||||
<ZIndex>18</ZIndex>
|
||||
@@ -2211,7 +2188,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox2</rd:DefaultName>
|
||||
<Top>11.06042cm</Top>
|
||||
<Top>11.69542cm</Top>
|
||||
<Height>0.42362cm</Height>
|
||||
<Width>477.16077pt</Width>
|
||||
<ZIndex>19</ZIndex>
|
||||
@@ -2262,7 +2239,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox2</rd:DefaultName>
|
||||
<Top>11.06042cm</Top>
|
||||
<Top>11.69542cm</Top>
|
||||
<Left>16.83317cm</Left>
|
||||
<Height>0.42362cm</Height>
|
||||
<Width>84.80665pt</Width>
|
||||
@@ -2280,11 +2257,110 @@
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
<Textbox Name="Filtros">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Parameters!Filtros.Value</Value>
|
||||
<MarkupType>HTML</MarkupType>
|
||||
<Style>
|
||||
<FontSize>9pt</FontSize>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Filtros</rd:DefaultName>
|
||||
<Top>1.20798cm</Top>
|
||||
<Left>0.06614cm</Left>
|
||||
<Height>0.6cm</Height>
|
||||
<Width>19.75882cm</Width>
|
||||
<ZIndex>21</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
<Textbox Name="Textbox47">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>CP. Daniel Hernández Tapia</Value>
|
||||
<MarkupType>HTML</MarkupType>
|
||||
<Style />
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Left</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox47</rd:DefaultName>
|
||||
<Top>16.94754cm</Top>
|
||||
<Left>0.47837cm</Left>
|
||||
<Height>0.6cm</Height>
|
||||
<Width>5.38396cm</Width>
|
||||
<ZIndex>22</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
<Textbox Name="Textbox48">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>CP Benjamin Carrillo Cota</Value>
|
||||
<MarkupType>HTML</MarkupType>
|
||||
<Style />
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Left</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox48</rd:DefaultName>
|
||||
<Top>16.94754cm</Top>
|
||||
<Left>7.96078cm</Left>
|
||||
<Height>0.6cm</Height>
|
||||
<Width>4.88125cm</Width>
|
||||
<ZIndex>23</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</ReportItems>
|
||||
<Height>6.6828in</Height>
|
||||
<Height>6.95328in</Height>
|
||||
<Style />
|
||||
</Body>
|
||||
<Width>7.81552in</Width>
|
||||
<Width>7.8051in</Width>
|
||||
<Page>
|
||||
<PageHeader>
|
||||
<Height>2.88508cm</Height>
|
||||
@@ -2824,6 +2900,12 @@
|
||||
<AllowBlank>true</AllowBlank>
|
||||
<Prompt>ReportParameter1</Prompt>
|
||||
</ReportParameter>
|
||||
<ReportParameter Name="Filtros">
|
||||
<DataType>String</DataType>
|
||||
<Nullable>true</Nullable>
|
||||
<AllowBlank>true</AllowBlank>
|
||||
<Prompt>ReportParameter1</Prompt>
|
||||
</ReportParameter>
|
||||
</ReportParameters>
|
||||
<rd:ReportUnitType>Cm</rd:ReportUnitType>
|
||||
<rd:ReportID>40c94aad-a12a-44fb-ab0d-ea36a9656792</rd:ReportID>
|
||||
|
||||
@@ -130,7 +130,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<asp:Button ID="BtnRefacturarDocumento" runat="server" ClientIDMode="Static" Text="Refacturar Documento" Style="display: none;" />
|
||||
<asp:HiddenField ID="HdnLigaRefacturar" runat="server" Value="" ClientIDMode="Static" />
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
<asp:Button ID="BtnEnviarMailCancelacion" runat="server" ClientIDMode="Static" Text="Enviar Mail Cliente" Style="display: none;" OnClick="BtnEnviarMailCancelacion_Click" />
|
||||
@@ -138,8 +138,8 @@
|
||||
<asp:Content ID="Content8" ContentPlaceHolderID="JS" runat="Server">
|
||||
<script src="/Metronic/assets/global/plugins/jquery.pulsate.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
function BtnRefacturarDocumento() {
|
||||
$('#BtnRefacturarDocumento').click();
|
||||
function RefacturarDocumento() {
|
||||
window.location.replace(HdnLigaRefacturar.value);
|
||||
}
|
||||
|
||||
function BtnEnviarMailCancelacion() {
|
||||
|
||||
@@ -33,6 +33,7 @@ public partial class Ventas_RepCancelacionesPorRespuesta : ClsPaginas
|
||||
}
|
||||
private void CargaDatos()
|
||||
{
|
||||
HdnLigaRefacturar.Value = "";
|
||||
if (Request["CveVenta"] != null)
|
||||
{
|
||||
this.CveVenta = Request["CveVenta"].ToString().ToEntero();
|
||||
@@ -63,7 +64,7 @@ public partial class Ventas_RepCancelacionesPorRespuesta : ClsPaginas
|
||||
}
|
||||
protected void BtnValidar_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
HdnLigaRefacturar.Value = "";
|
||||
GridViewRow GvRow = (GridViewRow)(((LinkButton)sender).NamingContainer);
|
||||
int CveVenta = GvRow.DataKey("CveVenta").ToEntero();
|
||||
int CveCliente = GvRow.DataKey("CveCliente").ToEntero();
|
||||
@@ -91,7 +92,7 @@ public partial class Ventas_RepCancelacionesPorRespuesta : ClsPaginas
|
||||
}
|
||||
protected void BtnValidarRefacturacion_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
HdnLigaRefacturar.Value = "";
|
||||
GridViewRow GvRow = (GridViewRow)(((LinkButton)sender).NamingContainer);
|
||||
int CveVenta = GvRow.DataKey("CveVenta").ToEntero();
|
||||
int CveCliente = GvRow.DataKey("CveCliente").ToEntero();
|
||||
@@ -106,10 +107,17 @@ public partial class Ventas_RepCancelacionesPorRespuesta : ClsPaginas
|
||||
if (CveVenta > 0)
|
||||
{
|
||||
var respuesta = VerificarVigenciaSAT(CveVenta, CveCliente, Folio, TipoDocto, Uuid, UsuarioActual.Empresa.RFC, RFCCliente, Total, true);
|
||||
|
||||
Alert(respuesta.Mensaje);
|
||||
CargaDatos();
|
||||
|
||||
CargaDatos();
|
||||
if (respuesta.CveEstatus.Contiene(4,5))
|
||||
{
|
||||
HdnLigaRefacturar.Value = respuesta.LigaRefacturacion;
|
||||
Alert(respuesta.Mensaje, JSBtnAceptar: $"RefacturarDocumento();");
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert(respuesta.Mensaje,TipoMensaje.MsgAdvertencia);
|
||||
}
|
||||
|
||||
//if (respuesta.IrARefacturar)
|
||||
//{
|
||||
// Server.Transfer(respuesta.LigaRefacturacion);
|
||||
@@ -120,10 +128,12 @@ public partial class Ventas_RepCancelacionesPorRespuesta : ClsPaginas
|
||||
// CargaDatos();
|
||||
//}
|
||||
}
|
||||
UPDatos.Update();
|
||||
|
||||
}
|
||||
private MRespuestaSAT VerificarVigenciaSAT(int CveVenta, int CveCliente, string Folio, string TipoDocto, string uuid, string emisor, string receptor, string total, bool EsRefacturacion = false)
|
||||
{
|
||||
HdnLigaRefacturar.Value = "";
|
||||
var retorno = new MRespuestaSAT()
|
||||
{
|
||||
Mensaje = "",
|
||||
@@ -161,14 +171,18 @@ public partial class Ventas_RepCancelacionesPorRespuesta : ClsPaginas
|
||||
{
|
||||
var respCancelacion = CancelarDocumento(CveVenta, CveEstatus, CveCliente, Folio, uuid, CancelacionAcuse, CancelacionFecha, TipoDocto, total.ToDouble(), UsuarioActual.Empresa.CvePAC, EsRefacturacion: EsRefacturacion);
|
||||
|
||||
sb.AppendFormat("{0} <br/>", respCancelacion.Mensaje);
|
||||
//sb.AppendFormat("{0} <br/>", respCancelacion.Mensaje);
|
||||
if (!respCancelacion.HuboError)
|
||||
{
|
||||
CveEstatus = respCancelacion.CveEstatus;
|
||||
retorno.EnviarAcuse = true;
|
||||
|
||||
sb.Append("El Documento se canceló correctamente.");
|
||||
|
||||
sb.Append("El documento se canceló correctamente.");
|
||||
sb.Append($"</br> <a href='/Compras/PopUpVerFactura.aspx?P={Encripta($"OP=CAN&CVEVTA={CveVenta}")}' class='Texto' target='_blank'>Imprimir Acuse</a>");
|
||||
sb.Append("</br></br> ¿Desea enviar el Acuse de Cancelación al Cliente?");
|
||||
if (!EsRefacturacion)
|
||||
{
|
||||
sb.Append("</br></br> ¿Desea enviar el Acuse de Cancelación al Cliente?");
|
||||
}
|
||||
}
|
||||
|
||||
if (respCancelacion.CveEstatus.Contiene(4, 5) && EsRefacturacion)
|
||||
@@ -192,12 +206,17 @@ public partial class Ventas_RepCancelacionesPorRespuesta : ClsPaginas
|
||||
|
||||
var respCancelacion = CancelarDocumento(CveVenta, CveEstatus, CveCliente, Folio, uuid, CancelacionAcuse, CancelacionFecha, TipoDocto, total.ToDouble(), UsuarioActual.Empresa.CvePAC, EsRefacturacion: EsRefacturacion);
|
||||
|
||||
sb.AppendFormat("{0} <br/>", respCancelacion.Mensaje);
|
||||
//sb.AppendFormat("{0} <br/>", respCancelacion.Mensaje);
|
||||
if (!respCancelacion.HuboError)
|
||||
{
|
||||
sb.Append("El Documento se canceló correctamente.");
|
||||
retorno.EnviarAcuse = true;
|
||||
CveEstatus = respCancelacion.CveEstatus;
|
||||
sb.Append("El documento se canceló correctamente.");
|
||||
sb.Append($"</br> <a href='/Compras/PopUpVerFactura.aspx?P={Encripta($"OP=CAN&CVEVTA={CveVenta}")}' class='Texto' target='_blank'>Imprimir Acuse</a>");
|
||||
sb.Append("</br></br> ¿Desea enviar el Acuse de Cancelación al Cliente?");
|
||||
if (!EsRefacturacion)
|
||||
{
|
||||
sb.Append("</br></br> ¿Desea enviar el Acuse de Cancelación al Cliente?");
|
||||
}
|
||||
}
|
||||
|
||||
if (respCancelacion.CveEstatus.Contiene(4, 5) && EsRefacturacion)
|
||||
@@ -237,6 +256,8 @@ public partial class Ventas_RepCancelacionesPorRespuesta : ClsPaginas
|
||||
return retorno;
|
||||
}
|
||||
|
||||
retorno.CveEstatus = CveEstatus;
|
||||
|
||||
retorno.Mensaje = sb.ToString();
|
||||
return retorno;
|
||||
}
|
||||
@@ -413,10 +434,10 @@ public partial class Ventas_RepCancelacionesPorRespuesta : ClsPaginas
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
public class MRespuestaSAT
|
||||
{
|
||||
public int CveEstatus { get; set; }
|
||||
public bool EnviarAcuse { get; set; }
|
||||
public string LigaRefacturacion { get; set; }
|
||||
public bool IrARefacturar { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user