NbOfTxs could be different of length payments if they are grouped
issue4344 review5761002
This commit is contained in:
1 parent
e889c55946
commit
b9e534e9b0
6 files changed
+6
-6
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>${len(list(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>${len(list(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>${len(list(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>${len(list(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>${len(list(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>${len(list(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