Some banks don't allow multi-line values in XML
issue3880 review11261002
This commit is contained in:
@@ -43,9 +43,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<PmtInf py:for="key, payments in group.sepa_payments">
|
||||
<PmtInfId>${group.sepa_group_payment_id(key)[:35]}</PmtInfId>
|
||||
<PmtMtd>TRF</PmtMtd>
|
||||
<BtchBookg>
|
||||
${'true' if group.journal.sepa_batch_booking else 'false'}
|
||||
</BtchBookg>
|
||||
<BtchBookg>${'true' if group.journal.sepa_batch_booking else 'false'}</BtchBookg>
|
||||
<NbOfTxs>${len(payments)}</NbOfTxs>
|
||||
<CtrlSum>${sum(p.amount for p in payments)}</CtrlSum>
|
||||
<PmtTpInf>
|
||||
|
||||
@@ -24,9 +24,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<PmtInf py:for="key, payments in group.sepa_payments">
|
||||
<PmtInfId>${group.sepa_group_payment_id(key)[:35]}</PmtInfId>
|
||||
<PmtMtd>TRF</PmtMtd>
|
||||
<BtchBookg>
|
||||
${'true' if group.journal.sepa_batch_booking else 'false'}
|
||||
</BtchBookg>
|
||||
<BtchBookg>${'true' if group.journal.sepa_batch_booking else 'false'}</BtchBookg>
|
||||
<NbOfTxs>${len(payments)}</NbOfTxs>
|
||||
<CtrlSum>${sum(p.amount for p in payments)}</CtrlSum>
|
||||
<PmtTpInf>
|
||||
|
||||
@@ -43,9 +43,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<PmtInf py:for="key, payments in group.sepa_payments">
|
||||
<PmtInfId>${group.sepa_group_payment_id(key)[:35]}</PmtInfId>
|
||||
<PmtMtd>DD</PmtMtd>
|
||||
<BtchBookg>
|
||||
${'true' if group.journal.sepa_batch_booking else 'false'}
|
||||
</BtchBookg>
|
||||
<BtchBookg>${'true' if group.journal.sepa_batch_booking else 'false'}</BtchBookg>
|
||||
<NbOfTxs>${len(payments)}</NbOfTxs>
|
||||
<CtrlSum>${sum(p.amount for p in payments)}</CtrlSum>
|
||||
<PmtTpInf>
|
||||
|
||||
@@ -24,9 +24,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<PmtInf py:for="key, payments in group.sepa_payments">
|
||||
<PmtInfId>${group.sepa_group_payment_id(key)[:35]}</PmtInfId>
|
||||
<PmtMtd>DD</PmtMtd>
|
||||
<BtchBookg>
|
||||
${'true' if group.journal.sepa_batch_booking else 'false'}
|
||||
</BtchBookg>
|
||||
<BtchBookg>${'true' if group.journal.sepa_batch_booking else 'false'}</BtchBookg>
|
||||
<NbOfTxs>${len(payments)}</NbOfTxs>
|
||||
<CtrlSum>${sum(p.amount for p in payments)}</CtrlSum>
|
||||
<PmtTpInf>
|
||||
|
||||
Reference in New Issue
Block a user