%tr#m_odr_rep_row{:id => m_odr_rep.id}
  -tr = {}

  -tr[:state] = capture do
    %td=state_helper m_odr_rep.state

  -tr[:m_odr] = capture do
    %td=m_odr_rep.m_odr.name if m_odr_rep.m_odr
    
  -tr[:cc_remise] = capture do
    %td=number_to_currency m_odr_rep.remise
  
  -tr[:cc_rib_admin_ok] = capture do
    %td= "oui" if m_odr_rep.rib_admin_ok 
  
  -tr[:cc_file_admin_ok] = capture do
    %td= "oui" if m_odr_rep.file_admin_ok 
    
  -tr[:cc_admin_ok_to_send] = capture do
    %td= "oui" if m_odr_rep.admin_ok_to_send
  
  -tr[:actions] = capture do
    %td.actions
      = link_to i(:"trash-o"), [:admin, m_odr_rep], method: :delete, data: { confirm: 'Voulez-vous vraiment supprimer cet enregistrement ? ' } , :remote => true
      = link_to i(:pencil), edit_admin_m_odr_rep_path(m_odr_rep), :remote => true
      = link_to i(:eye), admin_m_odr_rep_path(m_odr_rep)


  
  
  
  =render :partial => "qi/qi_ordered_table_object", :locals => {:tr => tr, :object => m_odr_rep}
  
  
  