SGP & MYS: (drink fail) change tel num setting to read from file.

This commit is contained in:
Pakin 2024-05-13 11:16:45 +07:00
parent a822ae0291
commit c746c740f8
6 changed files with 28 additions and 22 deletions

View file

@ -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