...
This commit is contained in:
commit
86cc26c752
82 changed files with 19090 additions and 464 deletions
|
|
@ -12,6 +12,8 @@
|
|||
|
||||
Var IndoQR = 0
|
||||
|
||||
|
||||
|
||||
Var GetPayInfoFlag = 0
|
||||
Var SessionID2 = ""
|
||||
Var testservice = "kbank"
|
||||
|
|
@ -133,27 +135,24 @@
|
|||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/page_payment"
|
||||
Var PlaySoundLag = "ROOT/taobin_project/sound_thai/payment.mp3"
|
||||
If SoundThaiIndex = 1 Then
|
||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/sublang/north/payment.wav"
|
||||
EndIf
|
||||
If SoundThaiIndex = 2 Then
|
||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/sublang/northeast/payment.wav"
|
||||
EndIf
|
||||
If SoundThaiIndex = 3 Then
|
||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/sublang/south/payment.wav"
|
||||
|
||||
; Play Sound #zone
|
||||
If SoundBackToSchoolEnable = 1 Then
|
||||
|
||||
If SoundBackToSchoolType = 1 Then
|
||||
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/boy/"
|
||||
EndIf
|
||||
If SoundBackToSchoolType = 2 Then
|
||||
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/girl/"
|
||||
EndIf
|
||||
Var PlaySoundLag = RootPathSoundBackToSchool + "payment.wav"
|
||||
EndIf
|
||||
|
||||
|
||||
Var PlaySoundCodeLang = "ROOT/sounds/Code8digit.m4a"
|
||||
EndIf
|
||||
|
||||
Var PromotionIDCurrentOrder = 0
|
||||
|
||||
If PromotionOreoVolcanoEnable = 1 Then
|
||||
If PD_CODE3 = "12-03-03-0009" Then
|
||||
Var PromotionIDCurrentOrder = 2
|
||||
EndIf
|
||||
EndIf
|
||||
DEBUGVAR PromotionIDCurrentOrder
|
||||
|
||||
SAVELOG MachineStage
|
||||
|
||||
|
|
@ -250,9 +249,13 @@
|
|||
If UserSelectProductCode = "12-05-02-0056" Then
|
||||
Var PromotionIDCurrentOrder = 3
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 5 Then
|
||||
Var PromotionIDCurrentOrder = 0
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
DEBUGVAR PromotionIDCurrentOrder
|
||||
|
||||
|
||||
Var RemainAmountStr = ""
|
||||
|
||||
|
|
@ -292,9 +295,18 @@
|
|||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
; Oreo free
|
||||
If PromotionIDOreoBuyTwoSaveMore = 1 Then
|
||||
Var PromotionIDOreoBuyTwoSaveMore = 0
|
||||
Var PromotionIDCurrentOrder = 2
|
||||
EndIf
|
||||
|
||||
If PromotionIDCurrentOrder = 2 Then
|
||||
SAVELOG "Promotion: Oreo Get 1 Free 1"
|
||||
EndIf
|
||||
DEBUGVAR PromotionIDCurrentOrder
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 900 </Timeout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue