Merge branch 'masterpiece' of ssh://forthrd.ddns.net:2222/1TBHDD/ikong/taobin_project into masterpiece

This commit is contained in:
wanlop run 2025-07-15 15:07:04 +07:00
commit c2543a36ff
36 changed files with 18379 additions and 6938 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 571 KiB

BIN
image/page2/bn_Dessert.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

BIN
image/page2/bp_Dessert.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View file

@ -15,7 +15,7 @@
000008 Protein\nShake โปรตีนเชค 蛋白奶昔 プロテインシェイク Protein\nShake ပရိုတင်း\nShake
000009 Soda & others โซดา และ อื่นๆ 汽水 ソーダ、その他 Soda & others ဆိုဒါနှင့် အခြားအရာများ
000010 Healthier\nChoice ทางเลือกสุขภาพ\n[\nคุมจำนวน ไขมัน น้ำตาล โซเดียม\nแคลอรี่ต่ำ###Font=KanitRegular,Size=12,Align=Center] 更健康的选择 - Healthier\nChoice ကျန်းမာရေး\nရွေးချယ်မှု
000011 Kid Menu เมนูเด็ก 儿童菜单 - Kid Menu ကလေးမီနူး
000011 Dessert ขนมหวาน 甜品 デザート Pencuci mulut အချိုပွဲ
000012 App Fast แอพ ฟาสท์ 应用快速 - App Fast အက်ပ် အမြန်
000025 Pepsi & 7up เป๊ปซี่ และ\nเซเว่นอัพ Pepsi & 7up - - Pepsi & 7up
000026 Tao Pun เต่าปั่น Tao Pun Tao Pun Tao Pun Tao Pun

Can't render this file because it has a wrong number of fields in line 22.

View file

@ -53,11 +53,11 @@ If WheyButtonState = "Enable" Then
Var InstanceTabOpenFile5 = "ROOT/taobin_project/inter/tha/xml/multi/" + layoutVersion
Var InstanceTabOpenFile5 = InstanceTabOpenFile5 + "/page_catalog_group_whey.lxml"
Else
OpenRedirect "/taobin_project/xml/page_catalog_group_forkid.xml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/kidandwhey.ev"
OpenRedirect "/taobin_project/inter/tha/xml/page_catalog_group_forkid.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/kidandwhey.ev"
OpenRedirect "/taobin_project/inter/tha/xml/multi/v3/page_catalog_group_forkid.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/kidandwhey.ev"
OpenRedirect "/taobin_project/xml/page_catalog_group_dessert.xml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/kidandwhey.ev"
OpenRedirect "/taobin_project/inter/tha/xml/page_catalog_group_dessert.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/kidandwhey.ev"
OpenRedirect "/taobin_project/inter/tha/xml/multi/v3/page_catalog_group_dessert.lxml" "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/kidandwhey.ev"
Var InstanceTabOpenFile5 = "ROOT/taobin_project/inter/tha/xml/multi/" + layoutVersion
Var InstanceTabOpenFile5 = InstanceTabOpenFile5 + "/page_catalog_group_forkid.lxml"
Var InstanceTabOpenFile5 = InstanceTabOpenFile5 + "/page_catalog_group_dessert.lxml"
EndIf
If MenuKidButtonState = "Enable" Then

View file

@ -283,7 +283,7 @@
Var PepsiCatalogStage = "Invisible"
Var Menu20BahtStage = "Enable"
Else
Var PepsiCatalogStage = "Enable"
Var PepsiCatalogStage = "Invisible"
Var Menu20BahtStage = "Invisible"
EndIf
@ -942,11 +942,12 @@
<Width> 296 </Width>
<Height> 344 </Height>
<MarginLeft> 42 </MarginLeft>
<MarginBottom> 50 </MarginBottom>
<State>MenuKidButtonState</State>
<Button>
<State>MenuKidButtonState</State>
<Filename> Var(DirImage + "/bn_kidmenu.png") </Filename>
<FilenamePress> Var(DirImage + "/bn_kidmenu.png") </FilenamePress>
<Filename> Var(DirImage + "/bn_dessert.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_dessert.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -965,7 +966,7 @@
<Language>
<ID> 000011 </ID>
<X> 28 </X>
<Y> 211 </Y>
<Y> 251 </Y>
<Width> 241 </Width>
<Height> 72 </Height>
</Language>

View file

@ -201,8 +201,8 @@
<Layout> "linear" </Layout>
<State> Menu21Selected </State>
<Mode> "No" </Mode>
<Filename> Var( DirImageAlter + "/bn_forkid2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_forkid2.png") </FilenamePress>
<Filename> Var( DirImageAlter + "/bn_dessert.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_dessert.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -244,20 +244,21 @@
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/page_instance2.xml"
</EventClick>
</Button>
<Button>
<Layout> "linear" </Layout>
<State> Menu61Selected </State>
<Mode> "No" </Mode>
<Filename> Var( DirImageAlter + "/bn_Pepsi_7up.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_Pepsi_7up.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
TabMenuVisibleInst 8
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/page_instance2.xml"
</EventClick>
</Button>
;<Button>
;<Layout> "linear" </Layout>
;<State> Menu61Selected </State>
;<Mode> "No" </Mode>
;<Filename> Var( DirImageAlter + "/bn_Pepsi_7up.png") </Filename>
;<FilenamePress> Var( DirImageAlter + "/bp_Pepsi_7up.png") </FilenamePress>
;<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
;<Volume> SoundVolume </Volume>
;<EventClick>
; Var NextPage = "-"
; TabMenuVisibleInst 8
; OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/page_instance2.xml"
;</EventClick>
;</Button>
<Button>
<Layout> "linear" </Layout>

File diff suppressed because it is too large Load diff

View file

@ -560,6 +560,17 @@
out_xml('\t<Menus>\n')
out_xml(';banners\n')
if current_file_name == "page_catalog_group_other_other.skt":
out_xml('\t<Banner>\n')
out_xml('\t\t<State> "Enable" </State>\n')
out_xml('\t\t<Type> IMAGE </Type>\n')
out_xml('\t\t<Media> "ROOT/taobin_project/image/event/pepsi_banner.png" </Media>\n')
out_xml('\t\t<EventOnClick>\n')
out_xml('\t\t\tTabMenuVisibleInst 8\n')
out_xml('\t\t\tOpenInst 2 "ROOT/taobin_project/inter/tha/xml/multi/v3/page_catalog_group_pepsi_7up.lxml"\n')
out_xml('\t\t</EventOnClick>\n')
out_xml('\t</Banner>\n')
count_test = 0
count = 0
pd_code_available = '##-##-##-####'

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,91 @@
<?hurr
#include=menu_head.py
touch_less_gen = False
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
SetInstanceIgnoreTouch
DEBUGVAR SlientRefreshIndex
If SlientRefreshIndex = 5 Then
Var SlientRefreshIndex = 6
EndIf
</EventOpen>
<EventOnShow>
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
; protein
If AppFastEnable = "true" Then
Var Menu11Selected = "PressForever"
Var Menu7Selected = "Invisible"
Var Menu21Selected = "Invisible"
Else
Var Menu11Selected = "Invisible"
Var Menu7Selected = "Invisible"
Var Menu21Selected = "PressForever"
EndIf
Var Timeout = 0
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_show_and_refresh.lxml"
SetInstanceIgnoreTouch
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_new_menu.lxml"
Var inst_show_for_kid_counter = 4
RefreshAll
DEBUGVAR SlientRefreshIndex
</EventOnShow>
<Timeout> 1000 </Timeout>
<EventTimeout>
;DEBUGVAR ICE_PROCESS_STATUS
;include="ROOT/taobin_project/inter/tha/xml/multi/InstanceGetSetString.inc"
GetVisible inst_show_for_kid
If inst_show_for_kid = 1 Then
If inst_show_for_kid_counter > 0 Then
Var inst_show_for_kid_counter = inst_show_for_kid_counter - 1
If inst_show_for_kid_counter = 0 Then
RefreshAll
Var inst_show_for_kid_counter = 15
EndIf
EndIf
;include="ROOT/taobin_project/inc/remove_cup_on_arm_step.inc"
EndIf
TimerReset
</EventTimeout>
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_new.lxml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -15,7 +15,7 @@
000008 Protein\nShake โปรตีนเชค 蛋白奶昔 プロテインシェイク Protein\nShake ပရိုတင်း\nShake
000009 Soda & others โซดา และ อื่นๆ 汽水 ソーダ、その他 Soda & others ဆိုဒါနှင့် အခြားအရာများ
000010 Healthier\nChoice ทางเลือกสุขภาพ\n[\nคุมจำนวน ไขมัน น้ำตาล โซเดียม\nแคลอรี่ต่ำ###Font=KanitRegular,Size=12,Align=Center] 更健康的选择 - Healthier\nChoice ကျန်းမာရေး\nရွေးချယ်မှု
000011 Kid Menu เมนูเด็ก 儿童菜单 - Kid Menu ကလေးမီနူး
000011 Dessert ขนมหวาน 甜品 デザート Pencuci mulut အချိုပွဲ
000012 App Fast แอพ ฟาสท์ 应用快速 - App Fast အက်ပ် အမြန်
000025 Pepsi & 7up เป๊ปซี่ และ\nเซเว่นอัพ Pepsi & 7up - - Pepsi & 7up
000026 Tao Pun เต่าปั่น Tao Pun Tao Pun Tao Pun Tao Pun

Can't render this file because it has a wrong number of fields in line 22.

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -141,20 +141,29 @@
Var popup_discount_hot_show = "Invisible"
EndIf
If PriceDiscount[1] > 0 Then
Var text_cold_color = "0xFF0000"
Var popup_discount_cold_show = "Enable"
If cold_button_state = "Enable" Then
Var text_cold_color = "0xFF0000"
Var popup_discount_cold_show = "Enable"
Else
Var popup_discount_cold_show = "Invisible"
EndIf
Else
Var text_cold_color = "0x84776F"
Var popup_discount_cold_show = "Invisible"
EndIf
If PriceDiscount[2] > 0 Then
Var text_blender_color = "0xFF0000"
If text_show_eng = "Enable" Then
Var popup_discount_blend_show_eng = "Enable"
Var popup_discount_blend_show_thai = "Invisible"
If blend_button_state = "Enable" Then
Var text_blender_color = "0xFF0000"
If text_show_eng = "Enable" Then
Var popup_discount_blend_show_eng = "Enable"
Var popup_discount_blend_show_thai = "Invisible"
Else
Var popup_discount_blend_show_eng = "Invisible"
Var popup_discount_blend_show_thai = "Enable"
EndIf
Else
Var popup_discount_blend_show_eng = "Invisible"
Var popup_discount_blend_show_thai = "Enable"
Var popup_discount_blend_show_thai = "Invisible"
EndIf
Else
Var text_blender_color = "0x84776F"
@ -203,8 +212,12 @@
Var Seeker.NameDrinkTH = menu_name_thai_cold
If PriceDiscount[0] > 0 Then
Var text_hot_color = "0xFF0000"
Var popup_discount_hot_show = "Enable"
If hot_button_state = "Enable" Then
Var text_hot_color = "0xFF0000"
Var popup_discount_hot_show = "Enable"
Else
Var popup_discount_hot_show = "Invisible"
EndIf
Else
Var text_hot_color = "0x84776F"
Var popup_discount_hot_show = "Invisible"
@ -214,13 +227,18 @@
Var popup_discount_cold_show = "Invisible"
EndIf
If PriceDiscount[2] > 0 Then
Var text_blender_color = "0xFF0000"
If text_show_eng = "Enable" Then
Var popup_discount_blend_show_eng = "Enable"
Var popup_discount_blend_show_thai = "Invisible"
If blend_button_state = "Enable" Then
Var text_blender_color = "0xFF0000"
If text_show_eng = "Enable" Then
Var popup_discount_blend_show_eng = "Enable"
Var popup_discount_blend_show_thai = "Invisible"
Else
Var popup_discount_blend_show_eng = "Invisible"
Var popup_discount_blend_show_thai = "Enable"
EndIf
Else
Var popup_discount_blend_show_eng = "Invisible"
Var popup_discount_blend_show_thai = "Enable"
Var popup_discount_blend_show_thai = "Invisible"
EndIf
Else
Var text_blender_color = "0x84776F"
@ -277,15 +295,23 @@
Var Seeker.NameDrinkTH = menu_name_thai_blender
If PriceDiscount[0] > 0 Then
Var text_hot_color = "0xFF0000"
Var popup_discount_hot_show = "Enable"
If hot_button_state = "Enable" Then
Var text_hot_color = "0xFF0000"
Var popup_discount_hot_show = "Enable"
Else
Var popup_discount_hot_show = "Invisible"
EndIf
Else
Var text_hot_color = "0x84776F"
Var popup_discount_hot_show = "Invisible"
EndIf
If PriceDiscount[1] > 0 Then
Var text_cold_color = "0xFF0000"
Var popup_discount_cold_show = "Enable"
If cold_button_state = "Enable" Then
Var text_cold_color = "0xFF0000"
Var popup_discount_cold_show = "Enable"
Else
Var popup_discount_cold_show = "Invisible"
EndIf
Else
Var text_cold_color = "0x84776F"
Var popup_discount_cold_show = "Invisible"

View file

@ -385,26 +385,26 @@
<X> 696 </X>
<Y> 395 </Y>
<State> Menu21Selected </State>
<Filename> Var( DirImage + "/bn_forkid.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_forkid.png") </FilenamePress>
<Filename> Var( DirImage + "/bn_dessert.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_dessert.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_catalog_group_forkid.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_dessert.xml"
</EventClick>
</Button>
<Button>
<X> 611 </X>
<Y> 395 </Y>
<State> Menu21Selected2 </State>
<Filename> Var( DirImage + "/bn_forkid2.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_forkid2.png") </FilenamePress>
<Filename> Var( DirImage + "/bn_dessert.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_dessert.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var NextPage = "-"
Open "ROOT/taobin_project/xml/page_catalog_group_forkid.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_dessert.xml"
</EventClick>
</Button>

View file

@ -281,8 +281,8 @@
<Button>
<Layout> "linear" </Layout>
<State> Menu21Selected </State>
<Filename> Var( DirImageAlter + "/bn_forkid2.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_forkid2.png") </FilenamePress>
<Filename> Var( DirImageAlter + "/bn_dessert.png") </Filename>
<FilenamePress> Var( DirImageAlter + "/bp_dessert.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -293,7 +293,7 @@
OpenInst 2 OpenFileXML
Else
Open "ROOT/taobin_project/xml/page_catalog_group_forkid.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_dessert.xml"
EndIf
</EventClick>
</Button>

View file

@ -512,15 +512,15 @@
<Button>
<X> 392 </X>
<Y> 1532 </Y>
<Y> 1478 </Y>
<State>MenuKidButtonState</State>
<Filename> Var(DirImage + "/bn_kidmenu.png") </Filename>
<FilenamePress> Var(DirImage + "/bn_kidmenu.png") </FilenamePress>
<Filename> Var(DirImage + "/bn_dessert.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_dessert.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_forkid.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_dessert.xml"
</EventClick>
</Button>

View file

@ -0,0 +1,51 @@
<?hurr
#include=menu_head.py
touch_less_gen = False
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
; protein
If AppFastEnable = "true" Then
Var Menu11Selected = "PressForever"
Var Menu7Selected = "Invisible"
Var Menu21Selected = "Invisible"
Else
Var Menu11Selected = "Invisible"
Var Menu7Selected = "Invisible"
Var Menu21Selected = "PressForever"
EndIf
SAVELOG PreviseXMLFileName2
Var Timeout = 0
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
</EventOpen>
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
<?hurr
#include=menu_new_layout_gen_v2.py
?>
<?hurr
#include=menu_new_layout_gen.py
?>
</Popup>

File diff suppressed because it is too large Load diff

View file

@ -422,15 +422,15 @@
<Button>
<X> 392 </X>
<Y> 1532 </Y>
<Y> 1478 </Y>
<State>MenuKidButtonState</State>
<Filename> Var(DirImage + "/bn_kidmenu.png") </Filename>
<FilenamePress> Var(DirImage + "/bn_kidmenu.png") </FilenamePress>
<Filename> Var(DirImage + "/bn_dessert.png") </Filename>
<FilenamePress> Var(DirImage + "/bp_dessert.png") </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_forkid.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_dessert.xml"
</EventClick>
</Button>

View file

@ -414,6 +414,7 @@
If hot_button_state = "Disable2" Then
Var text_price_d1 = ""
Var text_price_original_d1 = ""
Var popup_discount_hot_show = "Invisible"
Else
Var text_price_d1 !assigned StringFmt( PriceD1 , DisplayFormat, PreScaleConvertShow)
Var text_price_original_d1 !assigned StringFmt( PriceMain[0] , DisplayFormat, PreScaleConvertShow)
@ -428,6 +429,7 @@
If cold_button_state = "Disable2" Then
Var text_price_d2 = ""
Var text_price_original_d2 = ""
Var popup_discount_cold_show = "Invisible"
Else
Var text_price_d2 !assigned StringFmt( PriceD2 , DisplayFormat, PreScaleConvertShow)
Var text_price_original_d2 !assigned StringFmt( PriceMain[1] , DisplayFormat, PreScaleConvertShow)
@ -442,6 +444,8 @@
If blend_button_state = "Disable2" Then
Var text_price_d3 = ""
Var text_price_original_d3 = ""
Var popup_discount_blend_show_eng = "Invisible"
Var popup_discount_blend_show_thai = "Invisible"
Else
Var text_price_d3 !assigned StringFmt( PriceD3 , DisplayFormat, PreScaleConvertShow)
Var text_price_original_d3 !assigned StringFmt( PriceMain[2] , DisplayFormat, PreScaleConvertShow)
@ -7818,20 +7822,29 @@
Var popup_discount_hot_show = "Invisible"
EndIf
If PriceDiscount[1] > 0 Then
Var text_cold_color = "0xFF0000"
Var popup_discount_cold_show = "Enable"
If cold_button_state = "Enable" Then
Var text_cold_color = "0xFF0000"
Var popup_discount_cold_show = "Enable"
Else
Var popup_discount_cold_show = "Invisible"
EndIf
Else
Var text_cold_color = "0x84776F"
Var popup_discount_cold_show = "Invisible"
EndIf
If PriceDiscount[2] > 0 Then
Var text_blender_color = "0xFF0000"
If text_show_eng = "Enable" Then
Var popup_discount_blend_show_eng = "Enable"
Var popup_discount_blend_show_thai = "Invisible"
If blend_button_state = "Enable" Then
Var text_blender_color = "0xFF0000"
If text_show_eng = "Enable" Then
Var popup_discount_blend_show_eng = "Enable"
Var popup_discount_blend_show_thai = "Invisible"
Else
Var popup_discount_blend_show_eng = "Invisible"
Var popup_discount_blend_show_thai = "Enable"
EndIf
Else
Var popup_discount_blend_show_eng = "Invisible"
Var popup_discount_blend_show_thai = "Enable"
Var popup_discount_blend_show_thai = "Invisible"
EndIf
Else
Var text_blender_color = "0x84776F"
@ -7876,8 +7889,12 @@
Var Seeker.NameDrinkPOS = menu_name_for_aot_eng_cold
If PriceDiscount[0] > 0 Then
Var text_hot_color = "0xFF0000"
Var popup_discount_hot_show = "Enable"
If hot_button_state = "Enable" Then
Var text_hot_color = "0xFF0000"
Var popup_discount_hot_show = "Enable"
Else
Var popup_discount_hot_show = "Invisible"
EndIf
Else
Var text_hot_color = "0x84776F"
Var popup_discount_hot_show = "Invisible"
@ -7887,13 +7904,18 @@
Var popup_discount_cold_show = "Invisible"
EndIf
If PriceDiscount[2] > 0 Then
Var text_blender_color = "0xFF0000"
If text_show_eng = "Enable" Then
Var popup_discount_blend_show_eng = "Enable"
Var popup_discount_blend_show_thai = "Invisible"
If blend_button_state = "Enable" Then
Var text_blender_color = "0xFF0000"
If text_show_eng = "Enable" Then
Var popup_discount_blend_show_eng = "Enable"
Var popup_discount_blend_show_thai = "Invisible"
Else
Var popup_discount_blend_show_eng = "Invisible"
Var popup_discount_blend_show_thai = "Enable"
EndIf
Else
Var popup_discount_blend_show_eng = "Invisible"
Var popup_discount_blend_show_thai = "Enable"
Var popup_discount_blend_show_thai = "Invisible"
EndIf
Else
Var text_blender_color = "0x84776F"
@ -7946,15 +7968,23 @@
Var Seeker.NameDrinkPOS = menu_name_for_aot_eng_blender
If PriceDiscount[0] > 0 Then
Var text_hot_color = "0xFF0000"
Var popup_discount_hot_show = "Enable"
If hot_button_state = "Enable" Then
Var text_hot_color = "0xFF0000"
Var popup_discount_hot_show = "Enable"
Else
Var popup_discount_hot_show = "Invisible"
EndIf
Else
Var text_hot_color = "0x84776F"
Var popup_discount_hot_show = "Invisible"
EndIf
If PriceDiscount[1] > 0 Then
Var text_cold_color = "0xFF0000"
Var popup_discount_cold_show = "Enable"
If cold_button_state = "Enable" Then
Var text_cold_color = "0xFF0000"
Var popup_discount_cold_show = "Enable"
Else
Var popup_discount_cold_show = "Invisible"
EndIf
Else
Var text_cold_color = "0x84776F"
Var popup_discount_cold_show = "Invisible"

View file

@ -785,6 +785,7 @@
If hot_button_state = "Disable2" Then
Var text_price_d1 = ""
Var text_price_original_d1 = ""
Var popup_discount_hot_show = "Invisible"
Else
Var text_price_d1 !assigned StringFmt( PriceD1 , DisplayFormat, PreScaleConvertShow)
Var text_price_original_d1 !assigned StringFmt( PriceMain[0] , DisplayFormat, PreScaleConvertShow)
@ -799,6 +800,7 @@
If cold_button_state = "Disable2" Then
Var text_price_d2 = ""
Var text_price_original_d2 = ""
Var popup_discount_cold_show = "Invisible"
Else
Var text_price_d2 !assigned StringFmt( PriceD2 , DisplayFormat, PreScaleConvertShow)
Var text_price_original_d2 !assigned StringFmt( PriceMain[1] , DisplayFormat, PreScaleConvertShow)
@ -813,6 +815,8 @@
If blend_button_state = "Disable2" Then
Var text_price_d3 = ""
Var text_price_original_d3 = ""
Var popup_discount_blend_show_eng = "Invisible"
Var popup_discount_blend_show_thai = "Invisible"
Else
Var text_price_d3 !assigned StringFmt( PriceD3 , DisplayFormat, PreScaleConvertShow)
Var text_price_original_d3 !assigned StringFmt( PriceMain[2] , DisplayFormat, PreScaleConvertShow)