From 1b4c5b8ea3bf2e2b3b25cae89c463afb921e8285 Mon Sep 17 00:00:00 2001 From: Xiaoyu Date: Sun, 5 May 2024 21:19:48 +0800 Subject: [PATCH] add amt shortcut for bndtxn and feetxn --- absbox/local/component.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/absbox/local/component.py b/absbox/local/component.py index dbe18b0..2267dce 100644 --- a/absbox/local/component.py +++ b/absbox/local/component.py @@ -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]))