THAI: fix topup bug.
This commit is contained in:
parent
1d545f98a0
commit
949bfb5349
2 changed files with 15 additions and 7 deletions
|
|
@ -39,6 +39,7 @@
|
|||
GenHashWithTimeStamp PointCrm
|
||||
|
||||
Var TopupWithCashState = "Enable"
|
||||
Var NotEnoughPayment = 0
|
||||
|
||||
If SELLSTATUS = "SELLNOCASH" Then
|
||||
Var TopupWithCashState = "Disable"
|
||||
|
|
@ -133,6 +134,9 @@
|
|||
<EventClick>
|
||||
|
||||
Var TopupFromPage = "payment"
|
||||
If ShowNotEnoughText = "Enable" Then
|
||||
Var NotEnoughPayment = 1
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_topup_credit3_cash_warning.xml"
|
||||
|
||||
</EventClick>
|
||||
|
|
|
|||
|
|
@ -110,13 +110,17 @@
|
|||
Open "ROOT/taobin_project/xml/page_member_topupCash.xml"
|
||||
Else
|
||||
If TopupFromPage = "payment" Then
|
||||
If ReqPayWithCash = 0 Then
|
||||
Var TelephoneNumber = Seeker.TNumberTaobinCredit
|
||||
Var useCreditAmount = SumCreditAmount
|
||||
Var BmiYear = useCreditAmount
|
||||
Var GetScore = "useCredit"
|
||||
AddData 22 TelephoneNumber BmiYear PointCrm GetScore
|
||||
Var ReqPayWithCash = 1
|
||||
If NotEnoughPayment = 1 Then
|
||||
If ReqPayWithCash = 0 Then
|
||||
Var TelephoneNumber = Seeker.TNumberTaobinCredit
|
||||
Var useCreditAmount = SumCreditAmount
|
||||
Var BmiYear = useCreditAmount
|
||||
Var GetScore = "useCredit"
|
||||
AddData 22 TelephoneNumber BmiYear PointCrm GetScore
|
||||
Var ReqPayWithCash = 1
|
||||
EndIf
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_payment_credit3-TopupCash.xml"
|
||||
EndIf
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_topup_credit3-TopupCash.xml"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue