AUS: Update member Top-up and payment_cash
BIN
image/page_payment_en/page_payment/img_popup8-AUS.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
image/page_payment_en/page_payment/img_popup_ema.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
inter/aus/image/page_member_topup/bd_credit_card.png
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
inter/aus/image/page_member_topup/bd_fatzebra.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
inter/aus/image/page_member_topup/bd_topup_credit_option_29.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
inter/aus/image/page_member_topup/bd_topup_credit_option_39.png
Normal file
|
After Width: | Height: | Size: 7.5 KiB |
BIN
inter/aus/image/page_member_topup/bd_topup_credit_option_49.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
inter/aus/image/page_member_topup/bn_credit_card.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
inter/aus/image/page_member_topup/bn_fatzebra.png
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
|
Before Width: | Height: | Size: 7.2 KiB |
|
Before Width: | Height: | Size: 7.2 KiB |
|
Before Width: | Height: | Size: 7.7 KiB |
BIN
inter/aus/image/page_member_topup/bn_topup_credit_option_29.png
Normal file
|
After Width: | Height: | Size: 9.5 KiB |
BIN
inter/aus/image/page_member_topup/bn_topup_credit_option_39.png
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
inter/aus/image/page_member_topup/bn_topup_credit_option_49.png
Normal file
|
After Width: | Height: | Size: 9.7 KiB |
BIN
inter/aus/image/page_member_topup/bp_credit_card.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
BIN
inter/aus/image/page_member_topup/bp_fatzebra.png
Normal file
|
After Width: | Height: | Size: 7 KiB |
|
Before Width: | Height: | Size: 7.4 KiB |
|
Before Width: | Height: | Size: 7.4 KiB |
|
Before Width: | Height: | Size: 7.8 KiB |
BIN
inter/aus/image/page_member_topup/bp_topup_credit_option_29.png
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
BIN
inter/aus/image/page_member_topup/bp_topup_credit_option_39.png
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
BIN
inter/aus/image/page_member_topup/bp_topup_credit_option_49.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
inter/aus/image/page_member_topup/popup_option_bg.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
inter/aus/image/payment_cash/bd_eam_enter_code.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
inter/aus/image/payment_cash/bd_pay_with_ema.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
inter/aus/image/payment_cash/bn_ema_enter_code.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
inter/aus/image/payment_cash/bn_pay_with_ema.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
BIN
inter/aus/image/payment_cash/bp_ema_enter_code.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
inter/aus/image/payment_cash/bp_pay_with_ema.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
|
|
@ -597,11 +597,11 @@
|
||||||
;###############################################################
|
;###############################################################
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 225 </X>
|
<X> 600 </X>
|
||||||
<Y> 424 </Y>
|
<Y> 424 </Y>
|
||||||
<State> ShowButtonClick2 </State>
|
<State> ShowButtonClick2 </State>
|
||||||
<Filename> Var(DirImage + "/bn_main_page_member.png") </Filename>
|
<Filename> "ROOT/taobin_project/image/page2_en/page2/bn_main_page_member.png" </Filename>
|
||||||
<FilenamePress> Var(DirImage + "/bp_main_page_member.png") </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/page2_en/page2/bp_main_page_member.png" </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
@ -612,23 +612,6 @@
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button>
|
|
||||||
<X> 696 </X>
|
|
||||||
<Y> 424 </Y>
|
|
||||||
<State> ButtontoTopupMenu </State>
|
|
||||||
<Filename> Var(DirImage + "/bn_main_page_topup.png") </Filename>
|
|
||||||
<FilenamePress> Var(DirImage + "/bp_main_page_topup.png") </FilenamePress>
|
|
||||||
<FilenameDisable> Var(DirImage + "/bp_main_page_topup.png") </FilenameDisable>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
; eng
|
|
||||||
Var PayDetail=""
|
|
||||||
Open "ROOT/taobin_project/xml/page_back_to_topup.xml"
|
|
||||||
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
<Y> 1870 </Y>
|
<Y> 1870 </Y>
|
||||||
|
|
|
||||||
|
|
@ -598,8 +598,8 @@
|
||||||
<X> 225 </X>
|
<X> 225 </X>
|
||||||
<Y> 424 </Y>
|
<Y> 424 </Y>
|
||||||
<State> ShowButtonClick2 </State>
|
<State> ShowButtonClick2 </State>
|
||||||
<Filename> Var(DirImage + "/bn_main_page_member.png") </Filename>
|
<Filename> "ROOT/taobin_project/image/page2_en/page2/bn_main_page_member.png" </Filename>
|
||||||
<FilenamePress> Var(DirImage + "/bp_main_page_member.png") </FilenamePress>
|
<FilenamePress> "ROOT/taobin_project/image/page2_en/page2/bp_main_page_member.png" </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
@ -610,23 +610,6 @@
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button>
|
|
||||||
<X> 696 </X>
|
|
||||||
<Y> 424 </Y>
|
|
||||||
<State> ButtontoTopupMenu </State>
|
|
||||||
<Filename> Var(DirImage + "/bn_main_page_topup.png") </Filename>
|
|
||||||
<FilenamePress> Var(DirImage + "/bp_main_page_topup.png") </FilenamePress>
|
|
||||||
<FilenameDisable> Var(DirImage + "/bp_main_page_topup.png") </FilenameDisable>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
; eng
|
|
||||||
Var PayDetail=""
|
|
||||||
Open "ROOT/taobin_project/xml/page_back_to_topup.xml"
|
|
||||||
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
<Y> 1870 </Y>
|
<Y> 1870 </Y>
|
||||||
|
|
|
||||||
|
|
@ -8,10 +8,12 @@
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
; On open
|
; On open
|
||||||
|
|
||||||
|
Var TargetTimeout = 30
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
|
|
||||||
|
Var BlurBackgroundState = "Invisible"
|
||||||
|
Var SelectOptionPopupState = "Invisible"
|
||||||
|
Var SelectedPaymentMedthod = ""
|
||||||
|
|
||||||
Var SumCreditAmount = TaobinCredit
|
Var SumCreditAmount = TaobinCredit
|
||||||
Var CashlessPayFlag = 0
|
Var CashlessPayFlag = 0
|
||||||
|
|
@ -21,6 +23,17 @@
|
||||||
Var AdditionalAmount = 0
|
Var AdditionalAmount = 0
|
||||||
Var ChangeOK = 0
|
Var ChangeOK = 0
|
||||||
|
|
||||||
|
Var QRCODE99 = ""
|
||||||
|
Var QRCODEImageState = "Invisible"
|
||||||
|
|
||||||
|
Var CancelButtonPaymentPopupState = "Invisible"
|
||||||
|
|
||||||
|
Var CancelingState = 0
|
||||||
|
Var CancelingTime = 0
|
||||||
|
|
||||||
|
Var ReqPayInfoFlag = 0
|
||||||
|
Var WaitQRPay = 0
|
||||||
|
|
||||||
|
|
||||||
Var QRErrorState = "Invisible"
|
Var QRErrorState = "Invisible"
|
||||||
|
|
||||||
|
|
@ -34,8 +47,6 @@
|
||||||
|
|
||||||
Var text_4 = "/text_4-AUS.png"
|
Var text_4 = "/text_4-AUS.png"
|
||||||
|
|
||||||
Var PayCreditChannel = "credit-card"
|
|
||||||
|
|
||||||
Var OptionAmount1 = 2900
|
Var OptionAmount1 = 2900
|
||||||
Var OptionAmount2 = 3900
|
Var OptionAmount2 = 3900
|
||||||
Var OptionAmount3 = 4900
|
Var OptionAmount3 = 4900
|
||||||
|
|
@ -61,7 +72,7 @@
|
||||||
<EventTimeout>
|
<EventTimeout>
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
If Timeout > 30 Then
|
If Timeout > TargetTimeout Then
|
||||||
Var alphaState = "Invisible"
|
Var alphaState = "Invisible"
|
||||||
|
|
||||||
Var LOADING_STATE = "Invisible"
|
Var LOADING_STATE = "Invisible"
|
||||||
|
|
@ -74,10 +85,26 @@
|
||||||
CashlessReq OFF
|
CashlessReq OFF
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
VendingQR OFF
|
||||||
|
|
||||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||||
Open CheckMemberPage2
|
Open CheckMemberPage2
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If CancelingState = 1 Then
|
||||||
|
|
||||||
|
Var CancelingTime = CancelingTime + 1
|
||||||
|
|
||||||
|
If CancelingTime > 3 Then
|
||||||
|
Var Timeout = 0
|
||||||
|
Var TargetTimeout = 30
|
||||||
|
Var alphaState = "Invisible"
|
||||||
|
Var LOADING_STATE = "Invisible"
|
||||||
|
Var BlurBackgroundState = "Invisible"
|
||||||
|
Var CancelingState = 0
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
TimerReset
|
TimerReset
|
||||||
Refresh
|
Refresh
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
@ -89,9 +116,57 @@
|
||||||
</EventSecurity>
|
</EventSecurity>
|
||||||
|
|
||||||
<EventActionOk>
|
<EventActionOk>
|
||||||
|
|
||||||
|
If WaitQRPay = 1 Then
|
||||||
|
If VendingExtResult = "" Then
|
||||||
|
Else
|
||||||
|
Var PayCreditChannel = "fatzebra"
|
||||||
|
|
||||||
|
Var ToppupSuccessPage = CountryRootPath + "xml/page_member_topupSuccess.lxml"
|
||||||
|
Open ToppupSuccessPage
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var ReqPayInfoFlag = 0
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If ReqPayInfoFlag = 1 Then
|
||||||
|
Var VendingQRTypeResult = ""
|
||||||
|
DEBUGVAR ECommerceQR
|
||||||
|
SPLIT ECommerceQR "/" 5 VendingQRTypeResult
|
||||||
|
|
||||||
|
If VendingQRTypeResult = "FZB:2" Then
|
||||||
|
Var CashTextWarning = ""
|
||||||
|
Var QRErrorState = "Invisible"
|
||||||
|
Var QRCODE99FZB = SessionID
|
||||||
|
Var QRCODE99FZB = QRCODE99FZB + Ext1a
|
||||||
|
SAVELOG Ext1a
|
||||||
|
SAVELOG QRCODE99FZB
|
||||||
|
Var QRCODE99FZB = QRCODE99FZB + Ext21
|
||||||
|
Var QRCODETMP = QRCODE99FZB
|
||||||
|
Var ReqPayInfoFlag = 0
|
||||||
|
SAVELOG QRCODE99FZB
|
||||||
|
SAVELOG Ext21
|
||||||
|
|
||||||
|
Var QRCODE99 = QRCODE99FZB
|
||||||
|
Var LOADING_STATE = "Invisible"
|
||||||
|
|
||||||
|
Var WaitQRPay = 1
|
||||||
|
Var TargetTimeout = 120
|
||||||
|
Var Timeout = 0
|
||||||
|
Var VendingExtResult = ""
|
||||||
|
|
||||||
|
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Please_scan_to_pay_via_mobile.mp3"
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
If VendingCashless = "OK" Then
|
If VendingCashless = "OK" Then
|
||||||
CashlessReq SUCCESS
|
CashlessReq SUCCESS
|
||||||
|
|
||||||
|
Var PayCreditChannel = "credit-card"
|
||||||
|
|
||||||
Var ToppupSuccessPage = CountryRootPath + "xml/page_member_topupSuccess.lxml"
|
Var ToppupSuccessPage = CountryRootPath + "xml/page_member_topupSuccess.lxml"
|
||||||
Open ToppupSuccessPage
|
Open ToppupSuccessPage
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -100,7 +175,8 @@
|
||||||
<EventActionError>
|
<EventActionError>
|
||||||
|
|
||||||
If VendingCashless = "ERROR" Then
|
If VendingCashless = "ERROR" Then
|
||||||
Var Timeout = 0
|
Var TargetTimeout = 30
|
||||||
|
Var Timeout = 0
|
||||||
|
|
||||||
;Var QRErrorFlag = 1
|
;Var QRErrorFlag = 1
|
||||||
If alphaState = "Enable" Then
|
If alphaState = "Enable" Then
|
||||||
|
|
@ -112,6 +188,15 @@
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If ReqPayInfoFlag > 0 Then
|
||||||
|
Var TargetTimeout = 30
|
||||||
|
Var Timeout = 0
|
||||||
|
Var QRErrorFlag = 1
|
||||||
|
If alphaState = "Enable" Then
|
||||||
|
Var QRErrorState = "Enable"
|
||||||
|
Var QRCODE99 = ""
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Refresh
|
Refresh
|
||||||
|
|
@ -148,41 +233,123 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
|
||||||
|
|
||||||
<Image>
|
|
||||||
<X> 70 </X>
|
<X> 70 </X>
|
||||||
<Y> 499 </Y>
|
<Y> 499 </Y>
|
||||||
<Filename> Var( DirImage + "/text_3.png" )</Filename>
|
<Width> 940 </Width>
|
||||||
</Image>
|
<Font> MontserratBold </Font>
|
||||||
|
<Size> 50 </Size>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Value> "Choose a payment method" </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 287 </X>
|
||||||
|
<Y> 637 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "/bn_credit_card.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage2 + "/bp_credit_card.png" ) </FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "/bd_credit_card.png" ) </FilenameDisable>
|
||||||
|
<EventOnClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var SelectedPaymentMedthod = "credit_card"
|
||||||
|
Var SelectOptionPopupState = "Enable"
|
||||||
|
Var BlurBackgroundState = "Enable"
|
||||||
|
</EventOnClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 287 </X>
|
||||||
|
<Y> 778 </Y>
|
||||||
|
<Filename> Var( DirImage2 + "/bn_fatzebra.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage2 + "/bp_fatzebra.png" ) </FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "/bd_fatzebra.png" ) </FilenameDisable>
|
||||||
|
<EventOnClick>
|
||||||
|
Var Timeout = 0
|
||||||
|
Var SelectedPaymentMedthod = "fatzebra"
|
||||||
|
Var SelectOptionPopupState = "Enable"
|
||||||
|
Var BlurBackgroundState = "Enable"
|
||||||
|
</EventOnClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 70 </X>
|
||||||
|
<Y> 1134 </Y>
|
||||||
|
<Width> 940 </Width>
|
||||||
|
<Font> MontserratBold </Font>
|
||||||
|
<Size> 64 </Size>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Value> "Total balance" </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
<Image>
|
<Image>
|
||||||
<X> 252 </X>
|
<X> 252 </X>
|
||||||
<Y> 1223 </Y>
|
<Y> 1272 </Y>
|
||||||
<Filename> Var( DirImage + text_4 )</Filename>
|
<Filename> Var( DirImage + text_4 )</Filename>
|
||||||
</Image>
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
<Text>
|
<Text>
|
||||||
<X> 0 </X>
|
<X> 252 </X>
|
||||||
<Y> 1280 </Y>
|
<Y> 1300 </Y>
|
||||||
<Size> 120 </Size>
|
<Size> 144 </Size>
|
||||||
<Align> Center </Align>
|
<Align> Center </Align>
|
||||||
<Width> 1080 </Width>
|
<Width> 566 </Width>
|
||||||
<Font> KanitRegularTTF </Font>
|
<Font> KanitRegularTTF </Font>
|
||||||
|
|
||||||
<Color> 0xDE794E </Color>
|
<Color> 0xDE794E </Color>
|
||||||
<Value> TaobinCreditStr </Value>
|
<Value> TaobinCreditStr </Value>
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
|
<Button>
|
||||||
|
<X> 397 </X>
|
||||||
|
<Y> 1622 </Y>
|
||||||
|
<Filename> Var( DirImage + "/bn_cancel2.png" )</Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_cancel2.png" )</FilenamePress>
|
||||||
|
<EventClick>
|
||||||
|
|
||||||
|
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
||||||
|
Open CheckMemberPage2
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 380 </Y>
|
||||||
|
<State> BlurBackgroundState </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_payment/alpha.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
; ================= select option =================
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 213 </X>
|
||||||
|
<Y> 653 </Y>
|
||||||
|
<State> SelectOptionPopupState </State>
|
||||||
|
<Filename> Var( DirImage2 + "/popup_option_bg.png" ) </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 249 </X>
|
||||||
|
<Y> 710 </Y>
|
||||||
|
<State> SelectOptionPopupState </State>
|
||||||
|
<Width> 583 </Width>
|
||||||
|
<Font> KanitSemiBold </Font>
|
||||||
|
<Size> 41 </Size>
|
||||||
|
<Color> 0x513C2F </Color>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Value> "Please Select Option" </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 287 </X>
|
<X> 287 </X>
|
||||||
<Y> 670 </Y>
|
<Y> 836 </Y>
|
||||||
<Filename> Var( DirImage2 + "/bn_topup_29.png") </Filename>
|
<State> SelectOptionPopupState </State>
|
||||||
<FilenamePress> Var( DirImage2 + "/bp_topup_29.png") </FilenamePress>
|
<Filename> Var( DirImage2 + "/bn_topup_credit_option_29.png") </Filename>
|
||||||
<FilenameDisable> Var( DirImage2 + "/bp_topup_29.png") </FilenameDisable>
|
<FilenamePress> Var( DirImage2 + "/bp_topup_credit_option_29.png") </FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "/bd_topup_credit_option_29.png") </FilenameDisable>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
@ -191,26 +358,22 @@
|
||||||
|
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
|
|
||||||
If PromotionAdditionCredit = 1 Then
|
If PromotionAdditionCredit = 1 Then
|
||||||
Var AdditionalAmount = AmountAdditionCredit1
|
Var AdditionalAmount = AmountAdditionCredit1
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If alphaState = "Invisible" Then
|
|
||||||
Var QR_POPUP = "/img_popup8.png"
|
|
||||||
Var alphaState = "Enable"
|
|
||||||
Coin CARD
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
|
Function 2
|
||||||
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 287 </X>
|
<X> 287 </X>
|
||||||
<Y> 800 </Y>
|
<Y> 991 </Y>
|
||||||
<Filename> Var( DirImage2 + "/bn_topup_39.png") </Filename>
|
<State> SelectOptionPopupState </State>
|
||||||
<FilenamePress> Var( DirImage2 + "/bp_topup_39.png") </FilenamePress>
|
<Filename> Var( DirImage2 + "/bn_topup_credit_option_39.png") </Filename>
|
||||||
<FilenameDisable> Var( DirImage2 + "/bp_topup_39.png") </FilenameDisable>
|
<FilenamePress> Var( DirImage2 + "/bp_topup_credit_option_39.png") </FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "/bd_topup_credit_option_39.png") </FilenameDisable>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
@ -223,21 +386,18 @@
|
||||||
Var AdditionalAmount = AmountAdditionCredit2
|
Var AdditionalAmount = AmountAdditionCredit2
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If alphaState = "Invisible" Then
|
Function 2
|
||||||
Var QR_POPUP = "/img_popup8.png"
|
|
||||||
Var alphaState = "Enable"
|
|
||||||
Coin CARD
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 287 </X>
|
<X> 287 </X>
|
||||||
<Y> 930 </Y>
|
<Y> 1146 </Y>
|
||||||
<Filename> Var( DirImage2 + "/bn_topup_49.png") </Filename>
|
<State> SelectOptionPopupState </State>
|
||||||
<FilenamePress> Var( DirImage2 + "/bp_topup_49.png") </FilenamePress>
|
<Filename> Var( DirImage2 + "/bn_topup_credit_option_49.png") </Filename>
|
||||||
<FilenameDisable> Var( DirImage2 + "/bp_topup_49.png") </FilenameDisable>
|
<FilenamePress> Var( DirImage2 + "/bp_topup_credit_option_49.png") </FilenamePress>
|
||||||
|
<FilenameDisable> Var( DirImage2 + "/bd_topup_credit_option_49.png") </FilenameDisable>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
@ -250,43 +410,31 @@
|
||||||
Var AdditionalAmount = AmountAdditionCredit3
|
Var AdditionalAmount = AmountAdditionCredit3
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If alphaState = "Invisible" Then
|
Function 2
|
||||||
Var QR_POPUP = "/img_popup8.png"
|
|
||||||
Var alphaState = "Enable"
|
|
||||||
Coin CARD
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 397 </X>
|
<X> 438 </X>
|
||||||
<Y> 1622 </Y>
|
<Y> 1345 </Y>
|
||||||
<Filename> Var( DirImage + "/bn_cancel2.png" )</Filename>
|
<State> SelectOptionPopupState </State>
|
||||||
<FilenamePress> Var( DirImage + "/bp_cancel2.png" )</FilenamePress>
|
<Filename> Var( DirImage + "/bn_cancel.png" )</Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_cancel.png" )</FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
||||||
If CashlessPayFlag = 1 Then
|
Var SelectedPaymentMedthod = ""
|
||||||
Var CashlessPayFlag = 0
|
Var SelectOptionPopupState = "Invisible"
|
||||||
CashlessReq FAIL
|
Var BlurBackgroundState = "Invisible"
|
||||||
EndIf
|
|
||||||
|
|
||||||
Var CheckMemberPage2 = CountryRootPath + "xml/page_check_member2.lxml"
|
|
||||||
Open CheckMemberPage2
|
|
||||||
|
|
||||||
|
|
||||||
|
Refresh
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
; QR popup
|
|
||||||
<Image>
|
; ================ checkout ===========================
|
||||||
<X> 0 </X>
|
|
||||||
<Y> 380 </Y>
|
|
||||||
<State> alphaState </State>
|
|
||||||
<Filename> "ROOT/taobin_project/image/page_payment/alpha.png" </Filename>
|
|
||||||
</Image>
|
|
||||||
|
|
||||||
<Image>
|
<Image>
|
||||||
<X> 249 </X>
|
<X> 249 </X>
|
||||||
|
|
@ -295,13 +443,18 @@
|
||||||
<Filename> Var( DirImage + QR_POPUP )</Filename>
|
<Filename> Var( DirImage + QR_POPUP )</Filename>
|
||||||
</Image>
|
</Image>
|
||||||
|
|
||||||
|
<Text>
|
||||||
<Image>
|
|
||||||
<X> 267 </X>
|
<X> 267 </X>
|
||||||
<Y> 1065 </Y>
|
<Y> 1065 </Y>
|
||||||
<State> LOADING_STATE </State>
|
<State> LOADING_STATE </State>
|
||||||
<Filename> Var( DirImage + "/loadingText.png" )</Filename>
|
<Width> 546 </Width>
|
||||||
</Image>
|
<Height> 75 </Height>
|
||||||
|
<Font> NotoSansThaiBold </Font>
|
||||||
|
<Size> 58 </Size>
|
||||||
|
<Color> 0x5A5A5A </Color>
|
||||||
|
<Value> LOADING_TEXT </Value>
|
||||||
|
<Align> center-vertical-horizontal </Align>
|
||||||
|
</Text>
|
||||||
|
|
||||||
<GIF>
|
<GIF>
|
||||||
<X> 493 </X>
|
<X> 493 </X>
|
||||||
|
|
@ -314,32 +467,54 @@
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 438 </X>
|
<X> 438 </X>
|
||||||
<Y> 1345 </Y>
|
<Y> 1365 </Y>
|
||||||
<State> alphaState </State>
|
<State> CancelButtonPaymentPopupState </State>
|
||||||
<Filename> Var( DirImage + "/bn_cancel.png" )</Filename>
|
<Filename> Var( DirImage + "/bn_cancel.png" )</Filename>
|
||||||
<FilenamePress> Var( DirImage + "/bp_cancel.png" )</FilenamePress>
|
<FilenamePress> Var( DirImage + "/bp_cancel.png" )</FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Var LOADING_STATE = "Invisible"
|
|
||||||
Var QRErrorState = "Invisible"
|
|
||||||
Var alphaState = "Invisible"
|
|
||||||
|
|
||||||
CashlessReq OFF
|
|
||||||
|
|
||||||
If CashlessPayFlag = 1 Then
|
Var LOADING_STATE = "Enable"
|
||||||
Var CashlessPayFlag = 0
|
Var QRErrorState = "Invisible"
|
||||||
CashlessReq FAIL
|
Var CancelButtonPaymentPopupState = "Invisible"
|
||||||
|
Var QRCODEImageState = "Invisible"
|
||||||
|
Var QRCODE99 = ""
|
||||||
|
Var CancelingState = 1
|
||||||
|
|
||||||
|
Var CancelingTime = 0
|
||||||
|
|
||||||
|
Var LOADING_TEXT = "Canceling..."
|
||||||
|
|
||||||
|
If SelectedPaymentMedthod = "credit_card" Then
|
||||||
|
SAVELOG "Canceling credit card"
|
||||||
|
Var QR_POPUP = "/img_popup8-2.png"
|
||||||
|
|
||||||
|
CashlessReq OFF
|
||||||
|
If CashlessPayFlag = 1 Then
|
||||||
|
Var CashlessPayFlag = 0
|
||||||
|
CashlessReq FAIL
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
DEBUGVAR LOADING_STATE
|
If SelectedPaymentMedthod = "fatzebra" Then
|
||||||
DEBUGVAR QRErrorState
|
SAVELOG "Canceling fatzebra"
|
||||||
DEBUGVAR alphaState
|
VendingQR OFF
|
||||||
|
EndIf
|
||||||
|
|
||||||
Refresh
|
Refresh
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
<QRCode>
|
||||||
|
<X> 445 </X>
|
||||||
|
<Y> 958 </Y>
|
||||||
|
<Width> 200 </Width>
|
||||||
|
<Height> 200 </Height>
|
||||||
|
<State> QRCODEImageState </State>
|
||||||
|
<Service> testservice </Service>
|
||||||
|
</QRCode>
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 267 </X>
|
<X> 267 </X>
|
||||||
|
|
@ -354,10 +529,83 @@
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Function2>
|
||||||
|
|
||||||
|
Var SelectOptionPopupState = "Invisible"
|
||||||
|
Var alphaState = "Enable"
|
||||||
|
Var CancelButtonPaymentPopupState = "Enable"
|
||||||
|
|
||||||
|
if SelectedPaymentMedthod = "credit_card" Then
|
||||||
|
Var QR_POPUP = "/img_popup8-AUS.png"
|
||||||
|
Coin CARD
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
if SelectedPaymentMedthod = "fatzebra" Then
|
||||||
|
Var QR_POPUP = "/img_popup1-AUS.png"
|
||||||
|
Var LOADING_TEXT = "Just Moment Please"
|
||||||
|
Var LOADING_STATE = "Enable"
|
||||||
|
Var QRCODEImageState = "Enable"
|
||||||
|
VendingQR ON
|
||||||
|
Var QRCODE99 = ""
|
||||||
|
|
||||||
|
Var PriceDrink = PayAmount
|
||||||
|
Var DiscountDrink = 0
|
||||||
|
Var SelectDrink = "00-00-00-0000"
|
||||||
|
Var SelectSlot = "1"
|
||||||
|
|
||||||
|
Var QRCODE1 = "A000000677010112"
|
||||||
|
Var QRCODE2 = "010755600066301"
|
||||||
|
Var QRCODE3 = "VDGN"
|
||||||
|
Var QRCODE4 = BoxID
|
||||||
|
Var QRCODE5 = SelectSlot
|
||||||
|
Var QRCODE6 = SelectDrink
|
||||||
|
Var QRCODE7 = PriceDrink
|
||||||
|
Var QRCODE8 = ""
|
||||||
|
|
||||||
|
Var SessionID2 = "00" + ":"
|
||||||
|
Var SessionID2 = SessionID2 + ""
|
||||||
|
|
||||||
|
Var CreditAmount1 = ""
|
||||||
|
Var ServiceAmountFlow = ""
|
||||||
|
Var TelephoneNumberQR = "0899999999"
|
||||||
|
Var ServiceType = "coffee"
|
||||||
|
Var ECommerceQR = ""
|
||||||
|
Var ECommerceQR = ECommerceQR + PriceDrink
|
||||||
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
Var ECommerceQR = ECommerceQR + DiscountDrink
|
||||||
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
Var ECommerceQR = ECommerceQR + SessionID2
|
||||||
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
Var ECommerceQR = ECommerceQR + SelectDrink
|
||||||
|
Var ECommerceQR = ECommerceQR + "/"
|
||||||
|
Var ECommerceQR = ECommerceQR + "FZB:2/"
|
||||||
|
Var ECommerceQR = ECommerceQR + "CRX"
|
||||||
|
Var ECommerceQR = ECommerceQR + ":"
|
||||||
|
Var ECommerceQR = ECommerceQR + TelephoneNumber
|
||||||
|
Var ECommerceQR = ECommerceQR + ":0:"
|
||||||
|
Var ECommerceQR = ECommerceQR + AdditionalAmount
|
||||||
|
Var ServiceParameter = "max"
|
||||||
|
Var ServiceCharge = 0
|
||||||
|
Var AccountType = "new"
|
||||||
|
Var testservice = "kbank"
|
||||||
|
Var tc = ""
|
||||||
|
Var GetScore = ""
|
||||||
|
Var OperatorName = ""
|
||||||
|
Var SessionID = ""
|
||||||
|
|
||||||
|
|
||||||
|
GetPayInfo TelephoneNumberQR ECommerceQR ServiceType ServiceParameter SessionID OperatorName CreditAmount1 ServiceAmountFlow GetScore tc
|
||||||
|
|
||||||
|
Var ReqPayInfoFlag = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Refresh
|
||||||
|
</Function2>
|
||||||
|
|
||||||
|
|
||||||
<EventUnitTest4>
|
<EventUnitTest4>
|
||||||
Var MemberToppupSuccessPage = CountryRootPath + "xml/page_member_topupSuccess.lxml"
|
Var MemberToppupSuccessPage = CountryRootPath + "xml/page_member_topupSuccess.lxml"
|
||||||
Open MemberToppupSuccessPage
|
Open MemberToppupSuccessPage
|
||||||
</EventUnitTest4>
|
</EventUnitTest4>
|
||||||
|
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
||||||
|
|
@ -95,6 +95,7 @@
|
||||||
Var KanitRegularTTF = "ROOT/taobin_project/font/Kanit/Kanit-Regular.ttf"
|
Var KanitRegularTTF = "ROOT/taobin_project/font/Kanit/Kanit-Regular.ttf"
|
||||||
Var KanitThinTTF = "ROOT/taobin_project/font/Kanit/Kanit-Thin.ttf"
|
Var KanitThinTTF = "ROOT/taobin_project/font/Kanit/Kanit-Thin.ttf"
|
||||||
Var KanitLightTTF = "ROOT/taobin_project/font/Kanit/Kanit-Light.ttf"
|
Var KanitLightTTF = "ROOT/taobin_project/font/Kanit/Kanit-Light.ttf"
|
||||||
|
Var KanitSemiBold = "ROOT/taobin_project/font/Kanit/Kanit-SemiBold.ttf"
|
||||||
|
|
||||||
Var OpunMediumTTF = "ROOT/taobin_project/font/Opun/Opun-Medium.ttf"
|
Var OpunMediumTTF = "ROOT/taobin_project/font/Opun/Opun-Medium.ttf"
|
||||||
Var OpunThinTTF = "ROOT/taobin_project/font/Opun/Opun-Thin.ttf"
|
Var OpunThinTTF = "ROOT/taobin_project/font/Opun/Opun-Thin.ttf"
|
||||||
|
|
@ -114,6 +115,8 @@
|
||||||
Var ChivoMonoBold = "ROOT/taobin_project/font/ChivoMono/ChivoMono-Bold.ttf"
|
Var ChivoMonoBold = "ROOT/taobin_project/font/ChivoMono/ChivoMono-Bold.ttf"
|
||||||
Var ChivoMonoSemiBold = "ROOT/taobin_project/font/ChivoMono/ChivoMono-SemiBold.ttf"
|
Var ChivoMonoSemiBold = "ROOT/taobin_project/font/ChivoMono/ChivoMono-SemiBold.ttf"
|
||||||
|
|
||||||
|
Var MontserratBold = "ROOT/taobin_project/font/Montserrat/Montserrat-Bold.ttf"
|
||||||
|
|
||||||
Var InterRegular = "ROOT/taobin_project/font/Inter/Inter-Regular.ttf"
|
Var InterRegular = "ROOT/taobin_project/font/Inter/Inter-Regular.ttf"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||