{% extends "base.html" %} {% load i18n static %} {% block title %} {{ _("Quotations") }} {% endblock title %} {% block content %} {% if estimates or request.GET.q %}

{% trans "Quotations" %}

{% include 'partials/search_box.html' %}
{% for estimate in staff_estimates %} {% empty %} {% endfor %}
{% trans "Quotation Number" %} {% trans "Customer" %} {% trans "Status" %} {% trans "Status Date" %} {% trans "Created" %} {% trans "Actions" %}
{{ estimate.estimate_number }} {{ estimate.customer.customer_name }} {% if estimate.status == 'draft' %} {% trans "Draft" %} {% elif estimate.status == 'in_review' %} {% trans "In Review" %} {% elif estimate.status == 'approved' %} {% trans "Approved" %} {% elif estimate.status == 'declined' %} {% trans "Declined" %} {% elif estimate.status == 'canceled' %} {% trans "Canceled" %} {% elif estimate.status == 'completed' %} {% trans "Completed" %} {% elif estimate.status == 'void' %} {% trans "Void" %} {% endif %} {{ estimate.get_status_action_date }} {{ estimate.created }} {% trans "view"|capfirst %}
{% trans "No Quotation Found" %}
{% if page_obj.paginator.num_pages > 1 %}
{% include 'partials/pagination.html' %}
{% endif %}
{% else %} {% url "estimate_create" request.dealer.slug as create_estimate_url %} {% include "empty-illustration-page.html" with value="estimate" url=create_estimate_url %} {% endif %} {% endblock %}