update flag for new payment
This commit is contained in:
parent
068b298c2e
commit
9559b6dab1
6 changed files with 112 additions and 78 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 9.4 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 11 KiB |
|
|
@ -62,6 +62,8 @@ Var ProPeachEnable = 0
|
|||
|
||||
Var NewCollectPoint = 1
|
||||
|
||||
Var NewFlowPaymentCode = 0
|
||||
|
||||
If SystemDateMonthInt = 10 Then
|
||||
|
||||
|
||||
|
|
@ -120,10 +122,22 @@ EndIf
|
|||
|
||||
If BoxID = 173149 Then
|
||||
Var ProPeachEnable = 1
|
||||
Var NewFlowPaymentCode = 1
|
||||
EndIf
|
||||
|
||||
If BoxID = 200435 Then
|
||||
Var ProPeachEnable = 1
|
||||
Var NewFlowPaymentCode = 1
|
||||
EndIf
|
||||
|
||||
If BoxID = 201316 Then
|
||||
Var ProPeachEnable = 1
|
||||
Var NewFlowPaymentCode = 1
|
||||
EndIf
|
||||
|
||||
If BoxID = 105005 Then
|
||||
Var ProPeachEnable = 1
|
||||
Var NewFlowPaymentCode = 1
|
||||
EndIf
|
||||
|
||||
If BoxID = 172644 Then
|
||||
|
|
|
|||
|
|
@ -932,7 +932,7 @@
|
|||
|
||||
|
||||
<Function2>
|
||||
|
||||
If NewFlowPaymentCode = 1 Then
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
Var Timeout = 0
|
||||
|
||||
|
|
@ -965,11 +965,7 @@
|
|||
Var ReqFlag = 0
|
||||
Refresh
|
||||
|
||||
|
||||
</Function2>
|
||||
|
||||
<Function3>
|
||||
|
||||
Else
|
||||
Var ShowSentSmsText = "Invisible"
|
||||
Var Timeout = 0
|
||||
|
||||
|
|
@ -1017,6 +1013,14 @@
|
|||
Var ReqFlag = 0
|
||||
|
||||
Refresh
|
||||
EndIf
|
||||
|
||||
|
||||
</Function2>
|
||||
|
||||
<Function3>
|
||||
|
||||
|
||||
|
||||
|
||||
</Function3>
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
|
||||
|
||||
Var posX = 430
|
||||
Var posX = 270
|
||||
|
||||
|
||||
Else
|
||||
|
|
@ -58,7 +58,16 @@
|
|||
Var text_show_amountInvalid = "/text_show_amountInvalid.png"
|
||||
Var text_show_amountInvalid2 = "/text_show_amountInvalid2.png"
|
||||
|
||||
If SumCreditAmount < PayAmountSubDiscount Then
|
||||
Var Text_X = 246
|
||||
Var Min = PayAmountSubDiscount - SumCreditAmount
|
||||
Else
|
||||
Var Text_X = 263
|
||||
Var Min = PayAmountSubDiscount
|
||||
EndIf
|
||||
|
||||
;Var Min = PayAmountSubDiscount
|
||||
|
||||
Var Max = 5000
|
||||
|
||||
;inter-image
|
||||
|
|
@ -634,7 +643,7 @@ If ViewBill > 0 Then
|
|||
<Width> 250 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> PayAmountSubDiscount </Value>
|
||||
<Value> Min </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
|
|
@ -648,8 +657,8 @@ If ViewBill > 0 Then
|
|||
|
||||
|
||||
<Image>
|
||||
<X> 188 </X>
|
||||
<Y> 640 </Y>
|
||||
<X> Text_X </X>
|
||||
<Y> 650 </Y>
|
||||
<Refresh> "Enable" </Refresh>
|
||||
<Filename> Var( DirImage + text_44 )</Filename>
|
||||
</Image>
|
||||
|
|
|
|||
|
|
@ -56,7 +56,13 @@
|
|||
|
||||
If ReqAdddata42 = 1 Then
|
||||
If Timeout = 3 Then
|
||||
|
||||
If ReqAdddata22 = 0 Then
|
||||
Var SumCreditAndCouponAmount = IntAmoutCoupon + SumCreditAmount
|
||||
If SumCreditAndCouponAmount < PayAmountSubDiscount Then
|
||||
Var SumCreditAmount = SumCreditAndCouponAmount
|
||||
Open "ROOT/taobin_project/xml/page_payment_credit3-1.xml"
|
||||
Else
|
||||
GenHashWithTimeStamp PointCrm
|
||||
Var useCreditAmount = PayAmountSubDiscount
|
||||
Var BmiYear = useCreditAmount
|
||||
|
|
@ -67,6 +73,7 @@
|
|||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue