From 171b90c9468a92b7d7609fecf00dca71c7d0c631 Mon Sep 17 00:00:00 2001 From: Kenta420 Date: Fri, 26 Jul 2024 15:24:02 +0700 Subject: [PATCH] THAI: Fix bug again. Even we have enough credit we have to adddata 22 but instead of use all credit, just use only drink price. --- xml/page_topup_credit3_cash_warning.xml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/xml/page_topup_credit3_cash_warning.xml b/xml/page_topup_credit3_cash_warning.xml index 8847445e..08410918 100644 --- a/xml/page_topup_credit3_cash_warning.xml +++ b/xml/page_topup_credit3_cash_warning.xml @@ -110,17 +110,17 @@ Open "ROOT/taobin_project/xml/page_member_topupCash.xml" Else If TopupFromPage = "payment" Then - If NotEnoughPayment = 1 Then - If ReqPayWithCash = 0 Then - Var TelephoneNumber = Seeker.TNumberTaobinCredit + If ReqPayWithCash = 0 Then + Var TelephoneNumber = Seeker.TNumberTaobinCredit + If NotEnoughPayment = 1 Then Var useCreditAmount = SumCreditAmount - Var BmiYear = useCreditAmount - Var GetScore = "useCredit" - AddData 22 TelephoneNumber BmiYear PointCrm GetScore - Var ReqPayWithCash = 1 + Else + Var useCreditAmount = PayAmountSubDiscount EndIf - Else - Open "ROOT/taobin_project/xml/page_payment_credit3-TopupCash.xml" + Var BmiYear = useCreditAmount + Var GetScore = "useCredit" + AddData 22 TelephoneNumber BmiYear PointCrm GetScore + Var ReqPayWithCash = 1 EndIf Else Open "ROOT/taobin_project/xml/page_topup_credit3-TopupCash.xml"