This commit is contained in:
Nicolas Bally 2019-06-05 09:35:56 +02:00
parent 7766bf4b33
commit 11ee7df123
2 changed files with 3 additions and 3 deletions

View File

@ -4,8 +4,8 @@
= form.input :reseaux_id, :label => "Réseau :", :collection => Reseaux.where(:parent_id => nil).all, :as => :select, :include_blank => true
=form.input :customer_id, :label => "Client :", :collection => Customer.order(:organisation, :name).all, :as => :select, :include_blank => true, :member_label => :name_for_label
= form.input :start_at, :label => "Début", :as => :date
= form.input :end_at, :label => "Fin", :as => :date
= form.input :start_at, :label => "Début", :as => :qi_date_picker
= form.input :end_at, :label => "Fin", :as => :qi_date_picker
= form.input :price, :label => "Prix :"
= form.input :paid, :label => "Payé ?"

View File

@ -19,7 +19,7 @@
Plateforme Négos
%span
Vous choisissez, nous négocions !
-current_customer.reseauxes.where(:parent_id => nil).each do |reseaux|
-current_customer.reseauxes.where(:parent_id => nil).uniq.each do |reseaux|
-if reseaux.default_part == 3
-reseaux_path = public_reseaux_products_path(:reseaux_id => reseaux.id)