--Recalculo de importes vista previa
This commit is contained in:
@@ -16636,6 +16636,7 @@ Partial Class Ventas
|
|||||||
TipoDoctoVistaPrevia = "Ing"
|
TipoDoctoVistaPrevia = "Ing"
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
CalculaTotalesVenta(RecalculaImpuestosLocales:=False, RecalcularTotalOriginal:=False)
|
||||||
CreaObjetosVenta(True, TipoDoctoVistaPrevia:=TipoDoctoVistaPrevia)
|
CreaObjetosVenta(True, TipoDoctoVistaPrevia:=TipoDoctoVistaPrevia)
|
||||||
|
|
||||||
If ObjFactura Is Nothing Or (ObjFactura.Cliente Is Nothing And Not CveEmpresaCRM > 0) Then
|
If ObjFactura Is Nothing Or (ObjFactura.Cliente Is Nothing And Not CveEmpresaCRM > 0) Then
|
||||||
@@ -29630,11 +29631,7 @@ Partial Class Ventas
|
|||||||
GvImpuestosLocales2.DataSource = ObjVentas.DtResultados
|
GvImpuestosLocales2.DataSource = ObjVentas.DtResultados
|
||||||
GvImpuestosLocales2.DataBind()
|
GvImpuestosLocales2.DataBind()
|
||||||
|
|
||||||
If (NuevaFactura = 1) Then
|
GvImpuestosLocales2.Enabled = True
|
||||||
GvImpuestosLocales2.Enabled = True
|
|
||||||
Else
|
|
||||||
GvImpuestosLocales2.Enabled = False
|
|
||||||
End If
|
|
||||||
GvImpuestosLocales2.Visible = True
|
GvImpuestosLocales2.Visible = True
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|||||||
Reference in New Issue
Block a user