From 84643c525a8a71263df3a54308b9bfd48400594a Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Fri, 21 Sep 2018 12:22:22 +0200 Subject: [PATCH] suite --- app/views/admin/needs/edit.html.haml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/app/views/admin/needs/edit.html.haml b/app/views/admin/needs/edit.html.haml index 2d14406..516dd1c 100755 --- a/app/views/admin/needs/edit.html.haml +++ b/app/views/admin/needs/edit.html.haml @@ -1,2 +1,20 @@ %h1 Modifier un besoin =render :partial => "form" + + +-if @need.need_furbish_interests.count > 0 + %hr + %h3 Liste des clients interéssés pour devenir fournisseur + %table.table + -@need.need_furbish_interests.each do |nfi| + %tr + %td + =nfi.customer.organisation + %td + =nfi.customer.name + =nfi.customer.firstname + %td + =link_to ic(:eye), edit_admin_customer_path(nfi.customer) + %br + %br + %br \ No newline at end of file