.qi_header .right =link_to ic(:plus)+" Demande de commande", admin_p_customers_path(:offre => true), :class => "btn btn-primary bgbd-ventes" %h1 Ventes %span Demandes de commande .qi_search_row =form_tag "", :method => "get", :onsubmit => "" do -params[:search] =params[:search] || {} %table %tr -if !current_admin.p_commercial %td Commercial : =select_tag "search[p_commercial_id]", options_for_select([["",""],["Aucun","null"]]+PCommercial.order(:name).all.map{|a| [a.member_label, a.id]}, params[:search][:p_commercial_id]) =render :partial => "qi/qi_ordered_table_search_footer", :locals => {:collection_object => @p_customer_sheets} =render :partial => "qi/qi_ordered_table", :locals => {:qi_ordered_table_collection => @p_customer_sheets}