--Regenerar PDF cuando esta cancelado
--Porcentaje de IVA al imprimir pdf
This commit is contained in:
@@ -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®ENERAR=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)
|
||||
|
||||
Reference in New Issue
Block a user