Skip to content
Snippets Groups Projects
Commit aa6c2b86af44 authored by Sergi Almacellas Abellana's avatar Sergi Almacellas Abellana
Browse files

Allow to customize message_id

issue9006
review278441002
parent 503dd4f3d671
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@
</py:def>
<CstmrCdtTrfInitn>
<GrpHdr>
<MsgId>${group.number[:35]}</MsgId>
<MsgId>${group.sepa_message_id[:35]}</MsgId>
<CreDtTm>${datetime.datetime.now().replace(microsecond=0).isoformat()}</CreDtTm>
<NbOfTxs>${sum(len(payments) for _, payments in group.sepa_payments)}</NbOfTxs>
<CtrlSum>${sum(p.amount for p in group.payments)}</CtrlSum>
......
......@@ -29,7 +29,7 @@
</py:def>
<CstmrDrctDbtInitn>
<GrpHdr>
<MsgId>${group.number[:35]}</MsgId>
<MsgId>${group.sepa_message_id[:35]}</MsgId>
<CreDtTm>${datetime.datetime.now().replace(microsecond=0).isoformat()}</CreDtTm>
<NbOfTxs>${sum(len(payments) for _, payments in group.sepa_payments)}</NbOfTxs>
<CtrlSum>${sum(p.amount for p in group.payments)}</CtrlSum>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment