mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Added "Flagged for Review" status
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user