{% extends "base.html" %} {% block title %}{{ customer.company_name }} • Reseller Tracker{% endblock %} {% block content %}

{{ customer.company_name }}

Customer details
Back {% if current_user.role.name in ['Admin','Sales'] %} Edit {% endif %}
BDE
{{ customer.bde_name or '-' }}
Status
{{ customer.status }}
Contact Person
{{ customer.contact_person or '-' }}
Contact Email
{{ customer.contact_email or '-' }}
Contact Phone
{{ customer.contact_phone or '-' }}

Email To
{{ customer.email_to or '-' }}
Email CC
{{ customer.email_cc or '-' }}
Remarks
{{ customer.remarks or '-' }}
Subscription
{% if current_user.role.name in ['Admin','Sales'] %} {{ 'Edit' if customer.subscription else 'Add' }} {% endif %}

{% if customer.subscription %} {% set sub = customer.subscription %}
Plan
{{ sub.plan or '-' }}
Subscription Type
{{ sub.billing_cycle or '-' }}
Users • Cost/User
{{ sub.user_count }} • {{ "%.2f"|format(sub.cost_per_user or 0) }}
Next Renewal Date
{{ sub.next_renewal_date or '-' }}
Period: — {% if sub.prorata_enabled and not sub.prorata_consumed %} Prorata {% endif %}
Confirmation
{{ sub.confirmation_status or 'Pending' }}
{% else %}
No subscription saved yet.
{% endif %}
{% if customer.subscription and customer.subscription.next_renewal_date and customer.subscription.billing_cycle %} {% endif %} {% endblock %}