WIP analyse

This commit is contained in:
Barnabé 2021-09-06 18:04:45 +02:00
parent 05963478a4
commit 9d24db2178

View File

@ -119,17 +119,7 @@
/ Date du px de référence / Date du px de référence
%td.limit %td.limit
/ spec / spec
- form = false
- if form
%td
= radio_button_tag "price_selected_#{}", price_line.id
= label_tag "price line i = #{price_line.id}"
- if false
- form_with do |form|
%td
= debug form
=form.collection_radio_buttons :selected_price, price_lines, :id, :cc_title
- else
- @price_document_responses.each do |resp| - @price_document_responses.each do |resp|
-line = resp.price_line_block.price_lines.where(p_product_ref: price_line.p_product_ref).first -line = resp.price_line_block.price_lines.where(p_product_ref: price_line.p_product_ref).first
-cell = [] -cell = []
@ -156,7 +146,6 @@
- else - else
- display_comment = line.comment - display_comment = line.comment
- cell << "<span class='info'>#{ic('info-circle')} #{display_comment}<span class='info-text'>#{line.comment}</span></span>" - cell << "<span class='info'>#{ic('info-circle')} #{display_comment}<span class='info-text'>#{line.comment}</span></span>"
-# cell << "<span class=info>#{ic('info-circle')} #{display_comment}</span>"
%td.p-0 %td.p-0
= radio_button_tag "ref_price_selected_#{price_line.p_product_ref.id}", line.id, false, class: "category-selector" = radio_button_tag "ref_price_selected_#{price_line.p_product_ref.id}", line.id, false, class: "category-selector"