diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/oxfordshire/report/inspect/state_groups_select.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/web/oxfordshire/report/inspect/state_groups_select.html b/templates/web/oxfordshire/report/inspect/state_groups_select.html index d9db3864a..529e6f403 100644 --- a/templates/web/oxfordshire/report/inspect/state_groups_select.html +++ b/templates/web/oxfordshire/report/inspect/state_groups_select.html @@ -11,11 +11,14 @@ SET state_pretty = { SET state_groups = [ [ loc('New'), [ 'confirmed', 'investigating' ] ], - [ loc('Scheduled'), [ 'action scheduled' ] ], [ loc('Fixed'), [ 'fixed - council' ] ], [ loc('Closed'), [ 'not responsible', 'duplicate', 'unable to fix' ] ] ]; +IF c.user_exists AND c.user.has_body_permission_to('report_instruct'); + CALL state_groups.splice(1, 0, [ [ loc('Scheduled'), [ 'action scheduled' ] ] ]); +END + %] [% DEFAULT current_state = problem.state %] [% INCLUDE 'report/_state_select_field.html' %] |