Eliminar variables desusadas en solucion para que compile en debug
Arreglar typo en RepComprasAFDetalle.aspx.vb
This commit is contained in:
@@ -142,8 +142,8 @@ Partial Class Bancos_DepositoTerminal
|
|||||||
IdCuentaBancaria = 0
|
IdCuentaBancaria = 0
|
||||||
IdCuentaBancariaComplementaria = 0
|
IdCuentaBancariaComplementaria = 0
|
||||||
|
|
||||||
CveCuentaBancaria = 0
|
'CveCuentaBancaria = 0
|
||||||
CveCuentaBancariaComplementaria = 0
|
'CveCuentaBancariaComplementaria = 0
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If UsuarioActual.Empresa.Funcionalidad(505) <> "1" Then
|
If UsuarioActual.Empresa.Funcionalidad(505) <> "1" Then
|
||||||
@@ -259,7 +259,7 @@ Partial Class Bancos_DepositoTerminal
|
|||||||
ViewState("IdCtaContRetISR") = ObjCliente.IdCtaContRetISR
|
ViewState("IdCtaContRetISR") = ObjCliente.IdCtaContRetISR
|
||||||
|
|
||||||
IdCuentaBancaria = 0
|
IdCuentaBancaria = 0
|
||||||
CveCuentaBancaria = 0
|
'CveCuentaBancaria = 0
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If gvr.DataKey("CveMoneda").ToEntero = 2 Then
|
If gvr.DataKey("CveMoneda").ToEntero = 2 Then
|
||||||
@@ -436,14 +436,14 @@ Partial Class Bancos_DepositoTerminal
|
|||||||
Next
|
Next
|
||||||
|
|
||||||
If IdCuentaBancariaComplementaria > 0 Then
|
If IdCuentaBancariaComplementaria > 0 Then
|
||||||
If Not ObjContabilidad.AddPrePolizasDetalle(NuevaCvePrePoliza, False, TxtImporte.Text.ToDecimal, "", 30, "", TxtFecha.Text.ToDate, IdCuentaBancaria, -1, CveIE, -1, -1, -1, -1, ImporteMX:=TxtImporte.Text.ToDecimal, CveCuenta:=CveCuentaBancaria) Then
|
If Not ObjContabilidad.AddPrePolizasDetalle(NuevaCvePrePoliza, False, TxtImporte.Text.ToDecimal, "", 30, "", TxtFecha.Text.ToDate, IdCuentaBancaria, -1, CveIE, -1, -1, -1, -1, ImporteMX:=TxtImporte.Text.ToDecimal) Then
|
||||||
MsgError = "No se pudo insertar la póliza"
|
MsgError = "No se pudo insertar la póliza"
|
||||||
End If
|
End If
|
||||||
If Not ObjContabilidad.AddPrePolizasDetalle(NuevaCvePrePoliza, False, TxtImporte.Text.ToDecimal, "", 30, "", TxtFecha.Text.ToDate, IdCuentaBancariaComplementaria, -1, CveIE, -1, -1, -1, -1, ImporteMX:=TxtImporte.Text.ToDecimal, CveCuenta:=CveCuentaBancariaComplementaria) Then
|
If Not ObjContabilidad.AddPrePolizasDetalle(NuevaCvePrePoliza, False, TxtImporte.Text.ToDecimal, "", 30, "", TxtFecha.Text.ToDate, IdCuentaBancariaComplementaria, -1, CveIE, -1, -1, -1, -1, ImporteMX:=TxtImporte.Text.ToDecimal) Then
|
||||||
MsgError = "No se pudo insertar la póliza"
|
MsgError = "No se pudo insertar la póliza"
|
||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
If Not ObjContabilidad.AddPrePolizasDetalle(NuevaCvePrePoliza, False, TxtImporte.Text.ToDecimal, "", 30, "", TxtFecha.Text.ToDate, IdCuentaBancaria, -1, CveIE, -1, -1, -1, -1, ImporteMX:=TxtImporte.Text.ToDecimal, CveCuenta:=CveCuentaBancaria) Then
|
If Not ObjContabilidad.AddPrePolizasDetalle(NuevaCvePrePoliza, False, TxtImporte.Text.ToDecimal, "", 30, "", TxtFecha.Text.ToDate, IdCuentaBancaria, -1, CveIE, -1, -1, -1, -1, ImporteMX:=TxtImporte.Text.ToDecimal) Then
|
||||||
MsgError = "No se pudo insertar la póliza"
|
MsgError = "No se pudo insertar la póliza"
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|||||||
@@ -392,7 +392,7 @@ Partial Class Compras_RepComprasAFDetalle
|
|||||||
params.Add(New ReportParameter("FechaImpresion", Now.ToDateTime.ToShortDateString))
|
params.Add(New ReportParameter("FechaImpresion", Now.ToDateTime.ToShortDateString))
|
||||||
|
|
||||||
If Imagen.Exists Then
|
If Imagen.Exists Then
|
||||||
pparams.Add(New ReportParameter("LogoPath", $"file://{Imagen.FullName}"))
|
params.Add(New ReportParameter("LogoPath", $"file://{Imagen.FullName}"))
|
||||||
Else
|
Else
|
||||||
params.Add(New ReportParameter("LogoPath", ""))
|
params.Add(New ReportParameter("LogoPath", ""))
|
||||||
End If
|
End If
|
||||||
|
|||||||
Reference in New Issue
Block a user