Add support_langs for inter, MYS: change video & fix profile price auto change (still bug)

This commit is contained in:
Pakin 2024-11-05 10:47:41 +07:00
parent 6761957213
commit ed490b440f
8 changed files with 181 additions and 56 deletions

View file

@ -58,8 +58,25 @@ If SystemDateMonthInt = 9 Then
EndIf
EndIf
If SystemDateMonthInt = 10 Then
Var IgnoreProfileFromRunEV = 0
EndIf
If SystemDateMonthInt = 11 Then
Var IgnoreProfileFromRunEV = 0
EndIf
If SystemDateMonthInt = 12 Then
Var IgnoreProfileFromRunEV = 0
EndIf
If SystemDateMonthInt < 10 Then
Var ProReducedPriceEnable = 0
Var IgnoreProfileFromRunEV = 0
EndIf
If ProReducedPriceEnable = 0 Then
@ -69,6 +86,23 @@ If ProReducedPriceEnable = 0 Then
EndIf
EndIf
; zone-refresh-once
READ_FILE "/mnt/sdcard/coffeevending/need_refresh_file" NeedRefreshStr
STRCONTAIN "1" NeedRefreshStr need_refresh
If need_refresh = "true" Then
Var NeedRefreshProfile = 1
WRITE_FILE "/mnt/sdcard/coffeevending/need_refresh_file" "0"
Else
Var NeedRefreshProfile = 0
EndIf
If BoxID = 177746 Then
Var ProThaiTeaEnable = 1
Var ProYuzuEnable = 1