Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -15154,11 +15154,6 @@ Partial Class Compras_Compras
|
||||
End If
|
||||
|
||||
|
||||
Dim DiasCreditoOCActual As Integer = DTOCTemp.FiltroPrimeroValor("DiasCreditoOC").ToEntero
|
||||
|
||||
If DiasCreditoOCActual > DiasCredito Then
|
||||
DiasCredito = DiasCreditoOCActual
|
||||
End If
|
||||
|
||||
|
||||
IvaAcumulado += ObjOC.DtResultados.Rows(0)("IVA").ToString.ToDouble
|
||||
@@ -15281,10 +15276,6 @@ Partial Class Compras_Compras
|
||||
DivOCPromocion.Visible = True
|
||||
End If
|
||||
|
||||
If DiasCredito > 0 Then
|
||||
TxtFechaPago.Text = Now.AddDays(DiasCredito).ToString("dd/MM/yyyy")
|
||||
UPCondicionesPago.Update()
|
||||
End If
|
||||
|
||||
'CARGA DATOS DE OC
|
||||
CargaVinculacionOC(True)
|
||||
@@ -21066,7 +21057,7 @@ Partial Class Compras_Compras
|
||||
Exit Sub
|
||||
End If
|
||||
|
||||
If ObjComp.UpdateFechaVencimientoCompra(CveCompra, TxtFechaPago.Text.ToDate, UsuarioActual.CveEmpresa) Then
|
||||
If ObjComp.UpdateFechaVencimientoCompra(CveCompra, TxtFechaPago.Text.ToDate, UsuarioActual.CveEmpresa, UsuarioActual.CveUsuario) Then
|
||||
Alert("Fecha de pago actualizada correctamente.")
|
||||
End If
|
||||
|
||||
|
||||
Reference in New Issue
Block a user