chore(manager): improve filled piece justificative champ detection
This commit is contained in:
parent
d4eed1c631
commit
d0193c776f
1 changed files with 2 additions and 2 deletions
|
@ -8,14 +8,14 @@
|
||||||
|
|
||||||
%td.cell-data{ class: [row.visible? ? nil : "cell-disabled"] }
|
%td.cell-data{ class: [row.visible? ? nil : "cell-disabled"] }
|
||||||
- if row.visible?
|
- if row.visible?
|
||||||
- if row.blank? && row.mandatory?
|
- if row.mandatory_blank?
|
||||||
🔴
|
🔴
|
||||||
- else
|
- else
|
||||||
🟢
|
🟢
|
||||||
|
|
||||||
- if !row.visible? && row.conditional?
|
- if !row.visible? && row.conditional?
|
||||||
masqué, conditionnel
|
masqué, conditionnel
|
||||||
- elsif row.blank?
|
- elsif row.blank? && !row.piece_justificative_file.attached?
|
||||||
vide
|
vide
|
||||||
- else
|
- else
|
||||||
rempli
|
rempli
|
||||||
|
|
Loading…
Reference in a new issue