[fix #504] Dossier: received -> en_instruction

This commit is contained in:
LeSim 2017-12-14 15:53:02 +01:00
parent 72bae2c374
commit 3dda27b281
40 changed files with 143 additions and 108 deletions

View file

@ -14,7 +14,7 @@ class ProcedureOverview
@old_dossiers_en_instruction = procedure
.dossiers
.state_en_instruction
.where('received_at < ?', 1.week.ago)
.where('en_instruction_at < ?', 1.week.ago)
@dossiers_en_construction_count = procedure.dossiers.state_en_construction.count
@old_dossiers_en_construction = procedure