SGP & MYS: (drink fail) change tel num setting to read from file.
This commit is contained in:
parent
a822ae0291
commit
c746c740f8
6 changed files with 28 additions and 22 deletions
1
inter/mys/max_tel_num
Normal file
1
inter/mys/max_tel_num
Normal file
|
|
@ -0,0 +1 @@
|
|||
11
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
;inter-max-number
|
||||
If CountryName = "Malaysia" Then
|
||||
Var MaxNumber = 11
|
||||
Else
|
||||
Var MaxNumber = 10
|
||||
EndIf
|
||||
|
||||
DEBUGVAR CountryName
|
||||
DEBUGVAR MaxNumber
|
||||
1
inter/sgp/max_tel_num
Normal file
1
inter/sgp/max_tel_num
Normal file
|
|
@ -0,0 +1 @@
|
|||
8
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
;inter-max-number
|
||||
If CountryName = "Singapore" Then
|
||||
Var MaxNumber = 8
|
||||
Else
|
||||
Var MaxNumber = 10
|
||||
EndIf
|
||||
|
||||
DEBUGVAR CountryName
|
||||
DEBUGVAR MaxNumber
|
||||
|
|
@ -633,7 +633,8 @@
|
|||
|
||||
Var ShowNetworkProblemText = "Network error. Payment Cash only."
|
||||
|
||||
Var CountryRootPath = "ROOT/taobin_project/inter/mys/"
|
||||
Var CountryRootPath = "ROOT/taobin_project/inter/mys/"
|
||||
Var CountryShortName = "mys"
|
||||
|
||||
Var PriceUnitText = "Prices in MYR"
|
||||
|
||||
|
|
@ -680,6 +681,8 @@
|
|||
Var CountryRootPath = "ROOT/taobin_project/inter/ids/"
|
||||
Var CountDownShowButton = 35
|
||||
|
||||
Var CountryShortName = "ids"
|
||||
|
||||
If Not#LanguageLoaded = "" Then
|
||||
LoadLanguage "/mnt/sdcard/coffeevending/taobin_project/inter/ids/menu/lang.tsv"
|
||||
EndIf
|
||||
|
|
@ -710,6 +713,7 @@
|
|||
Var ShowNetworkProblemText = "Network error. Payment Cash only."
|
||||
|
||||
Var CountryRootPath = "ROOT/taobin_project/inter/aus/"
|
||||
Var CountryShortName = "aus"
|
||||
|
||||
ar TextPriceMenuSize = 12
|
||||
Var TextPriceMenuY = 264
|
||||
|
|
@ -756,6 +760,7 @@
|
|||
Var ShowNetworkProblemText = "Network error. Payment Cash only."
|
||||
|
||||
Var CountryRootPath = "ROOT/taobin_project/inter/usaNY/"
|
||||
Var CountryShortName = "usaNY"
|
||||
|
||||
ar TextPriceMenuSize = 12
|
||||
Var TextPriceMenuY = 264
|
||||
|
|
@ -799,6 +804,7 @@
|
|||
Var ShowNetworkProblemText = "Network error. Payment Cash only."
|
||||
|
||||
Var CountryRootPath = "ROOT/taobin_project/inter/sgp/"
|
||||
Var CountryShortName = "sgp"
|
||||
|
||||
ar TextPriceMenuSize = 12
|
||||
Var TextPriceMenuY = 264
|
||||
|
|
@ -852,6 +858,7 @@
|
|||
Var ShowNetworkProblemText = "Network error. Payment Cash only."
|
||||
|
||||
Var CountryRootPath = "ROOT/taobin_project/inter/uae_dubai/"
|
||||
Var CountryShortName = "uae_dubai"
|
||||
|
||||
Var TextPriceMenuSize = 12
|
||||
Var TextPriceMenuY = 264
|
||||
|
|
|
|||
|
|
@ -166,9 +166,24 @@
|
|||
|
||||
;inter-from-consent
|
||||
If InternationalEnable = 1 Then
|
||||
Var tel_setting = CountryRootPath + "xml/tel_num_script.ev"
|
||||
DEBUGVAR tel_setting
|
||||
TRY tel_setting
|
||||
;Var tel_setting = CountryRootPath + "xml/tel_num_script.ev"
|
||||
;DEBUGVAR tel_setting
|
||||
;TRY tel_setting
|
||||
|
||||
Var InterNumSetting = "/mnt/sdcard/coffeevending/taobin_project/inter/" + CountryShortName
|
||||
Var InterNumSetting = InterNumSetting + "/max_tel_num"
|
||||
|
||||
DEBUGVAR CountryShortName
|
||||
|
||||
READ_FILE InterNumSetting MaxNumber2
|
||||
DEBUGVAR MaxNumber2
|
||||
|
||||
If MaxNumber2 = "" Then
|
||||
|
||||
Else
|
||||
Var MaxNumber = MaxNumber2
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
;inter-from-consent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue