Correccion en aplicacion de notas de credito
This commit is contained in:
@@ -7858,7 +7858,7 @@ Partial Class Ventas
|
|||||||
dr("SATClaveUM") = "ACT"
|
dr("SATClaveUM") = "ACT"
|
||||||
dr("Consec") = ii
|
dr("Consec") = ii
|
||||||
|
|
||||||
dr("PorcentajeIVA") = dr("PorcentajeIVA").ToString().ToDecimal
|
dr("PorcentajeIVA") = Drr("PorcentajeIVA").ToString().ToDecimal
|
||||||
|
|
||||||
dr("IVA") = Drr("PorcentajeIVA")
|
dr("IVA") = Drr("PorcentajeIVA")
|
||||||
dr("ImporteIVA") = Drr("ImporteIVA").ToString().ToDecimal
|
dr("ImporteIVA") = Drr("ImporteIVA").ToString().ToDecimal
|
||||||
@@ -12817,13 +12817,13 @@ Partial Class Ventas
|
|||||||
|
|
||||||
'cuando es amortización por NOTA DE CREDITO
|
'cuando es amortización por NOTA DE CREDITO
|
||||||
If DdlTipoAmortizacionAnticipo.SelectedValue = "2" Then
|
If DdlTipoAmortizacionAnticipo.SelectedValue = "2" Then
|
||||||
LblAntAplicados.Text = "Amortización por Nota de Crédito" : LblAntAplicados.Visible = True
|
LblAntAplicados.Text = String.Format("Amortización por Nota de Crédito: {0:C}", Amortizacion) : LblAntAplicados.Visible = True
|
||||||
Amortizacion = 0
|
Amortizacion = 0
|
||||||
HdnTipoDescuento.Value = "-1"
|
HdnTipoDescuento.Value = "-1"
|
||||||
HdnDescuento.Value = "0"
|
HdnDescuento.Value = "0"
|
||||||
RegistraScript("BorraDescuentos();")
|
RegistraScript("BorraDescuentos();")
|
||||||
HdnTieneAnticiposVinculados.Value = "1"
|
HdnTieneAnticiposVinculados.Value = "1"
|
||||||
|
AplicaNCMasiva = True
|
||||||
End If
|
End If
|
||||||
|
|
||||||
'cuando es AMORTIZACIÓN CON FACTURA EN CERO
|
'cuando es AMORTIZACIÓN CON FACTURA EN CERO
|
||||||
|
|||||||
Reference in New Issue
Block a user