
%table.table.table-striped.table-hover.table-bordered
  %tr
    %td{:style => "width:200px;"} Client
    %td
      =link_to @m_odr_prime.p_customer.show_name, [:admin, @m_odr_prime.p_customer] if @m_odr_prime.p_customer
  
  %tr
    %td Montant de la prime :
    %td
      =number_to_currency @m_odr_prime.amount

  %tr
    %td Rib
    %td
      -if @m_odr_prime.p_customer and @m_odr_prime.p_customer.valid_m_odr_rep_rib 
        =@m_odr_prime.p_customer.valid_m_odr_rep_rib.iban.to_s.gsub(/(.{4})(?=.)/, '\1 \2')
        %br=@m_odr_prime.p_customer.valid_m_odr_rep_rib.bic
