Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -339,9 +339,12 @@ Partial Class Ventas_PVCobranza
|
||||
|
||||
Private Sub MuestraNoTimbradasCentroCosto()
|
||||
Dim ObjSub As New ClsSubProyectos
|
||||
If ObjSub.GetNoTimbradasCentroCosto(UsuarioActual.CveEmpresa, UsuarioActual.CveUsuario) Then
|
||||
If ObjSub.GetNoTimbradasCentroCosto(UsuarioActual.CveEmpresa, UsuarioActual.CveUsuario, DdlSubProyecto.SelectedValue.ToEntero) Then
|
||||
If ObjSub.DtResultados.Rows.Count > 0 Then
|
||||
GvPendientesTimbrar.DataSource = ObjSub.DtResultados.FiltraParametros($"Fecha = '{Now.ToString("dd/MM/yyyy")}'")
|
||||
Dim miFecha As DateTime = Now
|
||||
Dim fechaSiguiente As DateTime = miFecha.AddDays(1)
|
||||
Dim filtro As String = String.Format("Fecha >= #{0}# AND Fecha < #{1}#", miFecha.ToString("MM/dd/yyyy"), fechaSiguiente.ToString("MM/dd/yyyy"))
|
||||
GvPendientesTimbrar.DataSource = ObjSub.DtResultados.FiltraParametros(filtro)
|
||||
End If
|
||||
End If
|
||||
ObjSub.Dispose()
|
||||
|
||||
Reference in New Issue
Block a user