{% extends "base.html" %} {% load i18n %} {% load custom_filters %} {% block customCSS %} {% endblock customCSS %} {% block content %}
{% if page_obj.has_previous %} {% endif %}
    Page {{ page_obj.number }} of {{ page_obj.paginator.num_pages }}
{% if page_obj.has_next %} {% endif %}
{% for tx in txs %} {% endfor %}
{{ _("Customer Name")}} {{ _("Customer Address")}} {{ _("Customer Phone")}} {{ _("Make") }} {{ _("Model") }} {{ _("VIN") }} {{ _("Trim") }} {{ _("Price") }} {{ _("Quotation") }} {{ _("Invoice") }} {{ _("Staff Member") }}

{{tx.customer.customer_name}}

{{tx.customer.address_1}}

{{tx.customer.phone}}

{{tx.info.make}}

{{tx.info.model}}

{{tx.info.vin}}

{{tx.info.trim}}

{{tx.finance.total}}

{% if tx.has_estimate %}

{{tx.estimate.estimate_number}}
{% if tx.estimate.status == "draft" %} {{tx.estimate.status}} {% elif tx.estimate.status == "in_review" %} {{tx.estimate.status}} {% elif tx.estimate.status == "approved" %} {{tx.estimate.status}} {% elif tx.estimate.status == "completed" %} {{tx.estimate.status}} {% endif %}

{% endif %}
{% if tx.has_invoice %}

{{tx.invoice.invoice_number}}
{% if tx.invoice.is_draft %} {{tx.invoice.invoice_status}} {% elif tx.invoice.is_review %} {{tx.invoice.invoice_status}} {% elif tx.invoice.is_approved %} {{tx.invoice.invoice_status}} {% elif tx.invoice.is_completed %} {{tx.invoice.invoice_status}} {% elif tx.invoice.is_paid %} {{tx.invoice.invoice_status}} {% elif tx.invoice.is_canceled %} {{tx.invoice.invoice_status}} {% elif tx.invoice.is_past_due %} {{ _("Past Due")}} {% endif %}

{% endif %}
{% if car.status == "available" %} {{car.status}} {% elif car.status == "reserved" %} {{car.status}} {% elif car.status == "sold" %} {{car.status}} {% elif car.status == "transfer" %} {{car.status}} {% endif %}
{% if is_paginated %} {% include 'partials/pagination.html' %} {% endif %}
{% endblock %} {% block customJS %} {% endblock customJS %}