Added "Flagged for Review" status

This commit is contained in:
2011-02-24 17:14:33 +00:00
parent 9f1ae4fdf9
commit 45d4ee926a
2 changed files with 6 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ APPLICATION_STATUS_REJECTED = 2
APPLICATION_STATUS_ACCEPTED = 3
APPLICATION_STATUS_QUERY = 4
APPLICATION_STATUS_COMPLETED = 5
APPLICATION_STATUS_FLAGGED = 6
APPLICATION_STATUS_CHOICES = (
(APPLICATION_STATUS_NOTSUBMITTED, 'Not Submitted'),
@@ -18,6 +19,7 @@ APPLICATION_STATUS_CHOICES = (
(APPLICATION_STATUS_ACCEPTED, 'Accepted'),
(APPLICATION_STATUS_QUERY, 'In Query'),
(APPLICATION_STATUS_COMPLETED, 'Completed'),
(APPLICATION_STATUS_FLAGGED, 'Flagged For Review'),
)
# Audit Event Type Codes

View File

@@ -29,7 +29,7 @@
<a href="{% url hr.views.add_message app.id %}">Add Message</a>
{% if hrstaff %}
<a href="{% url hr.views.add_note app.id %}">Add Staff Note</a>
{% if app.status < 2 or app.status = 4 %}
{% if app.status < 2 or app.status = 4 or app.status = 6 %}
<a href="{% url hr.views.reject_application app.id %}">Reject Application</a>
{% ifequal app.blacklisted 0 %}
<a href="{% url hr.views.accept_application app.id %}">Accept Application</a>
@@ -37,6 +37,9 @@
{% ifnotequal app.status 4 %}
<a href="{% url hr.views.update_application app.id 4 %}">Mark as In Query</a>
{% endifnotequal %}
{% ifnotequal app.status 6 %}
<a href="{% url hr.views.update_application app.id 6 %}">Flag for Review</a>
{% endifnotequal %}
{% endif %}
{% ifequal app.status 3 %}
<a href="{% url hr.views.update_application app.id 5 %}">Mark as Complete</a>