diff --git a/image/collectiing_en/img_popup11-SGP.png b/image/collectiing_en/img_popup11-SGP.png new file mode 100644 index 00000000..4c0e72af Binary files /dev/null and b/image/collectiing_en/img_popup11-SGP.png differ diff --git a/image/collectiing_en/img_popup15-SGP.png b/image/collectiing_en/img_popup15-SGP.png new file mode 100644 index 00000000..0c96c641 Binary files /dev/null and b/image/collectiing_en/img_popup15-SGP.png differ diff --git a/image/collectiing_en/text_show_amountInvalid-SGP.png b/image/collectiing_en/text_show_amountInvalid-SGP.png new file mode 100644 index 00000000..a4cd74df Binary files /dev/null and b/image/collectiing_en/text_show_amountInvalid-SGP.png differ diff --git a/image/collectiing_en/text_show_amountInvalid2-SGP.png b/image/collectiing_en/text_show_amountInvalid2-SGP.png new file mode 100644 index 00000000..ac59d855 Binary files /dev/null and b/image/collectiing_en/text_show_amountInvalid2-SGP.png differ diff --git a/image/display_point_en/text5-SGD.png b/image/display_point_en/text5-SGD.png new file mode 100644 index 00000000..f27e9b14 Binary files /dev/null and b/image/display_point_en/text5-SGD.png differ diff --git a/image/page_payment_cash_extend_en/img_popup11-SGP.png b/image/page_payment_cash_extend_en/img_popup11-SGP.png new file mode 100644 index 00000000..4c0e72af Binary files /dev/null and b/image/page_payment_cash_extend_en/img_popup11-SGP.png differ diff --git a/image/page_payment_cash_extend_en/img_popup15-SGP.png b/image/page_payment_cash_extend_en/img_popup15-SGP.png new file mode 100644 index 00000000..61aaef46 Binary files /dev/null and b/image/page_payment_cash_extend_en/img_popup15-SGP.png differ diff --git a/image/page_thankyou_en/imgGetChange-SGP.png b/image/page_thankyou_en/imgGetChange-SGP.png new file mode 100644 index 00000000..8969cd56 Binary files /dev/null and b/image/page_thankyou_en/imgGetChange-SGP.png differ diff --git a/image/page_thankyou_en/remainCredit-SGP.png b/image/page_thankyou_en/remainCredit-SGP.png new file mode 100644 index 00000000..5f98fa33 Binary files /dev/null and b/image/page_thankyou_en/remainCredit-SGP.png differ diff --git a/inter/sgp/xml/page_catalog_group_other.lxml b/inter/sgp/xml/page_catalog_group_other.lxml index 289c9a8e..8c0714f8 100644 --- a/inter/sgp/xml/page_catalog_group_other.lxml +++ b/inter/sgp/xml/page_catalog_group_other.lxml @@ -13224,6 +13224,268 @@ center-vertical-horizontal + + ; ==================> Len = 3 + ; - 52-05-02-0016 - + + 33 + 22 + 225 + 296 + Flag( 52-05-02-0016.Button,$Sum5205020016) + + + 16 + 164 + 22 + 222 + "multi2" + KanitMediumTTF + 0x322B26 + + Water + น้ำแข็ง + Water + น้ำแข็ง + + น้ำแข็ง + + + + 16 + 220 + 14 + 222 + KanitMediumTTF + 0x6F5F51 + + Water + น้ำแข็ง + Water + น้ำแข็ง + + น้ำแข็ง + + + + 16 + 264 + Var( DirImage2 + "option_deactive.png" ) + + + 16 + 264 + "Invisible" + Var( DirImage2 + "hot.png" ) + Var( DirImage2 + "hot_db.png" ) + + + TextPriceMenuHotX + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + Var( DirImage2 + "cold.png" ) + Var( DirImage2 + "cold_db.png" ) + $52-05-02-0016.Button + + + 113 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + $52-05-02-0016.Button + StringFmt( $52-05-02-0016.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 146 + 264 + Var( DirImage2 + "blend.png" ) + Var( DirImage2 + "blend_db.png" ) + "Invisible" + + + TextPriceMenuBlendX + TextPriceMenuY + TextPriceMenuSize + 220 + KanitRegularTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + + eval( + If ICE_PROCESS_STATUS = 2 Then + + Var ice_tab_process_show = "Invisible" + + Else + Var ice_tab_process_show = "Invisible" + EndIf + Var return = ice_tab_process_show + ) + + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" + + + 49 + 117 + + eval( + If $Sum5205020016 = "Disable" Then + STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable + STRCONTAIN "ERR" $52-05-02-0016.TAG tag2_is_disable + STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable + Var return = "Invisible" + If tag1_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag2_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag3_is_disable = "true" Then + Var return = "Enable" + EndIf + Else + Var return = "Invisible" + EndIf + ) + + "ROOT/taobin_project/image//img_menu_err2.png" + + + 84 + 266 + 10 + OpunMediumTTF + 0xDE794E + ice_tab_process_show + ice_show_open + + + 48 + 116 + 32 + 128 + 64 + "disable-show" + $Sum5205020016 + + 000013 + + center-vertical-horizontal + ; Cart diff --git a/xml/page_check_member2.xml b/xml/page_check_member2.xml index 7616668f..31a9945b 100644 --- a/xml/page_check_member2.xml +++ b/xml/page_check_member2.xml @@ -910,9 +910,13 @@ Var text5Img = "/text5-MYR.png" EndIf - If CountryName = "Indonesia" Then - Var text5Img = "/text5-IDR.png" - EndIf + If CountryName = "Indonesia" Then + Var text5Img = "/text5-IDR.png" + EndIf + + If CountryName = "Singapore" Then + Var text5Img = "/text5-SGD.png" + EndIf INT TaobinCredit diff --git a/xml/page_collect_point_1-3.xml b/xml/page_collect_point_1-3.xml index 6d867391..2ab6b0c8 100644 --- a/xml/page_collect_point_1-3.xml +++ b/xml/page_collect_point_1-3.xml @@ -134,6 +134,7 @@ Var MaxNumber = 10 + ;inter-max-number If CountryName = "Malaysia" Then Var MaxNumber = 11 EndIf @@ -142,6 +143,10 @@ Var MaxNumber = 12 EndIf + If CountryName = "Singapore" Then + Var MaxNumber = 10 + EndIf + If PromotionIDCurrentOrder = 2 Then Var text_x = "/text_4.png" diff --git a/xml/page_collect_point_3.xml b/xml/page_collect_point_3.xml index 99120bd2..f77d2ee6 100644 --- a/xml/page_collect_point_3.xml +++ b/xml/page_collect_point_3.xml @@ -660,6 +660,10 @@ Var Seeker.FromConsent = 0 EndIf + If CountryName = "Singapore" Then + Var Seeker.FromConsent = 0 + EndIf + diff --git a/xml/page_get_yourchange.xml b/xml/page_get_yourchange.xml index d7e05015..77e849c4 100644 --- a/xml/page_get_yourchange.xml +++ b/xml/page_get_yourchange.xml @@ -35,7 +35,8 @@ EndIf Var imgGetChange = "/imgGetChange.png" - + + ;inter-image If CountryName = "Malaysia" Then Var imgGetChange = "/imgGetChange-MYR.png" EndIf @@ -44,6 +45,11 @@ Var imgGetChange = "/imgGetChange-IDR.png" EndIf + If CountryName = "Singapore" Then + Var imgGetChange = "/imgGetChange-SGP.png" + EndIf + + ;INT StoreCreditAmount Var StoreCreditAmountStr !assigned StringFmt( StoreCreditAmount, DisplayFormat, PreScaleConvertShow ) diff --git a/xml/page_payment_credit3-Topup.xml b/xml/page_payment_credit3-Topup.xml index 3cb39f2b..15985a2f 100644 --- a/xml/page_payment_credit3-Topup.xml +++ b/xml/page_payment_credit3-Topup.xml @@ -61,6 +61,7 @@ Var Min = PayAmountSubDiscount Var Max = 5000 + ;inter-image If CountryName = "Malaysia" Then Var text_44 = "/text_44-MYR.png" Var text_show_amountInvalid = "/text_show_amountInvalid-MYR.png" @@ -71,6 +72,16 @@ EndIf + If CountryName = "Singapore" Then + Var text_44 = "/text_44-SGP.png" + Var text_show_amountInvalid = "/text_show_amountInvalid-SGP.png" + Var text_show_amountInvalid2 = "/text_show_amountInvalid2-SGP.png" + + ;Var Min = 2 + Var Max = 500 + + EndIf + If CountryName = "Indonesia" Then Var text_44 = "/text_44-IDR.png" Var text_show_amountInvalid = "/text_show_amountInvalid-IDR.png" diff --git a/xml/page_payment_credit3-TopupCash.xml b/xml/page_payment_credit3-TopupCash.xml index 4e5a6f63..ac47e9ec 100644 --- a/xml/page_payment_credit3-TopupCash.xml +++ b/xml/page_payment_credit3-TopupCash.xml @@ -45,6 +45,7 @@ Var img_popup11 = "/img_popup11.png" Var img_popup15 = "/img_popup15.png" + ;inter-image If CountryName = "Malaysia" Then Var img_popup11 = "/img_popup11-MYR.png" Var img_popup15 = "/img_popup15-MYR.png" @@ -56,6 +57,11 @@ Var img_popup15 = "/img_popup15-IDR.png" EndIf + If CountryName = "Singapore" Then + Var img_popup11 = "/img_popup11-SGP.png" + Var img_popup15 = "/img_popup15-SGP.png" + Var AmountNumber = AmountNumber * 100 + EndIf diff --git a/xml/page_payment_credit3.xml b/xml/page_payment_credit3.xml index 72ee6064..6fbbf494 100644 --- a/xml/page_payment_credit3.xml +++ b/xml/page_payment_credit3.xml @@ -93,6 +93,10 @@ Var img_popup11 = "/img_popup11-IDR.png" EndIf + If CountryName = "Singapore" Then + Var img_popup11 = "/img_popup11-SGP.png" + EndIf + 1000 diff --git a/xml/page_payment_storeCredit3.xml b/xml/page_payment_storeCredit3.xml index 9fc72712..ef3e4e34 100644 --- a/xml/page_payment_storeCredit3.xml +++ b/xml/page_payment_storeCredit3.xml @@ -33,6 +33,7 @@ Var img_popup15 = "/img_popup15.png" + ;inter-image If CountryName = "Malaysia" Then Var img_popup15 = "/img_popup15-MYR.png" EndIf @@ -41,6 +42,10 @@ Var img_popup15 = "/img_popup15-IDR.png" EndIf + If CountryName = "Singapore" Then + Var img_popup15 = "/img_popup15-SGP.png" + EndIf + DEBUGVAR Seeker.TNumberTaobinCredit diff --git a/xml/page_thankyou.xml b/xml/page_thankyou.xml index a5506013..1a86c8ba 100644 --- a/xml/page_thankyou.xml +++ b/xml/page_thankyou.xml @@ -179,6 +179,10 @@ Var remainCredit = "/remainCredit-AUD.png" EndIf + If CountryName = "Singapore" Then + Var remainCredit = "/remainCredit-SGP.png" + EndIf + TRY "/mnt/sdcard/coffeevending/taobin_project/xml/sometime/script_thankyou.ev"