THAI: make drink smoothie
This commit is contained in:
parent
86588e10c0
commit
e7a4678c82
5 changed files with 34 additions and 120 deletions
26
xml/sometime/make_drink.xml
Normal file
26
xml/sometime/make_drink.xml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
SAVELOG "[MAKE_DRINK]"
|
||||
DEBUGVAR Seeker
|
||||
DEBUGVAR SmoothieToPayment
|
||||
If Seeker = "curr" Then
|
||||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
If SmoothieToPayment = 1 Then
|
||||
; do nothing
|
||||
Else
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
EndIf
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
Else
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
|
||||
Var DrinkPaid = SelectDrink
|
||||
Var PaidPaymentFromNextStage = 1
|
||||
EndIf
|
||||
If SmoothieToPayment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
EndIf
|
||||
Loading…
Add table
Add a link
Reference in a new issue