extract estimate_weight
and rename nb_dossiers by nb_dossiers_termines
This commit is contained in:
parent
b8f01d06d7
commit
41569efe9d
4 changed files with 14 additions and 13 deletions
|
@ -7,8 +7,7 @@ module Instructeurs
|
|||
@average_dossier_weight = procedure.average_dossier_weight
|
||||
|
||||
@count_dossiers_termines_by_month = Traitement.count_dossiers_termines_by_month(groupe_instructeurs)
|
||||
@nb_dossiers = @count_dossiers_termines_by_month.sum { |count_by_month| count_by_month["count"] }
|
||||
@poids_total = @nb_dossiers * @average_dossier_weight
|
||||
@nb_dossiers_termines = @count_dossiers_termines_by_month.sum { |count_by_month| count_by_month["count"] }
|
||||
|
||||
@archives = Archive
|
||||
.for_groupe_instructeur(groupe_instructeurs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue