Cambiar porcentaje IVA al editar cotizacion
This commit is contained in:
@@ -24747,6 +24747,10 @@ Partial Class Ventas
|
|||||||
|
|
||||||
GvImpuestosLocales2.Enabled = True
|
GvImpuestosLocales2.Enabled = True
|
||||||
|
|
||||||
|
If DdlTipoComprobante.SelectedValue = "Cot" Then
|
||||||
|
DdlIVA.Visible = True
|
||||||
|
End If
|
||||||
|
|
||||||
BloqueaCondiconesPago()
|
BloqueaCondiconesPago()
|
||||||
|
|
||||||
UpPS.Update()
|
UpPS.Update()
|
||||||
@@ -26539,6 +26543,11 @@ Partial Class Ventas
|
|||||||
#Region "PORCENTAJE IVA"
|
#Region "PORCENTAJE IVA"
|
||||||
Protected Sub DdlIVA_SelectedIndexChanged(sender As Object, e As EventArgs)
|
Protected Sub DdlIVA_SelectedIndexChanged(sender As Object, e As EventArgs)
|
||||||
If Not CveVenta > 0 Or EsCreaApartirDe Or CveDevolucion > 0 Then RecalculaIVA()
|
If Not CveVenta > 0 Or EsCreaApartirDe Or CveDevolucion > 0 Then RecalculaIVA()
|
||||||
|
|
||||||
|
If ModalidadEdicion AndAlso DdlTipoComprobante.SelectedValue = "Cot" Then
|
||||||
|
RecalculaIVA()
|
||||||
|
End If
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub RecalculaIVA()
|
Private Sub RecalculaIVA()
|
||||||
|
|||||||
Reference in New Issue
Block a user