Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -1307,16 +1307,25 @@ Partial Class Bancos_IE
|
||||
GvRH.DataBind()
|
||||
UpGvRH.Update()
|
||||
End Sub
|
||||
Private Sub CargaCorteCaja(CveCuenta As Integer)
|
||||
Private Sub CargaCorteCaja()
|
||||
'Checar si hay un Turno Abierto
|
||||
Dim ObjPVenta As New ClsPuntoVenta
|
||||
|
||||
If ObjPVenta.GetCortesPorCuenta(CveCuenta, UsuarioActual.CveEmpresa) Then
|
||||
|
||||
CveCorte = ObjPVenta.CveCorte
|
||||
|
||||
If ObjPVenta.GetVta_Cortes("-1", "-1", UsuarioActual.CveUsuario, -1, UsuarioActual.CveEmpresa, 0) Then
|
||||
If ObjPVenta.DtResultados.Rows.Count > 0 Then
|
||||
CveCorte = ObjPVenta.CveCorte
|
||||
End If
|
||||
End If
|
||||
ObjPVenta.Dispose()
|
||||
|
||||
'Dim ObjPVenta As New ClsPuntoVenta
|
||||
|
||||
'If ObjPVenta.GetCortesPorCuenta(CveCuenta, UsuarioActual.CveEmpresa) Then
|
||||
|
||||
' CveCorte = ObjPVenta.CveCorte
|
||||
|
||||
'End If
|
||||
'ObjPVenta.Dispose()
|
||||
End Sub
|
||||
|
||||
#Region " CARGA PROVEEDOR "
|
||||
@@ -1671,7 +1680,7 @@ Partial Class Bancos_IE
|
||||
|
||||
'PAGAR NC CON C.CH DEBE DESCONTAR EN EL CORTE
|
||||
If Opcion IsNot Nothing AndAlso Opcion = "DevDinV" AndAlso dr("CveTipoCuenta").ToString.ToEntero = 1 Then
|
||||
CargaCorteCaja(DdlCuenta.SelectedValue.ToEntero)
|
||||
CargaCorteCaja()
|
||||
End If
|
||||
|
||||
If dr("UsaTarjeta").ToString = "True" Then
|
||||
@@ -2613,7 +2622,7 @@ Partial Class Bancos_IE
|
||||
|
||||
If Request("Opcion") IsNot Nothing AndAlso Request("Opcion").ToString = "ANTC" Then
|
||||
If CveCliente > 0 Then
|
||||
CveConceptoCompra = 3 'Clientes
|
||||
CveConceptoCompra = 66 'Clientes
|
||||
CveConceptoContable = 30 'Bancos
|
||||
CvePlantillaPoliza = 12
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user