update flag for new payment

This commit is contained in:
Kenta420 2024-01-31 17:43:31 +07:00
parent 068b298c2e
commit 9559b6dab1
6 changed files with 112 additions and 78 deletions

View file

@ -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"
Var Min = PayAmountSubDiscount
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>