--Reporte de anticipos aplicados
This commit is contained in:
@@ -200,32 +200,7 @@ Partial Class Bancos_RepCortes
|
||||
Fecha = gvr.DataKey("FechaInicial")
|
||||
Nombre = gvr.DataKey("Nombre")
|
||||
|
||||
'If ObjPuntoVenta.GetCortesDetalleVentas(CveCorte, DdlSubProyectos.SelectedValue.ToEntero, UsuarioActual.CveEmpresa, 2) Then
|
||||
' DtCortesVentas = ObjPuntoVenta.DtResultados.Copy()
|
||||
' GvD.DataSource = DtCortesVentas
|
||||
|
||||
' divDetalle.Visible = True
|
||||
'End If
|
||||
|
||||
'If ObjVentas.GetCortesDetalleVentasResumen(CveCorte, DdlSubProyectos.SelectedValue.ToEntero, UsuarioActual.CveEmpresa) Then
|
||||
' GvP.DataSource = ObjVentas.DtResultados
|
||||
' DtCortesVentasResumen = ObjVentas.DtResultados
|
||||
'End If
|
||||
|
||||
'If UsuarioActual.CveEmpresa.Contiene(190, 192) Then
|
||||
' DivIVA.Visible = True
|
||||
' If ObjVentas.GetCortesDetalleVentasResumenIVA(CveCorte, DdlSubProyectos.SelectedValue.ToEntero, UsuarioActual.CveEmpresa) Then
|
||||
' GvPorIVA.DataSource = ObjVentas.DtResultados
|
||||
' End If
|
||||
'End If
|
||||
Dim FechaConsulta = ModExtensiones.MaxFecha
|
||||
|
||||
Dim ConsultaPorSucursal As Boolean = UsuarioActual.Empresa.Funcionalidad(382) = "1"
|
||||
|
||||
If ConsultaPorSucursal Then
|
||||
'CveCorte = -1
|
||||
FechaConsulta = gvr.DataKey("FechaInicial").ToDate()
|
||||
End If
|
||||
Dim FechaConsulta = gvr.DataKey("FechaInicial").ToDate()
|
||||
|
||||
Dim ObjVentas As New ClsVentas
|
||||
If ObjVentas.GetVta_ReporteCortesDetalle(CveCorte, DdlSubProyectos.SelectedValue.ToEntero, UsuarioActual.CveEmpresa, Opcion:=2, ConsultaIVA:=UsuarioActual.CveEmpresa.Contiene(190, 192), FechaConsulta:=FechaConsulta) Then
|
||||
|
||||
Reference in New Issue
Block a user