- Se agrega codigo para que si hay venta, el boton de "NO VENTA" se deshabilite.

- Se agrega codigo para que cuando se muestre la panatalla de login se atualice la fecha en CAT_VARIABLES, porque a veces se quedaba la fecha del dia anterior y no dejaba hacer FIN DIA, era necesario cargar día y luego ya dejaba hacer FIN DIA.
This commit is contained in:
2024-02-22 21:21:26 -06:00
parent 67dc8d90bb
commit de3828ea8f
7 changed files with 29 additions and 16 deletions

View File

@@ -329,7 +329,7 @@ Private Sub B4XPage_Created (Root1 As B4XView)
La_nombre.Text = c.GetString("CAT_CL_NOMBRE")
NOMBRE = c.GetString("CAT_CL_NOMBRE")
la_Calle.Text = "N/A"
Log("|"&c.GetString("CAT_CL_CALLE")&"|")
' Log("|"&c.GetString("CAT_CL_CALLE")&"|")
If c.GetString("CAT_CL_CALLE") <> Null Then la_Calle.Text = c.GetString("CAT_CL_CALLE") & c.GetString("CAT_CL_NOEXT")
la_col.Text = "N/A"
If c.GetString("CAT_CL_COLONIA") <> Null Then la_col.Text = c.GetString("CAT_CL_COLONIA")
@@ -398,6 +398,9 @@ End Sub
'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage.
Sub B4XPage_Appear
b_noVenta.Enabled = False
Log(kh.traeTotalCliente)
If kh.traeTotalCliente = 0 Then b_noVenta.Enabled = True
clienteId = kh.traeCliente
P_DOE.Visible = False
dentroDeGeocerca = False