move smoothie next condition

This commit is contained in:
Ittipat Lusuk 2025-05-07 17:57:04 +07:00
parent fb9ded93c0
commit 0d10112831
2 changed files with 14 additions and 13 deletions

View file

@ -10,19 +10,6 @@
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/process/payext_setup.ev"
; smoothie next
If NextSmoothie = 1 Then
DEBUGVAR Seeker
DEBUGVAR Seeker.SmoothieToPayment
Var NextSmoothie = 0
If Seeker.SmoothieToPayment = 1 Then
Var TimeOutSmoothiesProcess = 120
Var Seeker.SmoothieToPayment = 0
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
EndIf
EndIf
Var SendNotiPaySuccess = 2
Var GetMoreStrawCount = 2

View file

@ -8,6 +8,20 @@
<EventOpen>
; This page Seeker must curr
; On open
; smoothie next
If NextSmoothie = 1 Then
DEBUGVAR Seeker
DEBUGVAR Seeker.SmoothieToPayment
Var NextSmoothie = 0
If Seeker.SmoothieToPayment = 1 Then
Var TimeOutSmoothiesProcess = 120
Var Seeker.SmoothieToPayment = 0
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
EndIf
EndIf
Var CountDownThankyou = 4
Var CountDownBrewing = BrewTime
Var CountUpBrewing = 0