2023-08-31 12:22:53 +02:00
|
|
|
= render partial: 'shared/dossiers/update_champs', locals: { to_show: @to_show, to_hide: @to_hide, to_update: @to_update, dossier: @dossier }
|
2024-06-05 17:36:25 +02:00
|
|
|
|
|
|
|
- if !params.key?(:validate)
|
2024-06-05 19:16:41 +02:00
|
|
|
- if @can_passer_en_construction_was && !@can_passer_en_construction_is
|
2024-06-05 17:36:25 +02:00
|
|
|
= turbo_stream.append('contenu', render(Dossiers::InvalidIneligibiliteRulesComponent.new(dossier: @dossier)))
|
2024-06-05 19:16:41 +02:00
|
|
|
- else @ineligibilite_rules_is_computable
|
|
|
|
= turbo_stream.remove(dom_id(@dossier, :ineligibilite_rules_broken))
|
2024-06-14 10:52:33 +02:00
|
|
|
- if @dossier.champs.any? { _1.used_by_routing_rules? && params[:dossier][:champs_public_attributes].key?(_1.stable_id.to_s) }
|
|
|
|
= turbo_stream.update "contact_information", partial: 'shared/dossiers/update_contact_information', locals: { dossier: @dossier, procedure: @procedure }
|