diff options
author | Francis Irving <francis@mysociety.org> | 2009-12-11 09:06:26 +0000 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2009-12-11 09:06:26 +0000 |
commit | c457f563d619f2493040f6052e66377054e42b0b (patch) | |
tree | d9016e1dae151d16789f1c59c199e6ca58063f89 /app/models/info_request.rb | |
parent | 363c90ecdc7d9ef93232034237da12416bde39fe (diff) |
Extend long stop deadline to 60 working days for schools.
Change basic display text.
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r-- | app/models/info_request.rb | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb index ca5a79b65..e199c682c 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -593,7 +593,13 @@ public # days is a very long time. def date_very_overdue_after last_sent = last_event_forming_initial_request - return Holiday.due_date_from(self.date_initial_request_last_sent_at, 40) + if self.public_body.is_school? + # schools have 60 working days maximum (even over a long holiday) + return Holiday.due_date_from(self.date_initial_request_last_sent_at, 60) + else + # public interest test ICO guidance gives 40 working maximum + return Holiday.due_date_from(self.date_initial_request_last_sent_at, 40) + end end # Where the initial request is sent to @@ -723,9 +729,9 @@ public elsif status == 'waiting_response' "Awaiting response." elsif status == 'waiting_response_overdue' - "Response overdue." + "Response delayed." elsif status == 'waiting_response_very_overdue' - "Response long overdue." + "Long overdue." elsif status == 'not_held' "Information not held." elsif status == 'rejected' |