.qi_header
  %h1
    
    %span
      


.qi_row
  .qi_pannel.qi_plain.padding
    =link_to "Export CSV", export_sepa_admin_m_odr_remise_path(@m_odr_remise)
    
    
    %br
    %br
    =link_to "Confirmer maintenant TOUS les virements", confirm_admin_m_odr_remise_path(@m_odr_remise) if !@m_odr_remise.confirmed
    
    
    
    
    %hr
    Virements

    
    -params[:search][:per_page] = params[:search][:per_page] || 50
    -per_page = params[:search][:per_page]
    -page = (params[:page] and params[:page] != "") ? params[:page] : 1 
    -@m_odr_virements = @m_odr_remise.m_odr_virements.page(page).per(per_page)
    
    =render :partial => "qi/qi_ordered_table", :locals => {:qi_ordered_table_collection => @m_odr_virements}
    