Compute NbOfTxs the same way it is iterated
issue4344 review12091002
This commit is contained in:
1 parent
b36fa4b7d6
commit
6500dc487d
5 files changed
+5
-5
No files matched your search
@@ -31,7 +31,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<MsgId>${group.reference[:35]}</MsgId>
|
||||
<CreDtTm>${datetime.datetime.now().isoformat()}</CreDtTm>
|
||||
<!-- Authstn -->
|
||||
<NbOfTxs>${len(group.payments)}</NbOfTxs>
|
||||
<NbOfTxs>${sum(len(payments) for _, payments in group.sepa_payments)}</NbOfTxs>
|
||||
<CtrlSum>${sum(p.amount for p in group.payments)}</CtrlSum>
|
||||
<!-- PmtTpInf -->
|
||||
<!-- ReqdColltnDt -->
|
||||
|
||||
@@ -12,7 +12,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<MsgId>${group.reference[:35]}</MsgId>
|
||||
<CreDtTm>${datetime.datetime.now().isoformat()}</CreDtTm>
|
||||
<!-- Authstn -->
|
||||
<NbOfTxs>${len(group.payments)}</NbOfTxs>
|
||||
<NbOfTxs>${sum(len(payments) for _, payments in group.sepa_payments)}</NbOfTxs>
|
||||
<CtrlSum>${sum(p.amount for p in group.payments)}</CtrlSum>
|
||||
<!-- PmtTpInf -->
|
||||
<!-- ReqdColltnDt -->
|
||||
|
||||
@@ -14,7 +14,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<GrpHdr>
|
||||
<MsgId>${group.reference[:35]}</MsgId>
|
||||
<CreDtTm>${datetime.datetime.now().isoformat()}</CreDtTm>
|
||||
<NbOfTxs>${len(group.payments)}</NbOfTxs>
|
||||
<NbOfTxs>${sum(len(payments) for _, payments in group.sepa_payments)}</NbOfTxs>
|
||||
<CtrlSum>${sum(p.amount for p in group.payments)}</CtrlSum>
|
||||
<InitgPty>
|
||||
${PartyIdentification(group.sepa_initiating_party, with_address=False)}
|
||||
|
||||
@@ -31,7 +31,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<MsgId>${group.reference[:35]}</MsgId>
|
||||
<CreDtTm>${datetime.datetime.now().isoformat()}</CreDtTm>
|
||||
<!-- Authstn -->
|
||||
<NbOfTxs>${len(group.payments)}</NbOfTxs>
|
||||
<NbOfTxs>${sum(len(payments) for _, payments in group.sepa_payments)}</NbOfTxs>
|
||||
<CtrlSum>${sum(p.amount for p in group.payments)}</CtrlSum>
|
||||
<!-- PmtTpInf -->
|
||||
<!-- ReqdColltnDt -->
|
||||
|
||||
@@ -14,7 +14,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<GrpHdr>
|
||||
<MsgId>${group.reference[:35]}</MsgId>
|
||||
<CreDtTm>${datetime.datetime.now().isoformat()}</CreDtTm>
|
||||
<NbOfTxs>${len(group.payments)}</NbOfTxs>
|
||||
<NbOfTxs>${sum(len(payments) for _, payments in group.sepa_payments)}</NbOfTxs>
|
||||
<CtrlSum>${sum(p.amount for p in group.payments)}</CtrlSum>
|
||||
<InitgPty>
|
||||
${PartyIdentification(group.sepa_initiating_party, with_address=False)}
|
||||
|
||||
Reference in new issue
Block a user