add qr web in catalog
This commit is contained in:
parent
7f833e0842
commit
7399dfbf33
1 changed files with 26 additions and 1 deletions
|
|
@ -62,11 +62,18 @@
|
|||
If NetworkStatus = "ACTIVATE" Then
|
||||
Var ShowNetworkProblem = "Invisible"
|
||||
Var ShowNetworkProblemText = ""
|
||||
|
||||
GenHashWithTimeStamp QRCODE99
|
||||
WEB "ENABLE"
|
||||
|
||||
Else
|
||||
Var ShowNetworkProblem = "Enable"
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
Var ShowNetworkProblemText = "การสื่อสารขัดข้อง ชำระเงินได้เฉพาะเงินสด"
|
||||
|
||||
Var QRCODE99 = ""
|
||||
WEB "DISABLE"
|
||||
|
||||
EndIf
|
||||
|
||||
; 1035 is Coke.
|
||||
|
|
@ -81,6 +88,9 @@
|
|||
|
||||
DEBUGVAR CART_COUNT
|
||||
|
||||
|
||||
Var QRCODE99_Y = 1718
|
||||
|
||||
Var showCart = "Invisible"
|
||||
If MultiPayEnable = "true" Then
|
||||
|
||||
|
|
@ -88,12 +98,18 @@
|
|||
Var showCart = "Enable"
|
||||
Var cart_image_bn = DirImageCart + "/bn_cart1.png"
|
||||
Var cart_image_bp = DirImageCart + "/bp_cart1.png"
|
||||
|
||||
Var QRCODE99_Y = 1580
|
||||
|
||||
EndIf
|
||||
|
||||
If CART_COUNT = 2 Then
|
||||
Var showCart = "Enable"
|
||||
Var cart_image_bn = DirImageCart + "/bn_cart2.png"
|
||||
Var cart_image_bp = DirImageCart + "/bp_cart2.png"
|
||||
|
||||
Var QRCODE99_Y = 1580
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -135,7 +151,7 @@
|
|||
DEBUGVAR web_ready
|
||||
If web_ready = "true" Then
|
||||
If web_ref = QRCODE99 Then
|
||||
|
||||
Cart "DeleteMenuID" "ALL"
|
||||
Var web_telnumOK = web_telnum
|
||||
|
||||
|
||||
|
|
@ -374,6 +390,15 @@
|
|||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<QRCode>
|
||||
<X> 895 </X>
|
||||
<Y> QRCODE99_Y</Y>
|
||||
<Width> 178 </Width>
|
||||
<Height> 178 </Height>
|
||||
<State> "Enable" </State>
|
||||
<Service> testservice </Service>
|
||||
</QRCode>
|
||||
|
||||
|
||||
|
||||
; Cart
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue