"Enable" 1080 1920 "0xeae6e1"
; "ROOT/taobin_project/sounds/chaching.mp3" SoundVolume
; On open
Var Timeout = 0
If show_eng = "true" Then
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
Var DirImage = "ROOT/taobin_project/image/page_thankyou_en"
Else
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
Var DirImage = "ROOT/taobin_project/image/page_thankyou"
EndIf
If show_eng = "true" Then
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Dont_forget_your_changes_below.mp3"
Else
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_thai/Dont_forget_your_changes_below.mp3"
EndIf
Var imgGetChange = "/imgGetChange.png"
;inter-image
If CountryName = "Malaysia" Then
Var imgGetChange = "/imgGetChange-MYR.png"
EndIf
;inter-image
If CountryName = "Indonesia" Then
Var imgGetChange = "/imgGetChange-IDR.png"
EndIf
;inter-image
If CountryName = "Singapore" Then
Var imgGetChange = "/imgGetChange-SGP.png"
EndIf
;INT StoreCreditAmount
Var StoreCreditAmountStr !assigned StringFmt( StoreCreditAmount, DisplayFormat, PreScaleConvertShow )
1000
Var Timeout = Timeout + 1
If Timeout >= 2 Then
If ChangeStatus = "payout-end" Then
Var Timeout = 30
EndIf
If Seeker = "curr" Then
Var Timeout = 30
EndIf
If Timeout >= 30 Then
If Seeker.PayWithQR = 0 Then
DEBUGVAR TxRef1
Var PayDetail2 = ToppingDetail
DEBUGVAR PayDetail
DEBUGVAR PayDetail2
UpdateTxRef2 TxRef1 ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate PayO2 PdpaAccept VendingDiscount VendingCampaign PayReference PayType CreditReference PayDetail, PayDetail2
EndIf
If Seeker = "next" Then
;CoinBack
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
Else
Open "ROOT/taobin_project/xml/page_brewing3.xml"
EndIf
EndIf
EndIf
Refresh
TimerReset
;include="ROOT/taobin_project/inc/video.inc"
70 932 Var( DirImage + imgGetChange ) 0 1123 144 Center 1080
KanitRegularTTF
0xDE794E StoreCreditAmountStr