typo
This commit is contained in:
parent
0020ee07ec
commit
198cdbe898
@ -193,7 +193,7 @@
|
|||||||
%h3 Lignes de produits
|
%h3 Lignes de produits
|
||||||
.mb-3
|
.mb-3
|
||||||
- if @price_document.cc_label == "Consultation fournisseur"
|
- 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")
|
- existing_order = PriceDocument.where(doc_ref_id: @price_document.id, cc_label: "Commande achat")
|
||||||
|
|
||||||
- if existing_order.present?
|
- if existing_order.present?
|
||||||
@ -392,7 +392,7 @@
|
|||||||
|
|
||||||
= semantic_form_for [:admin, price_document_consult], :html => {:class => "qi_price_form"}, :remote => false do |form|
|
= 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"
|
= 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")
|
- existing_order = PriceDocument.where(doc_ref_id: price_document_consult.id, cc_label: "Commande achat")
|
||||||
- if existing_order.present?
|
- if existing_order.present?
|
||||||
= link_to ic(:eye) + " Afficher la commande", admin_price_document_path(existing_order.first), class: "btn btn-tertiary"
|
= link_to ic(:eye) + " Afficher la commande", admin_price_document_path(existing_order.first), class: "btn btn-tertiary"
|
||||||
|
Reference in New Issue
Block a user