--Recalculo de importes vista previa

This commit is contained in:
2024-08-08 16:53:28 -07:00
parent d13f44c7f7
commit 27b3a2a30c

View File

@@ -16636,6 +16636,7 @@ Partial Class Ventas
TipoDoctoVistaPrevia = "Ing"
End If
CalculaTotalesVenta(RecalculaImpuestosLocales:=False, RecalcularTotalOriginal:=False)
CreaObjetosVenta(True, TipoDoctoVistaPrevia:=TipoDoctoVistaPrevia)
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.DataBind()
If (NuevaFactura = 1) Then
GvImpuestosLocales2.Enabled = True
Else
GvImpuestosLocales2.Enabled = False
End If
GvImpuestosLocales2.Enabled = True
GvImpuestosLocales2.Visible = True
End If
End If