merge from masterpiece

This commit is contained in:
Pakin 2025-04-04 14:34:43 +07:00
parent 845c5f1637
commit 736af0e6dc
65 changed files with 481100 additions and 1087 deletions

View file

@ -885,3 +885,9 @@ PEPSI Max BANANA 52-05-02-0077 1 14 56 23 13 24 120 14:00 23
PEPSI Max YUZU 52-05-02-0076 1 14 53 23 13 24 120 4:00 23 PEPSI Max YUZU 52-05-02-0076 1 14 53 23 13 24 120 4:00 23
PEPSI MINT 52-05-02-0068 1 14 59 12 23 24 120 15:00 23 PEPSI MINT 52-05-02-0068 1 14 59 12 23 24 120 15:00 23
Almost Dirty 52-21-02-0071 1 2 3 4 5 6 7 24 66 6:06 32 Almost Dirty 52-21-02-0071 1 2 3 4 5 6 7 24 66 6:06 32
ICED SANTA GINGER 12-03-02-0081 1 7 22 23 24 49 10:01 23
ICED SANTA GINGER 12-23-02-0081 1 7 22 23 24 49 10:01 23
CHOCO SNOWFLAKE SMOOTHIE 12-03-03-0088 1 15 7 22 40 41 24 49 10:01 23
REINDEER PEPPERMINT SMOOTHIE 12-03-03-0089 1 59 7 19 41 24 49 10:01 23
ICED CHRISTMAS CAFE LATTE 12-01-02-0084 1 6 7 12 22 23 24 49 10:01 23
ICED CHRISTMAS CAFE LATTE 12-21-02-0084 1 6 7 12 22 23 24 49 10:01 23

Can't render this file because it has a wrong number of fields in line 40.

View file

@ -8,6 +8,7 @@
Var SeasonPassMode = 0 Var SeasonPassMode = 0
Var New_PaymentInter = 0
If SystemDateMonthInt = 7 Then If SystemDateMonthInt = 7 Then
If SystemDateDayInt > 28 Then If SystemDateDayInt > 28 Then
@ -37,3 +38,7 @@ If SeasonPassMode = 1 Then
Var SeasonPassFile = CountryRootPath + "xml/event/season_pass/season_pass.ev" Var SeasonPassFile = CountryRootPath + "xml/event/season_pass/season_pass.ev"
TRY SeasonPassFile TRY SeasonPassFile
EndIf EndIf
DEBUGVAR New_PaymentInter

View file

@ -6,6 +6,12 @@
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<EventOpen> <EventOpen>
If New_PaymentInter = 1 Then
Open "ROOT/taobin_project/inter/sgp/xml/page_NewBrewing3_blue.lxml"
EndIf
Var SendNotiPaySuccess = 2 Var SendNotiPaySuccess = 2
Var GetMoreStrawCount = 2 Var GetMoreStrawCount = 2

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -118,6 +118,12 @@
Var Brew3Inter = CountryRootPath + "/xml/page_brewing3.lxml" Var Brew3Inter = CountryRootPath + "/xml/page_brewing3.lxml"
Var Brew3ConInter = CountryRootPath + "/xml/page_brewing3Conti.xml" Var Brew3ConInter = CountryRootPath + "/xml/page_brewing3Conti.xml"
If New_PaymentInter = 1 Then
Var Brew3Inter = CountryRootPath + "/xml/page_NewBrewing3_blue.lxml"
Var Brew3ConInter = CountryRootPath + "/xml/page_NewBrewing3Conti_blue.xml"
EndIf
If Seeker = "next" Then If Seeker = "next" Then
;CoinBack ;CoinBack
Open Brew3ConInter Open Brew3ConInter

View file

@ -266,6 +266,10 @@
CoinVending OFF CoinVending OFF
If Seeker = "curr" Then If Seeker = "curr" Then
If New_PaymentInter = 1 Then
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
EndIf
MakeDrinkV1 SelectDrink SelectSugarID MakeDrinkV1 SelectDrink SelectSugarID
Var TxRef1 = "" Var TxRef1 = ""
CreateTxRef1 TxRef1 CreateTxRef1 TxRef1
@ -283,6 +287,31 @@
EndIf EndIf
If Seeker.FreeVendingCampaign = 1 Then
Var RemainAmountStr = "Free###size=150"
CoinVending OFF
If Seeker = "curr" Then
If New_PaymentInter = 1 Then
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
EndIf
MakeDrinkV1 SelectDrink SelectSugarID
Var TxRef1 = ""
CreateTxRef1 TxRef1
Else
Var TxRef1 = ""
CreateTxRef1 TxRef1
Var DrinkPaid = SelectDrink
Var PaidPaymentFromNextStage = 1
EndIf
Open "ROOT/taobin_project/xml/page_thankyou.xml"
EndIf
If CoinInOK = 0 Then If CoinInOK = 0 Then
@ -535,6 +564,10 @@
If Seeker = "curr" Then If Seeker = "curr" Then
If New_PaymentInter = 1 Then
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
EndIf
MakeDrinkV1 SelectDrink SelectSugarID MakeDrinkV1 SelectDrink SelectSugarID
;Var TxRef1 = "" ;Var TxRef1 = ""
;CreateTxRef1 TxRef1 ;CreateTxRef1 TxRef1
@ -735,7 +768,10 @@
Refresh Refresh
If Seeker = "curr" Then If Seeker = "curr" Then
MakeDrinkV1 SelectDrink SelectSugarID If New_PaymentInter = 1 Then
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
EndIf
MakeDrinkV1 SelectDrink SelectSugarID
EndIf EndIf
Var Seeker.CreditCard = 1 Var Seeker.CreditCard = 1
Var Seeker.CreditCardRef = CreditCardRef Var Seeker.CreditCardRef = CreditCardRef
@ -1184,6 +1220,10 @@
If Seeker = "curr" Then If Seeker = "curr" Then
If New_PaymentInter = 1 Then
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
EndIf
MakeDrinkV1 SelectDrink SelectSugarID MakeDrinkV1 SelectDrink SelectSugarID
Var TxRef1 = "" Var TxRef1 = ""
CreateTxRef1 TxRef1 CreateTxRef1 TxRef1

View file

@ -1020,6 +1020,8 @@
;Var EnablePepsiFullscreen = 1 ;Var EnablePepsiFullscreen = 1
Var New_PaymentInter = 0
EndIf EndIf
;inter-page-board ;inter-page-board

View file

@ -173,6 +173,12 @@
Open "ROOT/taobin_project/xml/page_brewing3.xml" Open "ROOT/taobin_project/xml/page_brewing3.xml"
EndIf EndIf
Else Else
If New_PaymentInter = 1 Then
; TODO: change script
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/process/payment.ev"
EndIf
Var Brew3Inter = CountryRootPath + "/xml/page_brewing3.lxml" Var Brew3Inter = CountryRootPath + "/xml/page_brewing3.lxml"
Var Brew3ConInter = CountryRootPath + "/xml/page_brewing3Conti.xml" Var Brew3ConInter = CountryRootPath + "/xml/page_brewing3Conti.xml"

View file

@ -267,6 +267,16 @@
Open "ROOT/taobin_project/xml/page_brewing3.xml" Open "ROOT/taobin_project/xml/page_brewing3.xml"
Else Else
If New_PaymentInter = 1 Then
If UsePepsiTheme = 1 Then
If CountryName = "Singapore" Then
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/whatthecup/sgp/xml/process/payment.ev"
EndIf
EndIf
EndIf
Var Brew3Inter = CountryRootPath + "/xml/page_brewing3.lxml" Var Brew3Inter = CountryRootPath + "/xml/page_brewing3.lxml"
Open Brew3Inter Open Brew3Inter
EndIf EndIf
@ -281,6 +291,11 @@
Else Else
If UsePepsiTheme = 1 Then If UsePepsiTheme = 1 Then
If CountryName = "Singapore" Then If CountryName = "Singapore" Then
If New_PaymentInter = 1 Then
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/whatthecup/sgp/xml/process/payment.ev"
EndIf
Open "ROOT/taobin_project/inter/whatthecup/sgp/xml/page_get_yourchange-SGP_blue.xml" Open "ROOT/taobin_project/inter/whatthecup/sgp/xml/page_get_yourchange-SGP_blue.xml"
EndIf EndIf
If CountryName = "UnitedArabEmirates Dubai" Then If CountryName = "UnitedArabEmirates Dubai" Then

View file

@ -307,6 +307,12 @@
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID __CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
EndIf EndIf
If New_PaymentInter = 1 Then
Var Seeker.ORDER_ID = ""
GenHashWithTimeStamp Seeker.ORDER_ID
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
EndIf
Open "ROOT/taobin_project/xml/page_payment_cash.xml" Open "ROOT/taobin_project/xml/page_payment_cash.xml"
@ -356,6 +362,32 @@
EndIf EndIf
If New_PaymentInter = 1 Then
Var Seeker.ORDER_ID = ""
GenHashWithTimeStamp Seeker.ORDER_ID
DEBUGVAR Seeker.NameDrinkTH
DEBUGVAR Seeker.NameDrinkEN
Var param1 = Seeker.ORDER_ID
Var param2 = Seeker.NameDrinkEN
Var param3 = DiscountCampaignCode
STRCONTAIN "size" Seeker.NameDrinkEN SizeFromSheet
If SizeFromSheet = "true" Then
SPLIT Seeker.NameDrinkEN "###" 1 PureName
Var param2 = PureName
EndIf
If ConnectWithPOSMachine = 1 Then
Var WaitPOSStatus = 1
Var TimeWaitPOSStatus = 0
Var POS_SELL_STATUS = "-"
GetPOSStatus param1 param2 param3
EndIf
EndIf
</EventOpen> </EventOpen>
<Timeout> 900 </Timeout> <Timeout> 900 </Timeout>

View file

@ -47,6 +47,13 @@
Var HeadVideoFilename = HeadVideoFilename + ".mp4" Var HeadVideoFilename = HeadVideoFilename + ".mp4"
If CountryName = "Singapore" Then
If UsePepsiTheme = 1 Then
Var HeadVideoFilename = DefaultLargeBanner + ".mp4"
EndIf
EndIf
DEBUGVAR VideoAdvIndex DEBUGVAR VideoAdvIndex
DEBUGVAR HeadVideoFilename DEBUGVAR HeadVideoFilename