THAI: update topup with coupon

This commit is contained in:
Kenta420 2024-01-30 13:14:40 +07:00
parent 2f3845e8c8
commit 89da737dff
3 changed files with 676 additions and 4 deletions

View file

@ -9,14 +9,14 @@
; On open
Var Timeout = 0
DEBUGVAR SumCreditAmount
If PayCreditChannel = "cash" Then
Var SumCreditAmount = SumCreditAmount + CoinAmount
Else
INT CreditAmount
DEBUGVAR CreditAmount
Var SumCreditAmount = SumCreditAmount + CreditAmount
EndIf
Var SumCreditAmount = SumCreditAmount - PayAmountSubDiscount
Var VendingCreditRemain = "" + SumCreditAmount
Var SumCreditAmountStr !assigned StringFmt( SumCreditAmount, DisplayFormat, PreScaleConvertShow )