From 8e7442dcc044b9c14005d2413357a358b4a3d166 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A9?= Date: Thu, 23 Sep 2021 17:51:41 +0200 Subject: [PATCH] filter consult --- app/views/admin/price_documents/show.html.haml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/admin/price_documents/show.html.haml b/app/views/admin/price_documents/show.html.haml index e7b30d4..1f7bc6a 100644 --- a/app/views/admin/price_documents/show.html.haml +++ b/app/views/admin/price_documents/show.html.haml @@ -376,6 +376,7 @@ .clear =render :partial => "qi/qi_ordered_table", :locals => {:qi_ordered_table_collection => @price_documents, :key => "reponses-prix-show"} + -@price_documents = PriceDocument.where(:doc_ref_id => @price_document.id, :price_document_type_id => PriceDocumentType.find_by_label("Consultation fournisseur").id) %h3.ml-2 Consultations fournisseur : #consult