diff --git a/hr/views.py b/hr/views.py index ba468d0..ce2158e 100644 --- a/hr/views.py +++ b/hr/views.py @@ -171,7 +171,7 @@ def update_application(request, applicationid, status): app = get_object_or_404(Application, id=applicationid) # Allow admins and users that are setting the application as awaiting review - if hrstaff or (app.user == request.user and int(status) == APPLICATION_STATUS_AWAITINGREVIEW): + if hrstaff or app.user == request.user: if not app.status == status: app.status = status app.save(user=request.user) diff --git a/templates/hr/applications/view.html b/templates/hr/applications/view.html index 63107b8..64982c3 100644 --- a/templates/hr/applications/view.html +++ b/templates/hr/applications/view.html @@ -20,6 +20,8 @@

{% if app.status < 1 %} Submit Application,  +{% else %} +Withdraw Application,  {% endif %} {% if hrstaff %} Add Note