DO
This commit is contained in:
parent
5fbdc668d5
commit
b222fd700f
51 changed files with 34 additions and 16 deletions
|
|
@ -82,7 +82,7 @@
|
|||
|
||||
STRCONTAIN "whey" SaleProfile WheyShow
|
||||
STRCONTAIN "cocktail" SaleProfile CocktailShow
|
||||
STRCONTAIN "roadshow" SaleProfile RoadShow
|
||||
;STRCONTAIN "roadshow" SaleProfile RoadShow
|
||||
|
||||
Var TermTemOnline = "false"
|
||||
Var TaobinOnline = "false"
|
||||
|
|
|
|||
|
|
@ -7,9 +7,8 @@
|
|||
<EventOpen>
|
||||
Var y_topping_bg = 912
|
||||
|
||||
If ToppingNewEnable = "false" Then
|
||||
|
||||
Else
|
||||
If ConfigNumer > 360 Then
|
||||
SAVELOG "Recipe have smoothies"
|
||||
Open "ROOT/taobin_project/xml/page_topping_select2.xml"
|
||||
EndIf
|
||||
|
||||
|
|
|
|||
|
|
@ -121,6 +121,10 @@
|
|||
Var PriceDrinkTmp = "Free"
|
||||
EndIf
|
||||
|
||||
If ShowPrice = "Invisible" Then
|
||||
Var PriceDrinkTmpShow = "Free"
|
||||
EndIf
|
||||
|
||||
Var StateImgKeto = "Invisible"
|
||||
|
||||
|
||||
|
|
@ -677,7 +681,8 @@
|
|||
Var PriceDrinkTmpShow = charOfBaht + PriceDrinkTmp
|
||||
|
||||
SAVELOG PriceDrinkTmp
|
||||
Refresh</EventClick>
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
|
|
@ -690,14 +695,30 @@
|
|||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
SAVELOG "Press Smoothies"
|
||||
|
||||
DEBUGVAR PriceDrinkNoTop
|
||||
|
||||
If blendedState = "Press" Then
|
||||
Var PriceDrinkTmp = PriceDrinkTmp - PriceDiff
|
||||
Var blendedState = "Enable"
|
||||
Var UserSelectProductCode = SaveProductCodeSelect
|
||||
Else
|
||||
Var blendedState = "Press"
|
||||
Var PriceDrinkTmp = PriceDrinkTmp + PriceDiff
|
||||
Var UserSelectProductCode = SubMenuProductCode1
|
||||
|
||||
EndIf
|
||||
|
||||
DEBUGVAR UserSelectProductCode
|
||||
Var PriceDrinkNoTop = PriceDrinkTmp
|
||||
|
||||
Var PriceDrinkTmpShow = charOfBaht + PriceDrinkTmp
|
||||
|
||||
SAVELOG PriceDrinkTmp
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
@ -709,12 +730,10 @@
|
|||
<Width> 988 </Width>
|
||||
<Height> 156 </Height>
|
||||
<MarginTop> 20 </MarginTop>
|
||||
<State> "Enable" </State>
|
||||
;<State> BGSugar </State>
|
||||
<State> BGSugar </State>
|
||||
; sugar layout
|
||||
<Image>
|
||||
<State> "Enable" </State>
|
||||
;<State> BGSugar </State>
|
||||
<State> BGSugar </State>
|
||||
<Filename> Var( DirImage + "/bg_sugar.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
|
@ -984,16 +1003,16 @@
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
SAVELOG "Press add shot 2"
|
||||
|
||||
|
||||
If showShotEnable = "Press" Then
|
||||
Var showShotEnable = "Enable"
|
||||
Var PriceDrinkTmp = PriceDrinkNoTop - toppingID2price2
|
||||
Var showShotEnable = "Enable"
|
||||
Var PriceDrinkTmp = PriceDrinkTmp - toppingID2price2
|
||||
Var topping2 = toppingID2index1
|
||||
Var DisableUsingCode = "false"
|
||||
SAVELOG "Deselect add premium shot"
|
||||
Else
|
||||
Var showShotEnable = "Press"
|
||||
Var PriceDrinkTmp = PriceDrinkNoTop + toppingID2price2
|
||||
Var PriceDrinkTmp = PriceDrinkTmp + toppingID2price2
|
||||
Var topping2 = toppingID2index2
|
||||
Var DisableUsingCode = "true"
|
||||
SAVELOG "Select add premium shot"
|
||||
|
|
@ -1002,11 +1021,11 @@
|
|||
Var PriceDrinkNoTop = PriceDrinkTmp
|
||||
|
||||
Var PriceDrinkTmpShow = charOfBaht + PriceDrinkTmp
|
||||
|
||||
|
||||
|
||||
SAVELOG PriceDrinkTmp
|
||||
Refresh
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue