THAI: fix bug powerpro, next btn not update
This commit is contained in:
parent
a57ecc08db
commit
60e1cb9f9d
1 changed files with 31 additions and 18 deletions
|
|
@ -7434,17 +7434,30 @@
|
||||||
|
|
||||||
;Var Seeker = "curr"
|
;Var Seeker = "curr"
|
||||||
|
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
|
|
||||||
Var StatementCheckMenu = "ProductCodeCheck=" + UserSelectProductCode
|
Var StatementCheckMenu = "ProductCodeCheck=" + UserSelectProductCode
|
||||||
|
|
||||||
__CMD "statement" 0 StatementCheckMenu "-"
|
__CMD "statement" 0 StatementCheckMenu "-"
|
||||||
|
|
||||||
|
;If HalfPrice = "true" Then
|
||||||
|
; ; Discount 50
|
||||||
|
; DEBUGVAR HalfPrice
|
||||||
|
; __CMD "invoke-discount-50" UserSelectProductCode "-" "-"
|
||||||
|
;
|
||||||
|
;Else
|
||||||
|
; Var PriceDrink = PriceDrinkTmp
|
||||||
|
;EndIf
|
||||||
|
|
||||||
DEBUGVAR PriceDrinkTmp
|
DEBUGVAR PriceDrinkTmp
|
||||||
|
|
||||||
;Var Seeker.PriceDrink = PriceDrinkTmp
|
;Var Seeker.PriceDrink = PriceDrinkTmp
|
||||||
|
|
||||||
Var PriceDrink = PriceDrinkTmp
|
Var PriceDrink = PriceDrinkTmp
|
||||||
|
Var PromotionPriceDrink = PriceDrink
|
||||||
|
|
||||||
|
DEBUGVAR PriceDrink
|
||||||
|
|
||||||
SAVELOG "USER press next ( topping ) - new"
|
SAVELOG "USER press next ( topping ) - new"
|
||||||
|
|
||||||
|
|
@ -7617,6 +7630,7 @@
|
||||||
DEBUGVAR Seeker.topping8
|
DEBUGVAR Seeker.topping8
|
||||||
DEBUGVAR Seeker.topping9
|
DEBUGVAR Seeker.topping9
|
||||||
DEBUGVAR Seeker.topping10
|
DEBUGVAR Seeker.topping10
|
||||||
|
|
||||||
DEBUGVAR Seeker.get_a_straw
|
DEBUGVAR Seeker.get_a_straw
|
||||||
DEBUGVAR Seeker.get_a_lid
|
DEBUGVAR Seeker.get_a_lid
|
||||||
|
|
||||||
|
|
@ -7661,21 +7675,22 @@
|
||||||
|
|
||||||
; Set drink
|
; Set drink
|
||||||
|
|
||||||
|
; Post Topping
|
||||||
|
If SugarZeroCalEnable = "true" Then
|
||||||
|
Var sugarToppingID = 1000
|
||||||
|
If SugarZeroCalCheck = "PressForever" Then
|
||||||
|
Var sugarToppingID = 1001
|
||||||
|
Else
|
||||||
|
Var sugarToppingID = 1000
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Topping "PostTopping1-ID" sugarToppingID
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
If Seeker = "curr" Then
|
If Seeker = "curr" Then
|
||||||
Topping "Select" UserSelectProductCode
|
|
||||||
|
;include="ROOT/taobin_project/inc/select_drink_current.inc"
|
||||||
; Set option toppinng and pack
|
|
||||||
Topping "Select1-ID" topping1
|
|
||||||
Topping "Select2-ID" topping2
|
|
||||||
Topping "Select3-ID" topping3
|
|
||||||
Topping "Select6-ID" topping6
|
|
||||||
Topping "Select7-ID" topping7
|
|
||||||
Topping "Select8-ID" topping8
|
|
||||||
Topping "Select9-ID" topping9
|
|
||||||
Topping "Select10-ID" topping10
|
|
||||||
|
|
||||||
; Pack
|
|
||||||
Topping "Pack" ExtendDataCurr
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -7709,6 +7724,7 @@
|
||||||
|
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
DEBUGVAR Seeker
|
DEBUGVAR Seeker
|
||||||
DEBUGVAR Seeker.ExtendData
|
DEBUGVAR Seeker.ExtendData
|
||||||
|
|
||||||
|
|
@ -7729,9 +7745,6 @@
|
||||||
|
|
||||||
|
|
||||||
If SelectDrinkType = 1 Then
|
If SelectDrinkType = 1 Then
|
||||||
; Move to MenuReady
|
|
||||||
;OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
|
|
||||||
;Open "ROOT/taobin_project/xml/page_payment.xml"
|
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue