- Se agregó la validacion para que se respete el limite de credito al hacer click en el boton de mas.

This commit is contained in:
Jose Alberto Guerra Ugalde
2024-06-03 16:42:51 -06:00
parent bd6d004575
commit 2739051f7e
9 changed files with 72 additions and 34 deletions

View File

@@ -536,8 +536,6 @@ Sub B4XPage_Appear
' Log($"TOTAL DE LA VENTA: ${kh.traeTotalCliente}"$)
End If
If kh.traeTotalCliente < 0.01 And kh.traeTotalClienteDOE < 0.01 Then
If Not(clienteId.StartsWith("N")) And la_cuenta.Text <> "0" Then b_noVenta.Visible = True 'Ni cliente nuevo, ni abordo.
Else
@@ -695,11 +693,11 @@ Sub B4XPage_Appear
l_exhibidor2.Text = exhibs
l_exhibidores3.Text = exhibs
End If
'PARA LA PROMO DOE
b_whats.Visible = False
gps_boton_doe = "0"
C1=Starter.skmt.ExecQuery("select IMPRESION FROM kmt_info where CAT_CL_CODIGO In (select cuenta from cuentaa)")
C1.Position = 0
If C1.GetString("IMPRESION") <> "1" Then