THAI INTER: MultiProcess, Change langs, script_thank, Fix machine unknow stage, topping with new textSpan, Add Image

This commit is contained in:
Ittipat Lusuk 2024-12-25 10:03:06 +07:00
parent 3c994e2ed1
commit a92068fb72
9 changed files with 162 additions and 242 deletions

View file

@ -61,8 +61,6 @@
Var img_popup15 = "/img_popup15-AUS.png"
EndIf
If
Var CreditAmount = SumCreditAmount

View file

@ -210,12 +210,38 @@
<Function2>
DEBUGVAR MachineStage
DEBUGVAR stop_now
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
If InternationalEnable = 1 Then
Var DirImage = "ROOT/taobin_project/image/vending_error_en"
Else
Var DirImage = "ROOT/taobin_project/image/vending_error"
EndIf
If LanguageShow = "THAI" Then
Var DirImage = "ROOT/taobin_project/image/vending_error"
EndIf
If LanguageShow = "ENG" Then
Var DirImage = CountryRootPath + "image/vending_error_en"
EndIf
If LanguageShow = "JAPAN" Then
Var DirImage = CountryRootPath + "image/vending_error_en"
EndIf
If LanguageShow = "CHINA" Then
Var DirImage = CountryRootPath + "image/vending_error_en"
EndIf
If LanguageShow = "MALAY" Then
Var DirImage = CountryRootPath + "image/vending_error_en"
EndIf
If LanguageShow = "UAE_DUBAI" Then
Var DirImage = CountryRootPath + "image/vending_error_en"
EndIf
If LanguageShow = "MYANMAR" Then
Var DirImage = "ROOT/taobin_project/image/vending_error_mmr"
EndIf
If InternationalEnable = 1 Then
If CountryName = "Thailand" Then
If MachineStage = "show-menu" Then
If LanguageShow = "THAI" Then
If LanguageShow = "THAI" Then
Var DirImage = "ROOT/taobin_project/image/vending_error"
EndIf
If LanguageShow = "ENG" Then

View file

@ -171,8 +171,12 @@
If SaveTheWorldCount < 2 Then
If InternationalEnable = 1 Then
Var script_thankyou = CountryRootPath + "video/script_thank.ev"
TRY script_thankyou
If CountryName = "Thailand" Then
TRY "/mnt/sdcard/coffeevending/taobin_project/video/script2.ev"
Else
Var script_thankyou = CountryRootPath + "video/script_thank.ev"
TRY script_thankyou
EndIf
Else
TRY "/mnt/sdcard/coffeevending/taobin_project/video/script2.ev"
EndIf

View file

@ -1,3 +1,10 @@
If LanguageShow = "ENG" Then
Var show_eng = "true"
EndIf
If LanguageShow = "THAI" Then
Var show_eng = "false"
EndIf
If show_eng = "true" Then
Var FilenameShowbuttonCashBN = "ROOT/taobin_project/image/page_payment_en/page_payment/bn_cash.png"
Var FilenameShowbuttonCashBP = "ROOT/taobin_project/image/page_payment_en/page_payment/bp_cash.png"

View file

@ -102,6 +102,10 @@ EndIf
If InternationalEnable = 1 Then
Var discount_promo_file = CountryRootPath + "/xml/process/discount_from_promotion.ev"
TRY discount_promo_file
If CountryName = "Thailand" Then
;do not thing
Else
Var discount_promo_file = CountryRootPath + "/xml/process/discount_from_promotion.ev"
TRY discount_promo_file
EndIf
EndIf