{% extends "wagtailadmin/base.html" %} {% load i18n %} {% block titletag %}{% trans "Customers" %}{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %} {% include "wagtailadmin/shared/header.html" with title="Customers" icon="group" %}
{% trans "Clear" %}
{% if customers %}
{% csrf_token %}
{% for customer in customers %} {% endfor %}
{% trans "User" %} {% trans "Email" %} {% trans "Company" %} {% trans "Subscription" %} {% trans "Status" %} {% trans "MRR" %} {% trans "Joined" %} {% trans "Actions" %}
{{ customer.user.get_full_name|default:customer.user.username }} {{ customer.billing_email|default:customer.user.email }} {{ customer.company_name|default:"-" }} {% with customer.user.subscriptions.first as subscription %} {% if subscription %} {{ subscription.plan.name }} {% else %} {% trans "No subscription" %} {% endif %} {% endwith %} {% with customer.user.subscriptions.first as subscription %} {% if subscription %} {{ subscription.get_status_display }} {% else %} {% trans "No subscription" %} {% endif %} {% endwith %} {% with customer.user.subscriptions.first as subscription %} {% if subscription %} ${{ subscription.plan.price }} {% else %} $0 {% endif %} {% endwith %} {{ customer.created_at|date:"M j, Y" }} {% trans "View User" %}
{% else %}

{% trans "No customers found" %}

{% trans "Try adjusting your filters or search terms." %}

{% endif %}
{% endblock %}