ALL: Update popup out of change with offline state

This commit is contained in:
Kenta420 2024-02-29 15:35:24 +07:00
parent 7de0afaa84
commit 7b36883144
8 changed files with 217 additions and 20 deletions

View file

@ -90,6 +90,7 @@
Var alphaState = "Invisible"
Var alphaState2 = "Invisible"
Var alphaState3 = "Invisible"
Var alphaState3_offline = "Invisible"
Var CoinInFlag = 0
@ -1195,7 +1196,8 @@
If ViewBill > 0 Then
If PayOfflineMode = 1 Then
CoinVending BILLREJECT
;CoinVending BILLREJECT
Var alphaState3_offline = "Enable"
Else
If Seeker.StoreCreditFlag = 1 Then
@ -1225,8 +1227,11 @@
Var alphaState3 = "Enable"
If SELLONLINE = 1 Then
Var alphaState3 = "Enable"
Else
Var alphaState3_offline = "Enable"
EndIf
If show_eng = "true" Then
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/The_change_has_run_out.mp3"
@ -1532,7 +1537,11 @@ EndIf
EndIf
Else
Var alphaState3 = "Enable"
If SELLONLINE = 1 Then
Var alphaState3 = "Enable"
Else
Var alphaState3_offline = "Enable"
EndIf
Refresh
EndIf
@ -1909,6 +1918,36 @@ EndIf
</EventClick>
</Button>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<State> alphaState3_offline </State>
<Filename> "ROOT/taobin_project/image/page_payment/alpha.png" </Filename>
</Image>
<Image>
<X> 182 </X>
<Y> 748 </Y>
<State> alphaState3_offline </State>
<Filename> Var( DirImage2 + "/img_popup12_offline.png" )</Filename>
</Image>
<Button>
<X> 327 </X>
<Y> 1335 </Y>
<State> alphaState3_offline </State>
<Filename> Var( DirImage2 + "/bn_cancel2.png" )</Filename>
<FilenamePress> Var( DirImage2 + "/bp_cancel2.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
CoinVending BILLREJECT
Var alphaState3_offline = "Invisible"
Refresh
</EventClick>
</Button>
;<Text>
;<X> 0 </X>
;<Y> 1041 </Y>