- mejora en pagoventa/compra otros gastos/ngresos usd

This commit is contained in:
2023-04-14 06:29:40 -07:00
parent 0aa9622e22
commit a70c3a7f96

View File

@@ -7775,7 +7775,7 @@ Public Class ClsPaginas
'si tiene otros gastos/ingresos
If Not ErrorMovtos AndAlso Pago.OtroGastoIngreso <> 0 Then
ImporteMovimiento = (Pago.OtroGastoIngreso * Pago.TCPago).RoundSQL
ImporteMovimiento = (Pago.OtroGastoIngreso * If(Pago.CveMonedaPago = 1, 1, Pago.TCPago)).RoundSQL ' cuando hay pagos en diferente moneda hay TC en ambos lados
Dim tOtCveCon As Integer = 211
Dim tOtTipoMovto As Boolean = False
Dim IdCta As Integer = If(UsuarioActual.Empresa.TipoContabilidad = 2, UsuarioActual.Empresa.Funcionalidad(266).ToEntero(), 0)
@@ -8286,7 +8286,7 @@ Public Class ClsPaginas
'si tiene otros gastos/ingresos
If Not ErrorMovtos AndAlso Pago.OtroGastoIngreso <> 0 Then
ImporteMovimiento = (Pago.OtroGastoIngreso * Pago.TCPago).RoundSQL
ImporteMovimiento = (Pago.OtroGastoIngreso * If(Pago.CveMonedaPago = 1, 1, Pago.TCPago)).RoundSQL ' cuando hay pagos en diferente moneda hay TC en ambos lados
Dim tOtCveCon As Integer = 78
Dim tOtTipoMovto As Boolean = True
If ImporteMovimiento < 0 Then