Dossier: delete state_nouveaux which is similar to en_construction

This commit is contained in:
Simon Lehericey 2017-12-05 16:03:33 +01:00 committed by LeSim
parent 7cc69de543
commit 4be6cb9126
3 changed files with 4 additions and 5 deletions

View file

@ -22,11 +22,11 @@ class DossiersListFacades
end
def total_new_dossier
current_devise_profil.dossiers.state_nouveaux.not_archived.count
current_devise_profil.dossiers.state_en_construction.not_archived.count
end
def new_dossier_number procedure_id
current_devise_profil.dossiers.state_nouveaux.not_archived.where(procedure_id: procedure_id).count
current_devise_profil.dossiers.state_en_construction.not_archived.where(procedure_id: procedure_id).count
end
def gestionnaire_procedures_name_and_id_list