DO
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 5 KiB After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 8.3 KiB |
|
|
@ -61,11 +61,6 @@
|
|||
Var PointDiff = 0
|
||||
|
||||
|
||||
|
||||
|
||||
Var Discount15Timeout = 0
|
||||
|
||||
|
||||
Var TaobinExpireDay = ""
|
||||
Var TaobinExpireMonth = ""
|
||||
Var TaobinExpireMonthX = ""
|
||||
|
|
@ -675,16 +670,7 @@
|
|||
If CoffeePoint >= 28 Then
|
||||
Open "ROOT/taobin_project/xml/page_display_get_drink_5_baht.xml"
|
||||
Else
|
||||
If CoffeePoint >= 15 Then
|
||||
If Get15DiscountState = "Disable2" Then
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
Else
|
||||
Var Discount15Timeout = 1
|
||||
Open "ROOT/taobin_project/xml/page_display_get_15_discount.xml"
|
||||
EndIf
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
|
|||
|
|
@ -14,17 +14,10 @@
|
|||
Var DirImage = "ROOT/taobin_project/image/display_get_discount"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR Discount15Timeout
|
||||
|
||||
Var PopUpState1 = "Enable"
|
||||
Var PopUpState2 = "Invisible"
|
||||
Var PopUpState1 = "Invisible"
|
||||
Var PopUpState2 = "Enable"
|
||||
Var PopUpErrorState = "Invisible"
|
||||
|
||||
If Discount15Timeout = 1 Then
|
||||
Var PopUpState2 = "Enable"
|
||||
Var PopUpState1 = "Invisible"
|
||||
EndIf
|
||||
|
||||
If PayOfflineMode = 1 Then
|
||||
Var PopUpErrorState = "Enable"
|
||||
Var PopUpState1 = "Invisible"
|
||||
|
|
@ -119,8 +112,10 @@
|
|||
; goto lid straw
|
||||
Var Seeker.UseGet15Discount = 1
|
||||
Var PreviousSeeker.UseGet15Discount = 1
|
||||
Var Discount15Timeout = 0
|
||||
Open "ROOT/taobin_project/xml/page_display_get_15_discount.xml"
|
||||
Var PopUpState2 = "Invisible"
|
||||
Var PopUpState1 = "Enable"
|
||||
Var Timeout = 0
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -1634,7 +1634,15 @@ EndIf
|
|||
|
||||
<Button>
|
||||
<X> X_PS5 </X>
|
||||
<Y> BOT_ROW </Y>
|
||||
<Y>
|
||||
eval(
|
||||
If EnableCash = "true" Then
|
||||
Var return = BOT_ROW
|
||||
Else
|
||||
Var return = TOP_ROW
|
||||
EndIf
|
||||
)
|
||||
</Y>
|
||||
<State> PayState4</State>
|
||||
<Filename> Var( DirImage + "/bn_pay_with_credit.png") </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_pay_with_credit.png") </FilenamePress>
|
||||
|
|
|
|||
|
|
@ -348,6 +348,14 @@
|
|||
If ErrorCause = "failed_fromoper_0006" Then
|
||||
Var text_show_error = DirImage + "/text_show_error4.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0007" Then
|
||||
Var text_show_error = DirImage + "/text_show_error7.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0008" Then
|
||||
Var text_show_error = DirImage + "/text_show_error8.png"
|
||||
EndIf
|
||||
|
||||
Var GetPayInfoFlag = 0
|
||||
Var Seeker.CodeChannel = 0
|
||||
|
|
|
|||
|
|
@ -203,6 +203,14 @@
|
|||
Var text_show_error = DirImage + "/text_show_error4.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0007" Then
|
||||
Var text_show_error = DirImage + "/text_show_error7.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0008" Then
|
||||
Var text_show_error = DirImage + "/text_show_error8.png"
|
||||
EndIf
|
||||
|
||||
Var GetPayInfoFlag = 0
|
||||
Var Seeker.CodeChannel = 0
|
||||
Var Tel_Confirm_State = "Disable"
|
||||
|
|
|
|||
|
|
@ -206,6 +206,14 @@
|
|||
Var text_show_error = DirImage + "/text_show_error4.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0007" Then
|
||||
Var text_show_error = DirImage + "/text_show_error7.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0008" Then
|
||||
Var text_show_error = DirImage + "/text_show_error8.png"
|
||||
EndIf
|
||||
|
||||
Var GetPayInfoFlag = 0
|
||||
Var Seeker.CodeChannel = 0
|
||||
Var Tel_Confirm_State = "Disable"
|
||||
|
|
|
|||
|
|
@ -206,6 +206,14 @@
|
|||
Var text_show_error = DirImage + "/text_show_error4.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0007" Then
|
||||
Var text_show_error = DirImage + "/text_show_error7.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0008" Then
|
||||
Var text_show_error = DirImage + "/text_show_error8.png"
|
||||
EndIf
|
||||
|
||||
Var GetPayInfoFlag = 0
|
||||
Var Seeker.CodeChannel = 0
|
||||
Var Tel_Confirm_State = "Disable"
|
||||
|
|
|
|||
|
|
@ -206,6 +206,14 @@
|
|||
Var text_show_error = DirImage + "/text_show_error4.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0007" Then
|
||||
Var text_show_error = DirImage + "/text_show_error7.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0008" Then
|
||||
Var text_show_error = DirImage + "/text_show_error8.png"
|
||||
EndIf
|
||||
|
||||
Var GetPayInfoFlag = 0
|
||||
Var Seeker.CodeChannel = 0
|
||||
Var Tel_Confirm_State = "Disable"
|
||||
|
|
|
|||
|
|
@ -206,6 +206,14 @@
|
|||
Var text_show_error = DirImage + "/text_show_error4.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0007" Then
|
||||
Var text_show_error = DirImage + "/text_show_error7.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0008" Then
|
||||
Var text_show_error = DirImage + "/text_show_error8.png"
|
||||
EndIf
|
||||
|
||||
Var GetPayInfoFlag = 0
|
||||
Var Seeker.CodeChannel = 0
|
||||
Var Tel_Confirm_State = "Disable"
|
||||
|
|
|
|||
|
|
@ -203,6 +203,14 @@
|
|||
Var text_show_error = DirImage + "/text_show_error4.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0007" Then
|
||||
Var text_show_error = DirImage + "/text_show_error7.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0008" Then
|
||||
Var text_show_error = DirImage + "/text_show_error8.png"
|
||||
EndIf
|
||||
|
||||
Var GetPayInfoFlag = 0
|
||||
Var Seeker.CodeChannel = 0
|
||||
Var Tel_Confirm_State = "Disable"
|
||||
|
|
|
|||
|
|
@ -203,6 +203,14 @@
|
|||
Var text_show_error = DirImage + "/text_show_error4.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0007" Then
|
||||
Var text_show_error = DirImage + "/text_show_error7.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0008" Then
|
||||
Var text_show_error = DirImage + "/text_show_error8.png"
|
||||
EndIf
|
||||
|
||||
Var GetPayInfoFlag = 0
|
||||
Var Seeker.CodeChannel = 0
|
||||
Var Tel_Confirm_State = "Disable"
|
||||
|
|
|
|||
|
|
@ -206,6 +206,14 @@
|
|||
Var text_show_error = DirImage + "/text_show_error4.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0007" Then
|
||||
Var text_show_error = DirImage + "/text_show_error7.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0008" Then
|
||||
Var text_show_error = DirImage + "/text_show_error8.png"
|
||||
EndIf
|
||||
|
||||
Var GetPayInfoFlag = 0
|
||||
Var Seeker.CodeChannel = 0
|
||||
Var Tel_Confirm_State = "Disable"
|
||||
|
|
|
|||
|
|
@ -206,6 +206,14 @@
|
|||
Var text_show_error = DirImage + "/text_show_error4.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0007" Then
|
||||
Var text_show_error = DirImage + "/text_show_error7.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0008" Then
|
||||
Var text_show_error = DirImage + "/text_show_error8.png"
|
||||
EndIf
|
||||
|
||||
Var GetPayInfoFlag = 0
|
||||
Var Seeker.CodeChannel = 0
|
||||
Var Tel_Confirm_State = "Disable"
|
||||
|
|
|
|||
|
|
@ -206,6 +206,14 @@
|
|||
Var text_show_error = DirImage + "/text_show_error4.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0007" Then
|
||||
Var text_show_error = DirImage + "/text_show_error7.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0008" Then
|
||||
Var text_show_error = DirImage + "/text_show_error8.png"
|
||||
EndIf
|
||||
|
||||
Var GetPayInfoFlag = 0
|
||||
Var Seeker.CodeChannel = 0
|
||||
Var Tel_Confirm_State = "Disable"
|
||||
|
|
|
|||
|
|
@ -206,6 +206,14 @@
|
|||
Var text_show_error = DirImage + "/text_show_error4.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0007" Then
|
||||
Var text_show_error = DirImage + "/text_show_error7.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0008" Then
|
||||
Var text_show_error = DirImage + "/text_show_error8.png"
|
||||
EndIf
|
||||
|
||||
Var GetPayInfoFlag = 0
|
||||
Var Seeker.CodeChannel = 0
|
||||
Var Tel_Confirm_State = "Disable"
|
||||
|
|
|
|||
|
|
@ -206,6 +206,14 @@
|
|||
Var text_show_error = DirImage + "/text_show_error4.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0007" Then
|
||||
Var text_show_error = DirImage + "/text_show_error7.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0008" Then
|
||||
Var text_show_error = DirImage + "/text_show_error8.png"
|
||||
EndIf
|
||||
|
||||
Var GetPayInfoFlag = 0
|
||||
Var Seeker.CodeChannel = 0
|
||||
Var Tel_Confirm_State = "Disable"
|
||||
|
|
|
|||
|
|
@ -206,6 +206,14 @@
|
|||
Var text_show_error = DirImage + "/text_show_error4.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0007" Then
|
||||
Var text_show_error = DirImage + "/text_show_error7.png"
|
||||
EndIf
|
||||
|
||||
If ErrorCause = "failed_fromoper_0008" Then
|
||||
Var text_show_error = DirImage + "/text_show_error8.png"
|
||||
EndIf
|
||||
|
||||
Var GetPayInfoFlag = 0
|
||||
Var Seeker.CodeChannel = 0
|
||||
Var Tel_Confirm_State = "Disable"
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
;
|
||||
Var EnableCash = "true"
|
||||
;Var EnableCash = ""
|
||||
;Var EnableCash = "true"
|
||||
DEBUGVAR EnableCash
|
||||