This commit is contained in:
Nicolas Bally 2020-03-11 10:20:23 +01:00
parent 1124ac3dc7
commit 03e4fdbfd4
3 changed files with 6 additions and 2 deletions

View File

@ -28,7 +28,7 @@ class MOdrVirement < ApplicationRecord
:created_at => {:name => "Date", :reorder => true}, :created_at => {:name => "Date", :reorder => true},
:m_odr_rep_link => {:name => "Participation :"},
:amount => {:name => "Montant", :reorder => true}, :amount => {:name => "Montant", :reorder => true},
:cc_iban_to => {:name => "Iban destinataire", :reorder => true}, :cc_iban_to => {:name => "Iban destinataire", :reorder => true},

View File

@ -57,7 +57,7 @@
<CdtrAgt> <CdtrAgt>
<FinInstnId> <FinInstnId>
<BIC><%= m_odr_virement.upcase.bic_to %></BIC> <BIC><%= m_odr_virement.bic_to.upcase %></BIC>
</FinInstnId> </FinInstnId>
</CdtrAgt> </CdtrAgt>

View File

@ -1,6 +1,10 @@
%tr#m_odr_virement_row{:id => m_odr_virement.id} %tr#m_odr_virement_row{:id => m_odr_virement.id}
-tr = {} -tr = {}
-tr[:m_odr_rep_link] = capture do
%td=link_to "##{m_odr_virement.m_odr_rep.id}", [:admin, m_odr_virement.m_odr_rep] if m_odr_virement.m_odr_rep
-tr[:amount] = capture do -tr[:amount] = capture do
%td=number_to_currency m_odr_virement.amount %td=number_to_currency m_odr_virement.amount