Force state dossier in files lists on gestionnaire board
This commit is contained in:
parent
b48726427d
commit
ab02fe48c3
3 changed files with 35 additions and 24 deletions
|
@ -22,6 +22,10 @@ class DossiersListFacades
|
|||
current_devise_profil.dossiers.where(archived: false).count
|
||||
end
|
||||
|
||||
def total_dossier_follow
|
||||
@current_devise_profil.dossiers_follow.count
|
||||
end
|
||||
|
||||
def total_new_dossier
|
||||
current_devise_profil.dossiers.where(state: :initiated, archived: false).count
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue