suite
This commit is contained in:
parent
6f5f5b9363
commit
15e059f7a0
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.02">
|
||||
<pain.001.001.02>
|
||||
<Document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.02"><pain.001.001.02>
|
||||
<pain.001.001.02>
|
||||
<GrpHdr>
|
||||
<MsgId><%=@prelevement_date.strftime("%d/%m/%Y").to_slug %>-<%= @m_odr_remise.id %></MsgId>
|
||||
<CreDtTm><%= Time.now.to_time.utc.iso8601 %></CreDtTm>
|
||||
@ -48,22 +48,25 @@
|
||||
<% @m_odr_virements.all.each do |m_odr_virement| %>
|
||||
<CdtTrfTxInf>
|
||||
<PmtId>
|
||||
<InstrId>ABC<%= m_odr_virement.token %></InstrId>
|
||||
<EndToEndId><%= m_odr_virement.token %></EndToEndId>
|
||||
</PmtId>
|
||||
<Amt>
|
||||
<InstdAmt Ccy="EUR"><%= '%.2f' % m_odr_virement.amount %></InstdAmt>
|
||||
</Amt>
|
||||
|
||||
<Cdtr>
|
||||
<Nm><%= m_odr_virement.m_odr_rep.long_name %></Nm>
|
||||
</Cdtr>
|
||||
|
||||
<CdtrAgt>
|
||||
<FinInstnId>
|
||||
<BIC><%= m_odr_virement.bic_to %></BIC>
|
||||
</FinInstnId>
|
||||
</CdtrAgt>
|
||||
|
||||
<Cdtr>
|
||||
<Nm><%= m_odr_virement.m_odr_rep.long_name %></Nm>
|
||||
</Cdtr>
|
||||
|
||||
|
||||
|
||||
|
||||
<CdtrAcct>
|
||||
<Id>
|
||||
|
Loading…
x
Reference in New Issue
Block a user