THAI: Support load topping default from google sheet

This commit is contained in:
Kenta420 2025-03-27 12:14:49 +07:00
parent 6fea007f57
commit b7f183e942
55 changed files with 2984 additions and 8506 deletions

View file

@ -76,7 +76,7 @@
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-02-02-0099.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,Disable=Invisible,$Sum1202020099) </State>
<State> Flag( 12-02-02-0099.Button,DateTimeStart="2025/04/01T00:00:00",Disable=Invisible,$Sum1202020099) </State>
<Button>
<State> $Sum1202020099 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_matcha_tea_pure_x3.png" </Filename>
@ -2837,7 +2837,7 @@ Caramel Oreo" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 20
; ==================> Len = 21
; - - 12-03-03-0009
<Block>
<MarginLeft> 33 </MarginLeft>
@ -3090,7 +3090,7 @@ Volcano" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 20
; ==================> Len = 21
; 12-02-01-0026 12-02-02-0026 12-02-03-0026
<Block>
<MarginLeft> 33 </MarginLeft>
@ -3138,15 +3138,7 @@ Volcano" </Value>
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-02-02-0026"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0026"
Else
Topping "Load" "12-02-03-0026"
EndIf
EndIf
Topping "Load" "12-02-03-0026"
Var menu_name_eng_hot = $12-02-01-0026.NameE
Var menu_desc_eng_hot = $12-02-01-0026.descriptionE
Var menu_name_thai_hot = $12-02-01-0026.Name
@ -3345,7 +3337,7 @@ Volcano" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 20
; ==================> Len = 21
; 12-02-01-0039 12-02-02-0039 12-02-03-0039
<Block>
<MarginLeft> 33 </MarginLeft>
@ -3393,15 +3385,7 @@ Volcano" </Value>
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-02-02-0039"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0039"
Else
Topping "Load" "12-02-03-0039"
EndIf
EndIf
Topping "Load" "12-02-03-0039"
Var menu_name_eng_hot = $12-02-01-0039.NameE
Var menu_desc_eng_hot = $12-02-01-0039.descriptionE
Var menu_name_thai_hot = $12-02-01-0039.Name
@ -4358,7 +4342,7 @@ Volcano" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 20
; ==================> Len = 21
; 12-01-01-0003 12-01-02-0001 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -6122,7 +6106,7 @@ Water" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 19
; ==================> Len = 20
; - - 12-03-03-0029
<Block>
<MarginLeft> 33 </MarginLeft>
@ -6376,7 +6360,7 @@ Sugar, Oreo" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 15
; ==================> Len = 16
; 12-03-01-0024 12-03-02-0024 12-03-03-0024
<Block>
<MarginLeft> 33 </MarginLeft>
@ -6424,15 +6408,7 @@ Sugar, Oreo" </Value>
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-03-02-0024"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-03-01-0024"
Else
Topping "Load" "12-03-03-0024"
EndIf
EndIf
Topping "Load" "12-03-03-0024"
Var menu_name_eng_hot = $12-03-01-0024.NameE
Var menu_desc_eng_hot = $12-03-01-0024.descriptionE
Var menu_name_thai_hot = $12-03-01-0024.Name
@ -9911,7 +9887,7 @@ Sugar, Biscoff" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 20
; ==================> Len = 21
; 12-02-01-0037 12-02-02-0037 12-02-03-0037
<Block>
<MarginLeft> 33 </MarginLeft>
@ -9959,15 +9935,7 @@ Sugar, Biscoff" </Value>
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-02-02-0037"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0037"
Else
Topping "Load" "12-02-03-0037"
EndIf
EndIf
Topping "Load" "12-02-03-0037"
Var menu_name_eng_hot = $12-02-01-0037.NameE
Var menu_desc_eng_hot = $12-02-01-0037.descriptionE
Var menu_name_thai_hot = $12-02-01-0037.Name
@ -10166,7 +10134,7 @@ Sugar, Biscoff" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 20
; ==================> Len = 21
; 12-03-01-0022 12-03-02-0022 12-03-03-0022
<Block>
<MarginLeft> 33 </MarginLeft>
@ -10214,15 +10182,7 @@ Sugar, Biscoff" </Value>
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-03-02-0022"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-03-01-0022"
Else
Topping "Load" "12-03-03-0022"
EndIf
EndIf
Topping "Load" "12-03-03-0022"
Var menu_name_eng_hot = $12-03-01-0022.NameE
Var menu_desc_eng_hot = $12-03-01-0022.descriptionE
Var menu_name_thai_hot = $12-03-01-0022.Name
@ -10928,7 +10888,7 @@ Sugar, Biscoff" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 20
; ==================> Len = 21
; 12-01-01-0014 12-01-02-0011 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -11187,7 +11147,7 @@ Ethiopia Guji" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 20
; ==================> Len = 21
; 12-01-01-0019 12-01-02-0019 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -11446,7 +11406,7 @@ note: Blue Berry & Floral" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 20
; ==================> Len = 21
; 12-01-01-0021 12-01-02-0021 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -11705,7 +11665,7 @@ note: Strawberry & Floral" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 20
; ==================> Len = 21
; 12-01-01-0025 12-01-02-0025 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -11964,7 +11924,7 @@ note: Whisky & Vanilla" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 20
; ==================> Len = 21
; 12-01-01-0023 12-01-02-0023 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -12223,7 +12183,7 @@ note: Jasmine & Honey" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 20
; ==================> Len = 21
; 12-01-01-0027 12-01-02-0027 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -12482,7 +12442,7 @@ note: Peach, Tea, Chocolate" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 20
; ==================> Len = 21
; 12-01-01-0032 12-01-02-0032 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -12740,7 +12700,7 @@ Americano" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 20
; ==================> Len = 21
; 12-01-01-0035 12-01-02-0035 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -12997,7 +12957,7 @@ Americano" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 20
; ==================> Len = 21
; 12-01-01-0038 12-01-02-0038 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -13256,7 +13216,7 @@ pink Rose & Berry" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 20
; ==================> Len = 21
; 12-01-01-0044 12-01-02-0044 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -13515,7 +13475,7 @@ note: Strawberry & Floral" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 20
; ==================> Len = 21
; 12-01-01-0047 12-01-02-0047 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -13772,7 +13732,7 @@ Americano" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 20
; ==================> Len = 21
; 12-01-01-0050 12-01-02-0050 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -14029,7 +13989,7 @@ Americano" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 15
; ==================> Len = 16
; 12-02-01-0045 12-02-02-0045 12-02-03-0046
<Block>
<MarginLeft> 33 </MarginLeft>
@ -14077,15 +14037,7 @@ Americano" </Value>
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-02-02-0045"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0045"
Else
Topping "Load" "12-02-03-0046"
EndIf
EndIf
Topping "Load" "12-02-03-0046"
Var menu_name_eng_hot = $12-02-01-0045.NameE
Var menu_desc_eng_hot = $12-02-01-0045.descriptionE
Var menu_name_thai_hot = $12-02-01-0045.Name
@ -14284,7 +14236,7 @@ Americano" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 15
; ==================> Len = 16
; 12-02-01-0046 12-02-02-0046 12-02-03-0047
<Block>
<MarginLeft> 33 </MarginLeft>
@ -14332,15 +14284,7 @@ Americano" </Value>
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-02-02-0046"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-02-01-0046"
Else
Topping "Load" "12-02-03-0047"
EndIf
EndIf
Topping "Load" "12-02-03-0047"
Var menu_name_eng_hot = $12-02-01-0046.NameE
Var menu_desc_eng_hot = $12-02-01-0046.descriptionE
Var menu_name_thai_hot = $12-02-01-0046.Name
@ -14539,7 +14483,7 @@ Americano" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 20
; ==================> Len = 21
; 12-03-01-0001 12-03-02-0001 12-03-03-0001
<Block>
<MarginLeft> 33 </MarginLeft>
@ -14587,15 +14531,7 @@ Americano" </Value>
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "12-03-02-0001"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-03-01-0001"
Else
Topping "Load" "12-03-03-0001"
EndIf
EndIf
Topping "Load" "12-03-03-0001"
Var menu_name_eng_hot = $12-03-01-0001.NameE
Var menu_desc_eng_hot = $12-03-01-0001.descriptionE
Var menu_name_thai_hot = $12-03-01-0001.Name
@ -14794,7 +14730,7 @@ Americano" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 20
; ==================> Len = 21
; - 12-03-02-0006 12-03-03-0006
<Block>
<MarginLeft> 33 </MarginLeft>
@ -15047,7 +14983,7 @@ Sugar" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 20
; ==================> Len = 21
; - - 12-03-03-0011
<Block>
<MarginLeft> 33 </MarginLeft>
@ -15300,7 +15236,7 @@ Smoothie" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 20
; ==================> Len = 21
; - 12-05-02-0007 12-05-03-0007
<Block>
<MarginLeft> 33 </MarginLeft>
@ -15551,7 +15487,7 @@ Smoothie" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 20
; ==================> Len = 21
; - 12-05-02-0046 12-05-03-0046
<Block>
<MarginLeft> 33 </MarginLeft>
@ -15802,7 +15738,7 @@ Smoothie" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 20
; ==================> Len = 21
; - 12-05-02-0025 12-05-03-0025
<Block>
<MarginLeft> 33 </MarginLeft>