chore(manager): improve filled piece justificative champ detection

This commit is contained in:
Colin Darie 2022-11-14 22:12:40 +01:00
parent d4eed1c631
commit d0193c776f

View file

@ -8,14 +8,14 @@
%td.cell-data{ class: [row.visible? ? nil : "cell-disabled"] }
- if row.visible?
- if row.blank? && row.mandatory?
- if row.mandatory_blank?
🔴
- else
🟢
- if !row.visible? && row.conditional?
masqué, conditionnel
- elsif row.blank?
- elsif row.blank? && !row.piece_justificative_file.attached?
vide
- else
rempli