Ferretera.
--Impresion directa de facturas y cotizaciones a credito --Condiciones de entrega e impresion para entrega a domicilio en cajas
This commit is contained in:
@@ -2644,7 +2644,10 @@ Partial Class Ventas
|
||||
CargaMonedas()
|
||||
CargaVendedores()
|
||||
CargarAlmacenes()
|
||||
'CargaFormaEntrega()
|
||||
If UsuarioActual.Empresa.Funcionalidad(109) = "1" Then
|
||||
CargaFormaEntrega()
|
||||
End If
|
||||
|
||||
CargaCuentasTerminal()
|
||||
'CargaDdlNCPS()
|
||||
'CargarCamiones()
|
||||
@@ -4972,6 +4975,11 @@ Partial Class Ventas
|
||||
|
||||
ViewState("CveSubProyectoVenta") = DbRowVenta("CveSubProyecto").ToString().ToEntero()
|
||||
|
||||
If DbRowVenta("CveCondicionEntrega").ToString().ToEntero() > 0 Then
|
||||
DdlFormaEntrega.SelectedValueExist(DbRowVenta("CveCondicionEntrega").ToString())
|
||||
DdlFormaEntrega.Enabled = False
|
||||
End If
|
||||
|
||||
Me.CveEstatusFacturaPadre = DbRowVenta("CveEstatusFacturaPadre").ToString().ToEntero()
|
||||
|
||||
If UsuarioActual.Empresa.Funcionalidad(705) = "1" Then
|
||||
@@ -10914,6 +10922,12 @@ Partial Class Ventas
|
||||
MensajeAlert.Clear()
|
||||
|
||||
Try
|
||||
If UsuarioActual.Empresa.Funcionalidad(109) = "1" Then
|
||||
If ObjFactura.TipoDocto.Contiene("Ing", "Cot") AndAlso ObjFactura.CondicionesPago = 1 Then
|
||||
ImpresionDirectaPDF()
|
||||
End If
|
||||
End If
|
||||
|
||||
'LIMPIA CONDICIONES DE PAGO - CONTADO
|
||||
RBLPago.SelectedValue = "1"
|
||||
LimpiaEscondeContado()
|
||||
@@ -10923,10 +10937,6 @@ Partial Class Ventas
|
||||
OnError("Ocurrió un error al limpiar los datos", ex)
|
||||
End Try
|
||||
|
||||
'If UsuarioActual.Empresa.Funcionalidad(109) = "1" Then
|
||||
' ImpresionDirectaPDF()
|
||||
'End If
|
||||
|
||||
Else
|
||||
ObjVentas.RollBack()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user