{% extends "base.html" %} {% block title %}Invoice Requests{% endblock %} {% block header %}Invoice Requests{% endblock %} {% block content %}
Pending Invoice Requests
Only quotes with Invoice Request = Pending
All Invoices
{% for q in items %} {% set pi = (q.proformas.filter_by(status='Issued').order_by(q.proformas.entity.id.desc()).first() if false else None) %} {% else %} {% endfor %}
Quote Opportunity Jobcard No Requested Amount Actions
{{ q.quote_code }}
Status: {{ q.status.name if q.status else '—' }}
{% if q.opportunity %}
{{ q.opportunity.opp_code }}
{{ q.opportunity.title }}
{% else %} — {% endif %}
{% set jc = jobcard_by_quote.get(q.id) %} {% if jc %} {{ jc.jobcard_code }} {% else %} - {% endif %}
{{ q.invoice_requested_at.strftime('%d-%b-%Y %H:%M') if q.invoice_requested_at else '—' }}
{% if q.invoice_requested_by %}
by {{ q.invoice_requested_by.name }}
{% endif %} {% if q.invoice_request_note %}
{{ q.invoice_request_note }}
{% endif %}
₹ {{ indian_amount((q.total_amount or 0)|float) }} Open Quote {# Finance should generate from PI view (since route needs pi_id). #} Generate
No pending invoice requests ✅
{% endblock %}