31/10/23 - Cambios en Cliente, Productos y Nota

- Se amplió el campo de la cantidad cuando se agrega un producto.
- Se agregó que mande un Toast cuando se hace clic en Back en Cliente para que avise que hay que hacer clic en "Guardar"
- Se corrigieron las acciones cuando se hace Back en algunas pantallas.
- Se puso código para que en nota muestre de diferente color los productos de Venta y Preventa.
This commit is contained in:
2023-10-31 16:34:26 -06:00
parent 524e32ffae
commit d8c30055f4
14 changed files with 320 additions and 104 deletions

View File

@@ -1889,14 +1889,15 @@ Sub JobDone(Job As HttpJob)
End Sub
Sub Activity_KeyPress (key As Int) As Boolean
Private Sub B4XPage_CloseRequest As ResumableSub
' BACK key pressed
If key=KeyCodes.KEYCODE_BACK Then
' I want to capture the key here so I return True
StartActivity(Main)
'Return True
End If
' If key=KeyCodes.KEYCODE_BACK Then
' ' I want to capture the key here so I return True
' StartActivity(Main)
' 'Return True
' End If
' Returning False signals the system to handle the key
B4XPages.ShowPage("Login")
Return False
End Sub