DossierListFacade: use en_construction scope
This commit is contained in:
parent
40b9a77395
commit
640a42d6cc
1 changed files with 2 additions and 2 deletions
|
@ -22,11 +22,11 @@ class DossiersListFacades
|
||||||
end
|
end
|
||||||
|
|
||||||
def total_new_dossier
|
def total_new_dossier
|
||||||
current_devise_profil.dossiers.state_en_construction.not_archived.count
|
current_devise_profil.dossiers.en_construction.count
|
||||||
end
|
end
|
||||||
|
|
||||||
def new_dossier_number procedure_id
|
def new_dossier_number procedure_id
|
||||||
current_devise_profil.dossiers.state_en_construction.not_archived.where(procedure_id: procedure_id).count
|
current_devise_profil.dossiers.en_construction.where(procedure_id: procedure_id).count
|
||||||
end
|
end
|
||||||
|
|
||||||
def gestionnaire_procedures_name_and_id_list
|
def gestionnaire_procedures_name_and_id_list
|
||||||
|
|
Loading…
Reference in a new issue