SGP: fix no credit, skip any credit keep prompt
This commit is contained in:
parent
f182ca01d7
commit
fa4cdc352c
3 changed files with 45 additions and 1 deletions
BIN
image/page_payment_cash_extend_en/img_popup12_NotEnoughCoin.png
Normal file
BIN
image/page_payment_cash_extend_en/img_popup12_NotEnoughCoin.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
|
|
@ -461,6 +461,9 @@
|
||||||
If SettingDisableTaobinCredit = "true" Then
|
If SettingDisableTaobinCredit = "true" Then
|
||||||
Var PayState4 = "Invisible"
|
Var PayState4 = "Invisible"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
DEBUGVAR SettingDisableTaobinCredit
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
||||||
<EventActionOk>
|
<EventActionOk>
|
||||||
|
|
@ -1200,6 +1203,8 @@
|
||||||
|
|
||||||
Var CoinInFlag = 1
|
Var CoinInFlag = 1
|
||||||
|
|
||||||
|
DEBUGVAR CoinInOK
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
If ViewBill > 0 Then
|
If ViewBill > 0 Then
|
||||||
|
|
@ -1894,18 +1899,26 @@ EndIf
|
||||||
<X> 182 </X>
|
<X> 182 </X>
|
||||||
<Y> 748 </Y>
|
<Y> 748 </Y>
|
||||||
<State> alphaState3 </State>
|
<State> alphaState3 </State>
|
||||||
<Filename> Var( DirImage2 + "/img_popup12.png" )</Filename>
|
<Filename> eval(
|
||||||
|
If EnoughChange = "yes" Then
|
||||||
|
Var return = DirImage2 + "/img_popup12.png"
|
||||||
|
Else
|
||||||
|
Var return = DirImage2 + "/img_popup12_NotEnoughCoin.png"
|
||||||
|
EndIf
|
||||||
|
) </Filename>
|
||||||
</Image>
|
</Image>
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
<X> 327 </X>
|
<X> 327 </X>
|
||||||
<Y> 1208 </Y>
|
<Y> 1208 </Y>
|
||||||
<State> eval(
|
<State> eval(
|
||||||
|
DEBUGVAR SettingDisableTaobinCredit
|
||||||
If SettingDisableTaobinCredit = "true" Then
|
If SettingDisableTaobinCredit = "true" Then
|
||||||
Var return = "Invisible"
|
Var return = "Invisible"
|
||||||
Else
|
Else
|
||||||
Var return = alphaState3
|
Var return = alphaState3
|
||||||
EndIf
|
EndIf
|
||||||
|
DEBUGVAR return
|
||||||
) </State>
|
) </State>
|
||||||
<Filename> Var( DirImage2 + "/bn_keep.png" )</Filename>
|
<Filename> Var( DirImage2 + "/bn_keep.png" )</Filename>
|
||||||
<FilenamePress> Var( DirImage2 + "/bp_keep.png" )</FilenamePress>
|
<FilenamePress> Var( DirImage2 + "/bp_keep.png" )</FilenamePress>
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,28 @@
|
||||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_thai/keep_your_change_credits_or_receive.mp3"
|
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_thai/keep_your_change_credits_or_receive.mp3"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
;SGP
|
||||||
|
If SettingDisableTaobinCredit = "true" Then
|
||||||
|
|
||||||
|
If clickedChangeFlag = 0 Then
|
||||||
|
|
||||||
|
Var clickedChangeFlag = 1
|
||||||
|
|
||||||
|
Change StoreCreditAmount
|
||||||
|
Var ChangeFlag2 = 1
|
||||||
|
|
||||||
|
If Seeker.FreeVendingCampaign = 1 Then
|
||||||
|
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||||
|
Else
|
||||||
|
Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
<Timeout> 1000 </Timeout>
|
<Timeout> 1000 </Timeout>
|
||||||
<EventTimeout>
|
<EventTimeout>
|
||||||
|
|
@ -100,6 +122,15 @@
|
||||||
<Button>
|
<Button>
|
||||||
<X> 327 </X>
|
<X> 327 </X>
|
||||||
<Y> 1208 </Y>
|
<Y> 1208 </Y>
|
||||||
|
<State> eval(
|
||||||
|
DEBUGVAR SettingDisableTaobinCredit
|
||||||
|
If SettingDisableTaobinCredit = "true" Then
|
||||||
|
Var return = "Invisible"
|
||||||
|
Else
|
||||||
|
Var return = "Enable"
|
||||||
|
EndIf
|
||||||
|
DEBUGVAR return
|
||||||
|
) </State>
|
||||||
<Filename> Var( DirImage2 + "/bn_keep.png" )</Filename>
|
<Filename> Var( DirImage2 + "/bn_keep.png" )</Filename>
|
||||||
<FilenamePress> Var( DirImage2 + "/bp_keep.png" )</FilenamePress>
|
<FilenamePress> Var( DirImage2 + "/bp_keep.png" )</FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue