From 198cdbe89813cb2efb6787540b35380d69b34014 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A9?= Date: Fri, 17 Sep 2021 10:09:46 +0200 Subject: [PATCH] typo --- app/views/admin/price_documents/show.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/price_documents/show.html.haml b/app/views/admin/price_documents/show.html.haml index 0e7a91f..47c1885 100644 --- a/app/views/admin/price_documents/show.html.haml +++ b/app/views/admin/price_documents/show.html.haml @@ -193,7 +193,7 @@ %h3 Lignes de produits .mb-3 - if @price_document.cc_label == "Consultation fournisseur" - = link_to ic(:clipboard) + " Copier le text", "#", class: "btn btn-primary", "data-document" => @price_document.id, onclick: 'copyPriceLines(event)' + = link_to ic(:clipboard) + " Copier le texte", "#", class: "btn btn-primary", "data-document" => @price_document.id, onclick: 'copyPriceLines(event)' - existing_order = PriceDocument.where(doc_ref_id: @price_document.id, cc_label: "Commande achat") - if existing_order.present? @@ -392,7 +392,7 @@ = semantic_form_for [:admin, price_document_consult], :html => {:class => "qi_price_form"}, :remote => false do |form| = form.button "Valider modifications", type: :submit, class: "btn btn-primary m-2" - = link_to ic(:clipboard) + " Copier le text", "#", class: "btn btn-primary", "data-document" => price_document_consult.id, onclick: 'copyPriceLines(event)' + = link_to ic(:clipboard) + " Copier le texte", "#", class: "btn btn-primary", "data-document" => price_document_consult.id, onclick: 'copyPriceLines(event)' - existing_order = PriceDocument.where(doc_ref_id: price_document_consult.id, cc_label: "Commande achat") - if existing_order.present? = link_to ic(:eye) + " Afficher la commande", admin_price_document_path(existing_order.first), class: "btn btn-tertiary"