{% extends 'production/base.html' %} {% block title %}Quotation Detail{% endblock %} {% block content %}
{% if messages %}
{% for message in messages %} {% endfor %}
{% endif %}
List Product Inquiries
{% for inquiry in inquiries %} {% if inquiry.production_status != "Produced" and inquiry.is_coil_requested == True %} {% endif %} {% endfor %}
QID Product Color Gauge Size PAC UOM Quantity Items Made Production Status Action
{{ inquiry.quotation.qid }} {{ inquiry.product.product_name }} {{ inquiry.color }} {{ inquiry.gauge }} {{ inquiry.size }} {{ inquiry.pac_value }} {{ inquiry.uom }} {{ inquiry.quantity }} {{ inquiry.items_made }} {{ inquiry.production_status }}
{% if inquiry.items_made == inquiry.quantity %} {% else %} {% if inquiry.is_coil_requested %} {% else %}
{% endif %} {% if is_admin %} {% endif %} {% endif %}
{% csrf_token %}
{% for rc in requested_coils %} {% if rc.inquiry == inquiry %} {% endif %} {% endfor %}
Coil Number Meters Used Offcuts Rejects Overproduction Action
{{ rc.coil.coil_number }}
{% if quotation.status == "Produced" %} {% elif quotation.status == "In Production" %} {% elif quotation.status == "Shipped" or quotation.status == "Dispatched" %} {% elif quotation.status == "Recieved" %} {% else %} {% endif %}

Current status: {{ quotation.status }}

{% if dispatch_entry %}
Dispatch Information
{% for dispatch_entry in dispatch_entries %} {% endfor %}
Track Number Transport Cost Driver Name Driver Telephone Vehicle Number Dispatch Date Expected Delivery Date
{{ dispatch_entry.track_number }} {{ dispatch_entry.transport_cost }} {% if dispatch_entry.driver %}{{ dispatch_entry.driver.name }}{% else %}No Driver Assigned{% endif %} {% if dispatch_entry.driver %}{{ dispatch_entry.driver.telephone }}{% else %}N/A{% endif %} {% if dispatch_entry.vehicle %} {{ dispatch_entry.vehicle.car_number }} {% else %} Not Assigned {% endif %} {{ dispatch_entry.dispatch_date }} {{ dispatch_entry.expected_delivery_date }} {% if dispatch_entry.vehicle %} {{ dispatch_entry.vehicle.transport_mode }} {% else %} Not Available {% endif %}
{% endif %}
{% endblock %}