remove fake marge

This commit is contained in:
Barnabé 2021-09-23 17:48:13 +02:00
parent 5a979f96dc
commit d9b76dfae9

View File

@ -2,7 +2,7 @@
%h1 %h1
Achats Achats
%span %span
Analyse des réponces à la consiltation Analyse des réponces à la demande de prix
= link_to @price_document.d_number, admin_price_document_path(@price_document) = link_to @price_document.d_number, admin_price_document_path(@price_document)
\- \-
= @price_document.list_designaton = @price_document.list_designaton
@ -175,7 +175,7 @@
- cell << "PA: #{line.ct_u_price_ht} €" - cell << "PA: #{line.ct_u_price_ht} €"
- # mp = calcul de la marge prévisionelle TODO - # mp = calcul de la marge prévisionelle TODO
- line.id.odd? ? mp = 0.17 : mp = 0.11 - line.id.odd? ? mp = 0.17 : mp = 0.11
- if mp.present? - if false
-if mp > 0.15 -if mp > 0.15
- cell << "<span class=green>#{ic(:check)} MP: #{mp * 100} %</span>" - cell << "<span class=green>#{ic(:check)} MP: #{mp * 100} %</span>"
-else -else