{% extends "base.html" %} {% block title %}Pending PI Requests{% endblock %} {% block header %}Pending PI Requests{% endblock %} {% block content %}
Pending PI Requests Pending
Generate PI only after Proposal is Confirmed and Quote status is Sent.
{% for q in items %} {% set can_generate = (q.proposal_confirmed_at is not none) and (q.status and q.status.name == "Sent") and (q.pi_request_status == "Pending") %} {% endfor %} {% if items|length == 0 %} {% endif %}
Quote Opportunity Jobcard No Requested Eligibility Action
v{{ q.version }}
{{ q.status.name if q.status else '—' }}
{{ q.opportunity.title if q.opportunity else '—' }}
{{ q.opportunity.company if q.opportunity else '—' }}
{% set jc = jobcard_by_quote.get(q.id) %} {% if jc %} {{ jc.jobcard_code }} {% else %} - {% endif %}
Pending
{% if q.pi_requested_at %} {{ q.pi_requested_at.strftime("%d %b %Y, %I:%M %p") }} {% else %} — {% endif %} {% if q.pi_requested_by %}
by {{ q.pi_requested_by.name }}
{% endif %}
{% if q.pi_request_note %}
{{ q.pi_request_note }}
{% endif %}
{% if q.proposal_confirmed_at %} Proposal Confirmed {% else %} Not Confirmed {% endif %}
{% if q.status and q.status.name == "Sent" %} Status Sent {% else %} Not Sent {% endif %}
View {% if can_generate %}
{% else %} {% endif %}
No pending PI requests found.
{% endblock %}