From 60e1cb9f9dd96bdfdd9fbb937e9729b1602e02e7 Mon Sep 17 00:00:00 2001 From: Pakin Date: Mon, 22 Apr 2024 13:53:09 +0700 Subject: [PATCH] THAI: fix bug powerpro, next btn not update --- xml/page_topping_select7.xml | 49 +++++++++++++++++++++++------------- 1 file changed, 31 insertions(+), 18 deletions(-) diff --git a/xml/page_topping_select7.xml b/xml/page_topping_select7.xml index e3123658..bc2e5297 100644 --- a/xml/page_topping_select7.xml +++ b/xml/page_topping_select7.xml @@ -7434,17 +7434,30 @@ ;Var Seeker = "curr" + Var Timeout = 0 + Var StatementCheckMenu = "ProductCodeCheck=" + UserSelectProductCode __CMD "statement" 0 StatementCheckMenu "-" - + ;If HalfPrice = "true" Then + ; ; Discount 50 + ; DEBUGVAR HalfPrice + ; __CMD "invoke-discount-50" UserSelectProductCode "-" "-" + ; + ;Else + ; Var PriceDrink = PriceDrinkTmp + ;EndIf + DEBUGVAR PriceDrinkTmp ;Var Seeker.PriceDrink = PriceDrinkTmp Var PriceDrink = PriceDrinkTmp + Var PromotionPriceDrink = PriceDrink + + DEBUGVAR PriceDrink SAVELOG "USER press next ( topping ) - new" @@ -7617,6 +7630,7 @@ DEBUGVAR Seeker.topping8 DEBUGVAR Seeker.topping9 DEBUGVAR Seeker.topping10 + DEBUGVAR Seeker.get_a_straw DEBUGVAR Seeker.get_a_lid @@ -7661,21 +7675,22 @@ ; 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 - Topping "Select" UserSelectProductCode - - ; 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 + + ;include="ROOT/taobin_project/inc/select_drink_current.inc" @@ -7709,6 +7724,7 @@ EndIf + DEBUGVAR Seeker DEBUGVAR Seeker.ExtendData @@ -7729,9 +7745,6 @@ 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