31 lines
981 B
Plaintext
31 lines
981 B
Plaintext
.qi_header
|
|
=#.right= link_to ic(:plus)+' Ajouter', new_admin_v_bda_path(), :class => "btn btn-primary btn-ap-add", :remote => true
|
|
%h1
|
|
Remises & bons d'achats
|
|
|
|
|
|
|
|
.qi_search_row
|
|
=form_tag "", :method => "get", :onsubmit => "" do
|
|
%table.qi_search_row_top
|
|
%tr
|
|
%td
|
|
Carte :
|
|
%td
|
|
|
|
%input.form-control{:name => "v_contact", :class => "v_contact_autocomplete_input", :type => "text", :value => params[:v_contact]}
|
|
|
|
|
|
= hidden_field_tag "v_contact_id".to_sym, params[:v_contact_id], :class => "v_contact_id"
|
|
|
|
:javascript
|
|
qi_autocomplete('v_contact');
|
|
|
|
=render :partial => "qi/qi_ordered_table_search_footer", :locals => {:collection_object => @v_bdas, :csv => true}
|
|
|
|
|
|
=render :partial => "qi/qi_ordered_table", :locals => {:qi_ordered_table_collection => @v_bdas, :masqued_columns => (!current_admin.super_admin ? [:enabled, :id, :used, :societe_id, :seuil, :email, :sended] : [])}
|
|
|
|
|
|
|