bugfix doc type name
This commit is contained in:
parent
9abd0b87cf
commit
aca25bb1cb
@ -168,7 +168,7 @@ class ApplicationController < ActionController::Base
|
|||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
set_sub_menu :documents, :"p_document_type_reponse_fournisseur", "Réponses fournisseurs", admin_price_documents_path(:price_document_type_id => 9)
|
# set_sub_menu :documents, :"p_document_type_reponse_fournisseur", "Réponses fournisseurs", admin_price_documents_path(:price_document_type_id => PriceDocumentType.find_by(label: "Réponse fournisseur").id)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -144,7 +144,7 @@
|
|||||||
|
|
||||||
-tr[:actions] = capture do
|
-tr[:actions] = capture do
|
||||||
%td.actions
|
%td.actions
|
||||||
-if price_document.price_document_type.label == "Demande de prix"
|
-if price_document.price_document_type.label == "Demande prix"
|
||||||
=link_to i("bar-chart"), analyse_reponses_admin_price_document_path(price_document)
|
=link_to i("bar-chart"), analyse_reponses_admin_price_document_path(price_document)
|
||||||
-if !price_document.imported
|
-if !price_document.imported
|
||||||
-if current_admin.has_permission?("payments")
|
-if current_admin.has_permission?("payments")
|
||||||
|
Reference in New Issue
Block a user