mirror of
https://github.com/KeymonSoft/Lanterna.git
synced 2026-04-19 21:59:21 +00:00
-Se agregó código para que si se hace click en la categoria VARIOS, se vaya directamente a las productos, sin pasar por subcategorias.
This commit is contained in:
@@ -1409,6 +1409,7 @@ End Sub
|
||||
Sub traeSubCategorias(cat As String) As List
|
||||
Private c As Cursor = Starter.skmt.ExecQuery($"select distinct CAT_GP_CLASIF from CAT_GUNAPROD where CAT_GP_TIPO = '${cat}' order by CAT_GP_CLASIF"$)
|
||||
Private l As List
|
||||
Log(c.RowCount)
|
||||
If c.RowCount > 0 Then
|
||||
l.Initialize
|
||||
For i = 0 To c.RowCount - 1
|
||||
@@ -1498,6 +1499,7 @@ Sub revisaCierreAdmin As Boolean
|
||||
c.Position = 0
|
||||
If c.GetString("CAT_VA_VALOR") = 1 Then
|
||||
' B4XPages.MainPage.principal.p_transparenteCierreAdmin.BringToFront
|
||||
' Log(7)
|
||||
' B4XPages.MainPage.principal.p_transparenteCierreAdmin.Visible = True
|
||||
cierre = True
|
||||
Else
|
||||
|
||||
Reference in New Issue
Block a user