diff --git a/app/facades/dossiers_list_facades.rb b/app/facades/dossiers_list_facades.rb index 5f18c6a67..9f2b556b7 100644 --- a/app/facades/dossiers_list_facades.rb +++ b/app/facades/dossiers_list_facades.rb @@ -22,11 +22,11 @@ class DossiersListFacades end def total_new_dossier - current_devise_profil.dossiers.where(state: :initiated).not_archived.count + current_devise_profil.dossiers.state_nouveaux.not_archived.count end def new_dossier_number procedure_id - current_devise_profil.dossiers.where(state: :initiated).not_archived.where(procedure_id: procedure_id).count + current_devise_profil.dossiers.state_nouveaux.not_archived.where(procedure_id: procedure_id).count end def gestionnaire_procedures_name_and_id_list