This commit is contained in:
Nicolas Bally 2020-03-10 16:09:53 +01:00
parent 60655d285c
commit 01f5d49867

View File

@ -6,14 +6,22 @@
<CreDtTm><%= Time.now.to_time.utc.iso8601 %></CreDtTm>
<NbOfTxs><%= @m_odr_virements.count %></NbOfTxs>
<CtrlSum><%= '%.2f' % @m_odr_virements.sum(:amount) %></CtrlSum>
<InitgPty>
<Nm><%= @name %></Nm>
</InitgPty>
<InitgPty>
<Nm><%= @name %></Nm>
<Id>
<OrgId>
<PrtryId>
<Id>123456700011</Id>
</PrtryId>
</OrgId>
</Id>
</InitgPty>
</GrpHdr>
<PmtInf>
<PmtInfId><%= @prelevement_date.strftime("%d/%m/%Y") %></PmtInfId>
<PmtMtd>TRF</PmtMtd>
<NbOfTxs><%= @m_odr_virements.count %></NbOfTxs>
<CtrlSum><%= '%.2f' % @m_odr_virements.sum(:amount) %></CtrlSum>
<PmtTpInf>
<SvcLvl>