From 52c9ceabb8f1fc8c93d460376837115892369c04 Mon Sep 17 00:00:00 2001 From: kong Date: Tue, 22 Feb 2022 13:14:25 +0700 Subject: [PATCH] Release 6.06 --- xml/page_catalog_choose_drink2.pml | 4 + xml/page_catalog_choose_drink2.xml | 512 ++++++++++++++++++++++++++--- xml/page_payment.xml | 2 +- xml/page_topping_select4.xml | 10 + 4 files changed, 483 insertions(+), 45 deletions(-) diff --git a/xml/page_catalog_choose_drink2.pml b/xml/page_catalog_choose_drink2.pml index e354c7e7..5a714ea0 100644 --- a/xml/page_catalog_choose_drink2.pml +++ b/xml/page_catalog_choose_drink2.pml @@ -15,6 +15,7 @@ product_code.append('12-01-01-0026') product_code.append('12-01-01-0024') product_code.append('12-01-01-0028') + product_code.append('12-01-01-0033') # Normal esp product_code.append('12-11-01-0001') @@ -27,6 +28,7 @@ product_code.append('12-01-01-0025') product_code.append('12-01-01-0023') product_code.append('12-01-01-0027') + product_code.append('12-01-01-0032') # End product_code.append('12-01-01-0004') @@ -49,6 +51,7 @@ product_code.append('12-01-02-0026') product_code.append('12-01-02-0024') product_code.append('12-01-02-0028') + product_code.append('12-01-02-0033') # End product_code.append('12-11-02-0001') @@ -61,6 +64,7 @@ product_code.append('12-01-02-0025') product_code.append('12-01-02-0023') product_code.append('12-01-02-0027') + product_code.append('12-01-02-0032') # End product_code.append('12-01-02-0002') diff --git a/xml/page_catalog_choose_drink2.xml b/xml/page_catalog_choose_drink2.xml index ae9f7c55..61ad6dbf 100644 --- a/xml/page_catalog_choose_drink2.xml +++ b/xml/page_catalog_choose_drink2.xml @@ -1233,7 +1233,113 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=8 12-11-01-0001 + ; button i=8 12-01-01-0033 + + 33 + 22 + 225 + 296 + $12-01-01-0033.Button + + + 182 + 12 + ShowPrice + "Hurr" + 150 + 27 + KanitTTF + 0xB78F24 + $12-01-01-0033.Price + + + 164 + 12 + ShowPrice + 20 + 27 + KanitTTF + 0xB78F24 + "฿"" + + + 16 + 190 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + $12-01-01-0033.Name + + + 16 + 246 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + $12-01-01-0033.description + + + 16 + 190 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + $12-01-01-0033.NameE + + + 16 + 246 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + $12-01-01-0033.descriptionE + + + 2 + 2 + eval( STRCONTAIN "Smoothie" $12-01-01-0033.Button SmoRet + If SmoRet = "true" Then + Var return = "Enable" + Else + Var return = "Invisible" + EndIf +) + "ROOT/taobin_project/image/topping2/blender_icon.png" + + + ; button i=9 12-11-01-0001 33 22 @@ -1339,7 +1445,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=9 12-01-01-0003 + ; button i=10 12-01-01-0003 33 22 @@ -1445,7 +1551,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=10 12-01-01-0014 + ; button i=11 12-01-01-0014 33 22 @@ -1551,7 +1657,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=11 12-01-01-0019 + ; button i=12 12-01-01-0019 33 22 @@ -1657,7 +1763,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=12 12-01-01-0021 + ; button i=13 12-01-01-0021 33 22 @@ -1763,7 +1869,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=13 12-01-01-0025 + ; button i=14 12-01-01-0025 33 22 @@ -1869,7 +1975,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=14 12-01-01-0023 + ; button i=15 12-01-01-0023 33 22 @@ -1975,7 +2081,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=15 12-01-01-0027 + ; button i=16 12-01-01-0027 33 22 @@ -2081,7 +2187,113 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=16 12-01-01-0004 + ; button i=17 12-01-01-0032 + + 33 + 22 + 225 + 296 + $12-01-01-0032.Button + + + 182 + 12 + ShowPrice + "Hurr" + 150 + 27 + KanitTTF + 0xB78F24 + $12-01-01-0032.Price + + + 164 + 12 + ShowPrice + 20 + 27 + KanitTTF + 0xB78F24 + "฿"" + + + 16 + 190 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + $12-01-01-0032.Name + + + 16 + 246 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + $12-01-01-0032.description + + + 16 + 190 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + $12-01-01-0032.NameE + + + 16 + 246 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + $12-01-01-0032.descriptionE + + + 2 + 2 + eval( STRCONTAIN "Smoothie" $12-01-01-0032.Button SmoRet + If SmoRet = "true" Then + Var return = "Enable" + Else + Var return = "Invisible" + EndIf +) + "ROOT/taobin_project/image/topping2/blender_icon.png" + + + ; button i=18 12-01-01-0004 33 22 @@ -2187,7 +2399,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=17 12-01-01-0005 + ; button i=19 12-01-01-0005 33 22 @@ -2293,7 +2505,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=18 12-01-01-0006 + ; button i=20 12-01-01-0006 33 22 @@ -2399,7 +2611,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=19 12-01-01-0007 + ; button i=21 12-01-01-0007 33 22 @@ -2505,7 +2717,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=20 12-01-01-0008 + ; button i=22 12-01-01-0008 33 22 @@ -2611,7 +2823,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=21 12-01-01-0031 + ; button i=23 12-01-01-0031 33 22 @@ -2717,7 +2929,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=22 12-01-01-0009 + ; button i=24 12-01-01-0009 33 22 @@ -2823,7 +3035,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=23 12-01-01-0010 + ; button i=25 12-01-01-0010 33 22 @@ -2929,7 +3141,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=24 12-01-01-0011 + ; button i=26 12-01-01-0011 33 22 @@ -3035,7 +3247,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=25 12-01-01-0012 + ; button i=27 12-01-01-0012 33 22 @@ -3141,7 +3353,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=26 12-01-01-0017 + ; button i=28 12-01-01-0017 33 22 @@ -3247,7 +3459,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=27 12-01-02-0018 + ; button i=29 12-01-02-0018 33 22 @@ -3353,7 +3565,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=28 12-01-02-0020 + ; button i=30 12-01-02-0020 33 22 @@ -3459,7 +3671,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=29 12-01-02-0022 + ; button i=31 12-01-02-0022 33 22 @@ -3565,7 +3777,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=30 12-01-02-0026 + ; button i=32 12-01-02-0026 33 22 @@ -3671,7 +3883,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=31 12-01-02-0024 + ; button i=33 12-01-02-0024 33 22 @@ -3777,7 +3989,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=32 12-01-02-0028 + ; button i=34 12-01-02-0028 33 22 @@ -3883,7 +4095,113 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=33 12-11-02-0001 + ; button i=35 12-01-02-0033 + + 33 + 22 + 225 + 296 + $12-01-02-0033.Button + + + 182 + 12 + ShowPrice + "Hurr" + 150 + 27 + KanitTTF + 0xB78F24 + $12-01-02-0033.Price + + + 164 + 12 + ShowPrice + 20 + 27 + KanitTTF + 0xB78F24 + "฿"" + + + 16 + 190 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + $12-01-02-0033.Name + + + 16 + 246 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + $12-01-02-0033.description + + + 16 + 190 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + $12-01-02-0033.NameE + + + 16 + 246 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + $12-01-02-0033.descriptionE + + + 2 + 2 + eval( STRCONTAIN "Smoothie" $12-01-02-0033.Button SmoRet + If SmoRet = "true" Then + Var return = "Enable" + Else + Var return = "Invisible" + EndIf +) + "ROOT/taobin_project/image/topping2/blender_icon.png" + + + ; button i=36 12-11-02-0001 33 22 @@ -3989,7 +4307,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=34 12-01-02-0001 + ; button i=37 12-01-02-0001 33 22 @@ -4095,7 +4413,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=35 12-01-02-0011 + ; button i=38 12-01-02-0011 33 22 @@ -4201,7 +4519,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=36 12-01-02-0019 + ; button i=39 12-01-02-0019 33 22 @@ -4307,7 +4625,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=37 12-01-02-0021 + ; button i=40 12-01-02-0021 33 22 @@ -4413,7 +4731,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=38 12-01-02-0025 + ; button i=41 12-01-02-0025 33 22 @@ -4519,7 +4837,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=39 12-01-02-0023 + ; button i=42 12-01-02-0023 33 22 @@ -4625,7 +4943,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=40 12-01-02-0027 + ; button i=43 12-01-02-0027 33 22 @@ -4731,7 +5049,113 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=41 12-01-02-0002 + ; button i=44 12-01-02-0032 + + 33 + 22 + 225 + 296 + $12-01-02-0032.Button + + + 182 + 12 + ShowPrice + "Hurr" + 150 + 27 + KanitTTF + 0xB78F24 + $12-01-02-0032.Price + + + 164 + 12 + ShowPrice + 20 + 27 + KanitTTF + 0xB78F24 + "฿"" + + + 16 + 190 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + $12-01-02-0032.Name + + + 16 + 246 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + $12-01-02-0032.description + + + 16 + 190 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + $12-01-02-0032.NameE + + + 16 + 246 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + $12-01-02-0032.descriptionE + + + 2 + 2 + eval( STRCONTAIN "Smoothie" $12-01-02-0032.Button SmoRet + If SmoRet = "true" Then + Var return = "Enable" + Else + Var return = "Invisible" + EndIf +) + "ROOT/taobin_project/image/topping2/blender_icon.png" + + + ; button i=45 12-01-02-0002 33 22 @@ -4837,7 +5261,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=42 12-11-02-0002 + ; button i=46 12-11-02-0002 33 22 @@ -4943,7 +5367,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=43 12-01-02-0003 + ; button i=47 12-01-02-0003 33 22 @@ -5049,7 +5473,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=44 12-01-02-0004 + ; button i=48 12-01-02-0004 33 22 @@ -5155,7 +5579,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=45 12-01-02-0005 + ; button i=49 12-01-02-0005 33 22 @@ -5261,7 +5685,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=46 12-01-02-0031 + ; button i=50 12-01-02-0031 33 22 @@ -5367,7 +5791,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=47 12-01-02-0007 + ; button i=51 12-01-02-0007 33 22 @@ -5473,7 +5897,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=48 12-01-02-0008 + ; button i=52 12-01-02-0008 33 22 @@ -5579,7 +6003,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=49 12-01-02-0009 + ; button i=53 12-01-02-0009 33 22 @@ -5685,7 +6109,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=50 12-01-02-0017 + ; button i=54 12-01-02-0017 33 22 @@ -5791,7 +6215,7 @@ "ROOT/taobin_project/image/topping2/blender_icon.png" - ; button i=51 12-01-02-0006 + ; button i=55 12-01-02-0006 33 22 diff --git a/xml/page_payment.xml b/xml/page_payment.xml index b330fab9..b80d3d1c 100644 --- a/xml/page_payment.xml +++ b/xml/page_payment.xml @@ -93,7 +93,7 @@ Open "ROOT/taobin_project/xml/page_back_to_remove_cup.xml" EndIf - End + EndIf Var MachineStage = "-" diff --git a/xml/page_topping_select4.xml b/xml/page_topping_select4.xml index 84bfefc1..995b5e9f 100644 --- a/xml/page_topping_select4.xml +++ b/xml/page_topping_select4.xml @@ -675,6 +675,16 @@ DEBUGVAR TOPPING2 Refresh EndIf + + If TOPPING2 = "add-show-1103" Then + + Var ShotCoffeePremium = "Enable" + Var showShotEnable = "Enable" + + DEBUGVAR TOPPING2 + Refresh + EndIf + ;-END If TOPPING3 = "Collagen" Then