14/9/23 - Promos - Precio de fijos en variables

Arregla el caso de que, si un producto esta en fijos y variables, el variable tomaba el precio del fijo.
This commit is contained in:
2023-09-14 02:08:47 -06:00
parent 044c60c876
commit 5bdf238f3f
7 changed files with 105 additions and 33 deletions

View File

@@ -349,6 +349,13 @@ Private Sub B4XPage_Created (Root1 As B4XView)
TOMAR_FOTO = 0
c.Close
If s.IsInitialized Then s.Close
Log("################# PERMISOS BT: " & Starter.rp.Check("android.permission.BLUETOOTH_CONNECT"))
Log("Permisos BT: " & Starter.rp.Check("android.permission.BLUETOOTH_CONNECT"))
Log("REVISAMOS PERMISOS DE BT")
Starter.rp.CheckAndRequest("android.permission.BLUETOOTH_CONNECT")
Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean)
If Result Then Log("Tenemos permisos de bluetooth.")
Log("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
End Sub
'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage.
@@ -611,6 +618,11 @@ Sub B4XPage_Appear
End If
muestraBoleta = False
' Log(Subs.revisaImpresa)
If l_total.text <> "null" And l_total.text <> "" And l_total.text <> Null Then
B_IMP2.Enabled = True
Else
B_IMP2.Enabled = False
End If
If Subs.revisaImpresa Then Guardar.Visible = True
End Sub
@@ -2101,6 +2113,7 @@ End Sub
Sub B_GUARDAR_Click
If logger Then Log("Guardar clic")
B_IMP2.Enabled = True
If CH_TA.Checked = True Then
TIPOEX = "TIPO A"
ELSE If CH_TB.Checked = True Then