Skip to content

Commit

Permalink
add amt shortcut for bndtxn and feetxn
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowbean committed May 5, 2024
1 parent ba17c1d commit 1b4c5b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions absbox/local/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,9 +302,9 @@ def mkDs(x):
return mkTag(("CurrentDueFee", fns))
case ("已付费用", *fns) | ("lastFeePaid", *fns):
return mkTag(("LastFeePaid", fns))
case ("费用支付总额", cmt, *fns) | ("feeTxnAmount", cmt, *fns):
case ("费用支付总额", cmt, *fns) | ("feeTxnAmount", cmt, *fns) | ("feeTxnAmt", cmt, *fns):
return mkTag(("FeeTxnAmt", [fns, cmt]))
case ("债券支付总额", cmt, *bns) | ("bondTxnAmount", cmt, *bns):
case ("债券支付总额", cmt, *bns) | ("bondTxnAmount", cmt, *bns) | ("bondTxnAmt", cmt, *bns):
return mkTag(("BondTxnAmt", [bns, cmt]))
case ("账户变动总额", cmt, *ans) | ("accountTxnAmount", cmt, *ans) | ("accountTxnAmt", cmt, *ans):
return mkTag(("AccTxnAmt", [ans, cmt]))
Expand Down

0 comments on commit 1b4c5b8

Please sign in to comment.