2024-06-07 14:12:25 +07:00
|
|
|
; malaysia
|
2023-08-18 22:06:29 +07:00
|
|
|
|
|
|
|
|
|
2025-06-13 10:47:30 +07:00
|
|
|
|
|
|
|
|
; e-receipt-flag
|
2025-06-17 08:51:42 +07:00
|
|
|
Var eReceiptFlag = 1
|
2025-06-13 10:47:30 +07:00
|
|
|
|
|
|
|
|
DEBUGVAR eReceiptFlag
|
|
|
|
|
|
2023-08-18 22:06:29 +07:00
|
|
|
;DEBUGVAR SystemDateMonthInt
|
|
|
|
|
;DEBUGVAR SystemDateDayInt
|
|
|
|
|
|
|
|
|
|
; Reset flag away.
|
|
|
|
|
|
2023-08-19 22:16:27 +07:00
|
|
|
Var Propepsi99Enable = 0
|
2023-08-18 22:06:29 +07:00
|
|
|
|
2025-05-26 14:32:46 +07:00
|
|
|
; Pro free oreo topping
|
|
|
|
|
Var PromotionOreoToppingFreeEnable = 0
|
2023-08-18 22:06:29 +07:00
|
|
|
|
2025-05-26 14:32:46 +07:00
|
|
|
; Pro reduce price
|
|
|
|
|
Var SetProReduceByBO = 0
|
|
|
|
|
Var ProReducedPriceEnable = 0
|
2024-03-21 09:40:19 +07:00
|
|
|
|
2025-05-26 14:32:46 +07:00
|
|
|
Var ProMysteryCup = 0
|
2024-07-01 16:51:58 +07:00
|
|
|
|
2025-08-04 08:16:10 +07:00
|
|
|
|
|
|
|
|
; new_payment
|
|
|
|
|
Var New_PaymentInter = 0
|
|
|
|
|
|
2025-05-26 14:32:46 +07:00
|
|
|
If SystemDateMonthInt = 6 Then
|
2024-09-16 17:11:48 +07:00
|
|
|
|
2025-05-26 14:32:46 +07:00
|
|
|
If SystemDateDayInt >= 17 Then
|
|
|
|
|
Var ProMysteryCup = 1
|
|
|
|
|
EndIf
|
2025-02-11 14:05:32 +07:00
|
|
|
|
2025-05-26 14:32:46 +07:00
|
|
|
EndIf
|
2025-02-11 14:05:32 +07:00
|
|
|
|
2025-05-26 14:32:46 +07:00
|
|
|
If SystemDateMonthInt = 7 Then
|
|
|
|
|
Var ProMysteryCup = 1
|
|
|
|
|
EndIf
|
2024-08-02 13:40:58 +07:00
|
|
|
|
|
|
|
|
|
2024-09-10 09:17:40 +07:00
|
|
|
|
|
|
|
|
If XMLProfile = "PromoReduced" Then
|
|
|
|
|
Var SetProReduceByBO = 1
|
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
|
|
DEBUGVAR SetProReduceByBO
|
2024-08-06 11:33:24 +07:00
|
|
|
|
|
|
|
|
; Pay later mode
|
|
|
|
|
Var EnablePayLaterMode = 0
|
|
|
|
|
|
2024-08-23 15:46:21 +07:00
|
|
|
; Slide show Video
|
|
|
|
|
Var UseSlideShowVideo = 0
|
|
|
|
|
|
2024-09-24 09:01:26 +07:00
|
|
|
Var NoTrickPriceProfile = 0
|
|
|
|
|
|
2024-11-05 10:47:41 +07:00
|
|
|
; zone-refresh-once
|
2025-04-23 14:27:13 +07:00
|
|
|
WRITE_FILE "/mnt/sdcard/coffeevending/need_refresh_file" "0"
|
2024-11-05 10:47:41 +07:00
|
|
|
|
|
|
|
|
READ_FILE "/mnt/sdcard/coffeevending/need_refresh_file" NeedRefreshStr
|
|
|
|
|
STRCONTAIN "1" NeedRefreshStr need_refresh
|
|
|
|
|
|
2025-02-11 14:05:32 +07:00
|
|
|
DEBUGVAR need_refresh
|
|
|
|
|
|
2024-11-05 10:47:41 +07:00
|
|
|
|
|
|
|
|
|
2024-05-20 09:58:10 +07:00
|
|
|
If BoxID = 177746 Then
|
2025-02-11 14:05:32 +07:00
|
|
|
Var ProThaiTeaEnable = 0
|
|
|
|
|
Var ProYuzuEnable = 0
|
2024-09-10 09:17:40 +07:00
|
|
|
Var PromotionOreoToppingFreeEnable = 0
|
2024-08-06 11:33:24 +07:00
|
|
|
|
2025-02-11 14:05:32 +07:00
|
|
|
;Var ProMelonEnable = 0
|
|
|
|
|
|
2025-04-23 14:27:13 +07:00
|
|
|
;Var EnablePayLaterMode = 1
|
2024-08-06 11:33:24 +07:00
|
|
|
|
|
|
|
|
;Var AdvertiseProfile = "00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00"
|
2024-08-23 15:46:21 +07:00
|
|
|
|
2024-09-10 09:17:40 +07:00
|
|
|
Var UseSlideShowVideo = 0
|
2024-09-16 17:11:48 +07:00
|
|
|
|
2024-09-24 09:01:26 +07:00
|
|
|
;Var ProReducedPriceEnable = 0
|
2024-10-21 16:48:33 +07:00
|
|
|
;Var IgnoreProfileFromRunEV = 1
|
2025-05-26 14:32:46 +07:00
|
|
|
|
|
|
|
|
Var ProMysteryCup = 1
|
2024-08-23 15:46:21 +07:00
|
|
|
EndIf
|
|
|
|
|
|
2025-02-11 14:05:32 +07:00
|
|
|
If ProMelonEnable = 1 Then
|
|
|
|
|
Var IgnoreProfileFromRunEV = 1
|
|
|
|
|
EndIf
|
|
|
|
|
|
2024-08-23 15:46:21 +07:00
|
|
|
If BoxID = 210037 Then
|
|
|
|
|
Var UseSlideShowVideo = 1
|
|
|
|
|
EndIf
|
|
|
|
|
|
2024-09-11 08:36:11 +07:00
|
|
|
If BoxID = 210011 Then
|
|
|
|
|
Var UseSlideShowVideo = 1
|
|
|
|
|
EndIf
|
|
|
|
|
|
2025-08-04 08:16:10 +07:00
|
|
|
If BoxID = 200002 Then
|
|
|
|
|
Var New_PaymentInter = 1
|
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
|
|
If BoxID = 210055 Then
|
|
|
|
|
Var New_PaymentInter = 1
|
|
|
|
|
EndIf
|
2024-08-06 11:33:24 +07:00
|
|
|
|
|
|
|
|
;If BoxID = Something Then
|
|
|
|
|
; Var EnablePayLaterMode = 1
|
|
|
|
|
;
|
2024-09-16 17:11:48 +07:00
|
|
|
;EndIf
|
2025-05-26 14:32:46 +07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
If ProMysteryCup = 1 Then
|
|
|
|
|
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/mys/xml/event/mystery_cup/random_list.ev"
|
|
|
|
|
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/mys/xml/event/mystery_cup/check_menu.ev"
|
|
|
|
|
DEBUGVAR "Syncing Pool Done!"
|
2025-08-04 08:16:10 +07:00
|
|
|
EndIf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DEBUGVAR New_PaymentInter
|