{% extends 'base.html' %} {% load static i18n %} {% block title %}- {{ job.title }} - ATS{% endblock %} {% block customCSS %} {% endblock %} {% block content %}

{% trans "Offer Management" %} - {{ job.title }}

{% trans "Candidates in Offer Stage:" %} {{ candidates|length }}

{% include 'jobs/partials/applicant_tracking.html' %}
{% if candidates %}
{# Use d-flex and align-items-end on the container to align the form and the separator #}
{# Form: Hired/Rejected Status Update #}
{% csrf_token %} {# Select element #} {# Button #}
{# Separator (Vertical Rule) #}
{% endif %}
{% csrf_token %} {% for candidate in candidates %} {% endfor %}
{% if candidates %}
{% endif %}
{% trans "Name" %} {% trans "Contact" %} {% trans "Offer" %} {% trans "Documents" %} {% trans "Actions" %}
{{ candidate.name }}
{{ candidate.email }}
{{ candidate.phone }}
{% if not candidate.offer_status %} {% else %} {% if candidate.offer_status %} {% else %} -- {% endif %} {% endif %} {% with documents=candidate.documents.all %} {% if documents %} {% for document in documents %} {% endfor %}
{{ document.get_document_type_display }}
{% trans "Uploaded" %} {{ document.created_at|date:"M d, Y" }}
{% else %}
{% trans "No documents uploaded" %}
{% endif %} {% endwith %}
{% if not candidates %} {% endif %}
{% endblock %} {% block customJS %} {% endblock %}