.qi_header .right= link_to ic(:plus)+' Ajouter un client', new_admin_p_customer_path(), :class => "btn btn-primary btn-ap-add", :remote => false %h1 Ventes %span Clients .qi_search_row -params[:search] = params[:search] || {} =form_tag "", :method => "get", :onsubmit => "" do =hidden_field_tag :column, params[:column] =hidden_field_tag :direction, params[:direction] =hidden_field_tag :action_type, params[:action_type] =hidden_field_tag :offre, params[:offre] %table %tr =#boolean_search_field(:enabled, "Actif :") =#text_search_field(:code, "Code") =#option_search_field(:p_payment_type_id, "Type de paiement :", PPaymentType.all, :name) %td=text_field_tag :code, params[:code],:class => "form-control", :placeholder => "Code client" %td=text_field_tag :name, params[:name],:class => "form-control", :placeholder => "Nom" %td=text_field_tag :city, params[:city],:class => "form-control", :placeholder => "Ville" %td=text_field_tag :tel, params[:tel],:class => "form-control", :placeholder => "Tel" =boolean_search_field(:comptant, "Paiement comptant :") =option_search_field(:p_payment_type_id, "Type de paiement :", PPaymentType.all, :name) =option_search_field(:accounting_zone_id, "Zone de vente :", AccountingZone.all, :name) =render :partial => "qi/qi_ordered_table_search_footer", :locals => {:collection_object => @p_customers} =render :partial => "qi/qi_ordered_table", :locals => {:qi_ordered_table_collection => @p_customers}