From 4b27c15d3cd5ff948d2496a9f394980ac9ae7762 Mon Sep 17 00:00:00 2001 From: Ittipat Lusuk Date: Fri, 27 Jun 2025 11:11:29 +0700 Subject: [PATCH] Topping8: Fixed coffee shot not refresh when change drink type --- xml/page_topping_select8.xml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/xml/page_topping_select8.xml b/xml/page_topping_select8.xml index 87e6ccc7..71f1cc27 100644 --- a/xml/page_topping_select8.xml +++ b/xml/page_topping_select8.xml @@ -1696,7 +1696,7 @@ - + If BugFlag = 1 Then @@ -2207,6 +2207,24 @@ EndIf EndIf + If TOPPING2 = "shot coffee" Then + + Var ShotCoffeeBG = "Enable" + Var showShotEnable = "Enable" + Var ExtraTopping = "Enable" + + Var toppingID2price2Conv !assigned StringFmt( toppingID2price2 , DisplayFormat, PreScaleConvertShow) + + DEBUGVAR toppingID2price2Conv + Var text_shot_normal_add = toppingID2price2Conv + ")" + Var text_shot_normal_add = "(+" + text_shot_normal_add + + If showShotNormal = "Enable" Then + Var showShotNormal = "Press" + EndIf + + EndIf + If TOPPING13 = "shot coffee" Then Var showAdjust = "Enable" If toppingID13index2Status = "Enable" Then