add mention if user_deleted and move dossier info back to info_generales
This commit is contained in:
parent
90a7ecef52
commit
76947a5ccf
5 changed files with 19 additions and 26 deletions
|
@ -20,31 +20,11 @@
|
|||
= render partial: 'instructeurs/dossiers/header_actions', locals: { dossier: dossier }
|
||||
= render(partial: 'instructeurs/dossiers/print_and_export_actions', locals: {dossier: dossier})
|
||||
|
||||
|
||||
= render(partial: 'instructeurs/dossiers/expiration_banner', locals: {dossier: dossier})
|
||||
|
||||
- if dossier.motivation.present?
|
||||
- if dossier.user_deleted?
|
||||
%p.fr-mb-1w
|
||||
%small
|
||||
%strong
|
||||
Motivation :
|
||||
« #{dossier.motivation} »
|
||||
|
||||
- if dossier.justificatif_motivation.attached?
|
||||
%p.fr-mb-0
|
||||
%small
|
||||
%strong
|
||||
Justificatif :
|
||||
Ce justificatif joint par l’instructeur a été envoyé au demandeur.
|
||||
= render partial: 'users/dossiers/show/download_justificatif', locals: { dossier: dossier }
|
||||
|
||||
- if dossier.attestation.present?
|
||||
%p.fr-mb-0
|
||||
%small
|
||||
%strong
|
||||
Cette attestation a été envoyée automatiquement au demandeur.
|
||||
= link_to('Voir l’attestation', attestation_instructeur_dossier_path(dossier.procedure, dossier), target: '_blank', rel: 'noopener')
|
||||
|
||||
%small L’usager a supprimé son compte. Vous pouvez archiver puis supprimer le dossier.
|
||||
|
||||
%nav.tabs
|
||||
%ul
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue