{% extends "scm/base.html" %} {% block content %}

Tender {{ tender.tender_no }}

PR {{ tender.pr.pr_no }} — {{ tender.pr.pr_title }}
Tender Register
Tender Summary
Status
{{ tender.status }}
Initiated By
{{ tender.initiated_by }}
Initiated At
{{ tender.initiated_at|date:"d-m-Y H:i" }}
Department
{{ tender.pr.department }}
{% if tender.status == "BIDDING" or tender.status == "EVALUATION" %}
Vendor Bidding — {% if edit_bid %}Edit Quotation{% else %}Add Quotation{% endif %}
{% csrf_token %}
{% for d in pr_details %}{% empty %}{% endfor %}
LineKIMAPDescriptionQuantityUOMQuoted Unit Price
{{ d.line_no }}{{ d.kimap }}{{ d.description }}{{ d.quantity }}{{ d.uom }}
No PR detail lines.
{% if edit_bid %} Cancel Edit{% endif %}
{% endif %}
Vendor Quotation Register
{% for b in bids %} {% empty %}{% endfor %}
VendorQuotationCurrencyTotalTechnicalCommercialDeliveryStatusAction
{{ b.vendor_code }} — {{ b.vendor_name }}{{ b.quotation_no }}
{{ b.quotation_date|date:"d-m-Y" }}
{{ b.currency }}{{ b.total_amount|floatformat:2 }}{{ b.technical_result }}{{ b.commercial_result }}{{ b.delivery_date|date:"d-m-Y" }}
{{ b.delivery_terms }}
{{ b.status }}{% if tender.status == "BIDDING" or tender.status == "EVALUATION" %}{% if tender.recommendation_bid_id != b.id %}
{% csrf_token %}
{% endif %}{% endif %}
No quotations recorded.
{% if bids %}
Technical & Commercial Evaluation
{% for b in bids %}
{% csrf_token %}
{{ b.vendor_name }}
{% endfor %}
{% endif %} {% if tender.status == "EVALUATION" %}
Award Recommendation
{% csrf_token %}
{% endif %} {% if tender.status == "PENDING PRESIDENT" %}
President Approval

Recommended vendor: {% if recommended_bid %}{{ recommended_bid.vendor_name }} — {{ recommended_bid.currency }} {{ recommended_bid.total_amount|floatformat:2 }}{% endif %}

{% csrf_token %}
{% endif %} {% if tender.status == "AWARDED" %}
PO Handover
Award approved. Winner and approved quotation are ready for the PO handover step. PO creation integration remains subject to the existing PO flow.
{% endif %}
{% endblock %}