dossiers: display the estimate of the entire processing time
Displaying separate estimations for en_construction and en_instruction doesn't really make sense for the users: they want to know how long it is going to take overall, not the petty details of our workflow.
This commit is contained in:
parent
10fee7a12b
commit
d855468cb6
6 changed files with 37 additions and 91 deletions
|
@ -346,14 +346,6 @@ class Procedure < ApplicationRecord
|
|||
percentile_time(:en_construction_at, :processed_at, 90)
|
||||
end
|
||||
|
||||
def usual_verification_time
|
||||
percentile_time(:en_construction_at, :en_instruction_at, 90)
|
||||
end
|
||||
|
||||
def usual_instruction_time
|
||||
percentile_time(:en_instruction_at, :processed_at, 90)
|
||||
end
|
||||
|
||||
PATH_AVAILABLE = :available
|
||||
PATH_AVAILABLE_PUBLIEE = :available_publiee
|
||||
PATH_NOT_AVAILABLE = :not_available
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue