{% extends "base.html" %} {% load static erp_tags labels %} {% block title %}{{ customer }} — {% label "customers.customer" %}{% endblock %} {% block chat_context %} {% endblock %} {% block content %} {# Header Card #}
This {% label "customers.customer" case="lower" %}'s personal data was erased; the account stays for its documents.
{% else %}{% if customer.email %}{{ customer.email }}{% endif %} {% if customer.phone %} · {{ customer.phone }}{% endif %}
{% endif %}First Name
{{ customer.first_name }}
Last Name
{{ customer.last_name }}
{{ customer.display_email|default:"—" }}
Phone
{{ customer.phone|default:"—" }}
Company
{{ customer.company_name|default:"—" }}
Job Title
{{ customer.job_title|default:"—" }}
Customer Type
{{ customer.get_customer_type_display }}
Pricing Tier
{{ customer.get_pricing_tier_display }}
Reason
{{ customer.get_tax_exempt_reason_display|default:"—" }}
Certificate #
{{ customer.tax_exempt_certificate_number|default:"—" }}
Expiration
{{ customer.tax_exempt_expiration|default:"—" }}
Active
{% if customer.is_active %}Yes{% else %}No{% endif %}
Accepts Marketing
{% if customer.accepts_marketing %}Yes{% else %}No{% endif %}
{{ customer.notes|linebreaksbr }}
Of the {{ party_noun }} {{ party.display_name }} this account belongs to.
No current relationships.
{% endfor %} {% if past_relationships %}
{% if addr.first_name or addr.last_name %}{{ addr.first_name }} {{ addr.last_name }}
{% endif %}
{% if addr.company_name %}{{ addr.company_name }}
{% endif %}
{{ addr.address_line_1 }}
{% if addr.address_line_2 %}{{ addr.address_line_2 }}
{% endif %}
{{ addr.city }}, {{ addr.state_province }} {{ addr.postal_code }} {{ addr.country }}
{{ addr.phone }}
{% endif %}{{ addr.delivery_instructions }}
{% endif %}No addresses yet.
{% endfor %}| Quote # | Date | Status | Total |
|---|---|---|---|
| {{ q.quote_number }} | {{ q.created_at|date:"M d, Y" }} | {{ q.get_status_display }} | {{ q.grand_total|money }} |
| No {% label "orders.quote" plural=True case="lower" %} yet. | |||
| Order # | Date | Status | Payment | Total |
|---|---|---|---|---|
| {{ o.order_number }} | {{ o.created_at|date:"M d, Y" }} | {{ o.get_status_display }} | {{ o.get_payment_status_display }} | {{ o.grand_total|money }} |
| No orders yet. | ||||