{% extends 'layout/default.html' %} {% load i18n %} {% load querystring %} {% block title %}{% translate "List Quote" %}{% endblock %} {% block addcss %} {% endblock %} {% block breadcumbheading %} {% if lead == 1 %} {% translate "Manage Lead Quotes" %} {% else %} {% translate "Manage Quotes" %} {% endif %} {% endblock %} {% block breadcumbfirst %} Manage {% if lead == 1 %} Lead {% endif %} Quotes {% endblock %} {% block breadcumbaddmore %} {% endblock %} {% block content %}

Quote List {% if cust|length == 1 %} For {{ cust.0.display_name }} {% endif %}

{% if messages %} {% for message in messages %} {% endfor %} {% endif %}
Reset
{% if quotations %} {%if request.user.role != 4 %} {% endif%} {% for quotation in quotations %} {% if quotation.required_send_to_admin == 1 %} {% else %} {% endif %} {% if quotation.status == 5 and quotation.sent_mail_admin == 1 %} {% elif quotation.sent_mail_admin != 1 and quotation.required_send_to_admin == 1 %} {% elif quotation.sent_mail_admin == 1 and quotation.sent_mail_customer != 1 %} {% elif quotation.status == 4 %} {% else %} {% endif %} {% endfor %}
ID (VER) Customer Status Total Notify AdminNotify Customer Notify Broker Quote PDF Quote By Actions
{{quotation.id}} ({{quotation.latest_version}}) {% if quotation.customer %} {{ quotation.customer }}(Customer) {% else %} {{ quotation.lead }}(Lead) {% endif %} {% if quotation.get_status_display == 'Rejected' %} {% if quotation.reject_reason != None %} {{ quotation.reject_reason }} {% else %} - {% endif %} {% endif %} {{quotation.total_amount}} - - -- -- - {% if quotation.pdf_file %} {% endif %} {% if quotation.quote_by %} {{ quotation.quote_by.userinfo.first_name }} {{ quotation.quote_by.userinfo.last_name }} {% else %} - {% endif %}
{% if quotation.quote_date %} {{quotation.quote_date|date:"d-m-Y"}} {% endif %}
{% if quotation.status == 2 %} {% if quotation.customer is not None %} Add Invoice {% else %} Convert Lead To Customer {% endif %} {% elif quotation.status <= 2 or quotation.status == 5 or quotation.sent_mail_admin == 1 and quotation.admin_response_mail != 1 %} Select {% else %} Select {% endif %}
{% else %} No Record Found. {% endif %}
{% endblock content %} {% block script %} // JavaScript code to handle dropdown change event // Fetch version-related data based on the selected quotation // Clear existing table rows // Populate the table with the fetched data {% endblock script %}