This commit is contained in:
Nicolas Bally 2017-06-06 17:11:46 +02:00
parent e9d2c53e22
commit 3d8d184a3f
2 changed files with 4 additions and 4 deletions

View File

@ -71,7 +71,7 @@
=link_to i(:envelope), new_public_customer_message_path(:thing_type => "Customer", :thing_id => reseaux.chef_reseau.id) =link_to i(:envelope), new_public_customer_message_path(:thing_type => "Customer", :thing_id => reseaux.chef_reseau.id)
-current_customer.reseauxes.where(:parent_id => reseaux.id).each do |reseaux| -Reseaux.where(:parent_id => reseaux.id).order(:name).each do |reseaux|
%tr %tr
%td %td
   

View File

@ -103,7 +103,7 @@
%div{:style => "position:absolute;top:-30px;right:10px;"} %div{:style => "position:absolute;top:-30px;right:10px;"}
Gains : Gains :
=number_to_currency gain =number_to_currency gain
-if @reseaux.id != 2
%h3 Les besoins de mon réseau %h3 Les besoins de mon réseau
=render collection: @reseaux.needs, partial: 'public/needs/need_item', as: :need =render collection: @reseaux.needs, partial: 'public/needs/need_item', as: :need