--Regenerar PDF cuando esta cancelado

--Porcentaje de IVA al imprimir pdf
This commit is contained in:
2024-12-28 16:06:19 -07:00
parent ed3c0a44af
commit 1c06dbd2a2
2 changed files with 15 additions and 1 deletions

View File

@@ -5846,6 +5846,10 @@ Partial Class Ventas
End If
IdPoliza = DbRowVenta("IdPoliza").ToString().ToEntero()
If DbRowVenta("CveEstatusFactura").ToString().Contiene("4", "5") Then
HplDownPDF.NavigateUrl = String.Format("/Compras/PopUpVerFactura.aspx?P={0}", Encripta(String.Format("OP=VTA&CVEVENTA={0}&PAG=1&GUARDAR=1&REGENERAR=1", CveVenta)))
End If
If UsuarioActual.Empresa.UsaOS AndAlso DbRowVenta("CveOS").ToString().ToEntero() = 0 Then
BtnGenerarOS.Visible = True
BtnGenerarOS.OnClientClick = String.Format("javascriptwindow.location.href = '/OS/OrdenesServicios.aspx?CveVenta={0}'; return false;", CveVenta)