2022-03-22 15:00:26 +01:00
|
|
|
.card.warning.mb-3.no-list
|
|
|
|
- if dossier.procedure.discarded?
|
|
|
|
.flex.justify-between
|
|
|
|
.card-title= t('users.dossiers.header.banner.procedure_deleted_title')
|
|
|
|
= render(partial: 'users/dossiers/show/print_dossier', locals: { dossier: dossier}) if !dossier.brouillon?
|
|
|
|
- if dossier.termine?
|
|
|
|
%p
|
|
|
|
= t('users.dossiers.header.banner.procedure_deleted_dossier_termine_content')
|
|
|
|
- elsif dossier.brouillon?
|
|
|
|
%p
|
|
|
|
= t('users.dossiers.header.banner.procedure_close_content')
|
|
|
|
- else
|
|
|
|
%p
|
|
|
|
= t('users.dossiers.header.banner.procedure_deleted_dossier_en_cours_content')
|
2022-05-05 15:16:22 +02:00
|
|
|
%p
|
|
|
|
= t('users.dossiers.header.banner.contact_service', service_name: dossier.procedure.service.nom, service_phone_number: dossier.procedure.service.telephone, service_email: dossier.procedure.service.email)
|
2022-03-22 15:00:26 +01:00
|
|
|
|
|
|
|
- else
|
|
|
|
.flex.justify-between
|
|
|
|
.card-title= t('users.dossiers.header.banner.procedure_close_title')
|
|
|
|
= render(partial: 'users/dossiers/show/print_dossier', locals: { dossier: dossier }) if !dossier.brouillon?
|
|
|
|
%p
|
|
|
|
= t('users.dossiers.header.banner.procedure_close_content')
|
2022-05-05 15:16:22 +02:00
|
|
|
%p
|
|
|
|
= t('users.dossiers.header.banner.contact_service', service_name: dossier.procedure.service.nom, service_phone_number: dossier.procedure.service.telephone, service_email: dossier.procedure.service.email)
|
2022-03-22 15:00:26 +01:00
|
|
|
|