{% extends 'subscriptions/base_developer.html' %} {% load i18n %} {% load currency_filters %} {% block title %}DFS Dashboard | User Subscriptions{% endblock %} {% block subscriptions_styles %} {% endblock %} {% block main %}

User Subscriptions

{% include 'subscriptions/snippets/messages.html' %} Create new user subscription {% if users %}
{% trans "User" %}
{% trans "Plan" %}
{% trans "Billing start date" %}
{% trans "Billing end date" %}
{% trans "Last billing date" %}
{% trans "Next billing date" %}
{% trans "Active?" %}
{% trans "Cancelled?" %}
{% for user in users %} {% for subscription in user.subscriptions.all %}
{% trans "User" %} {{ user }}
{% trans "Plan" %} {{ subscription.subscription.plan }}
{{ subscription.subscription.cost|currency }} {{ subscription.subscription.display_billing_frequency_text }}
{% trans "Billing start date" %} {{ subscription.date_billing_start }}
{% trans "Billing end date" %} {{ subscription.date_billing_end }}
{% trans "Last billing date" %} {{ subscription.date_billing_last }}
{% trans "Next billing date" %} {{ subscription.date_billing_next }}
{% trans "Active?" %} {{ subscription.active }}
{% trans "Cancelled?" %} {{ subscription.cancelled }}
{% trans "Edit" %} {% trans "Delete" %}
{% endfor %} {% endfor %}
Create new user subscription {% else %}

{% trans "No user subscriptions have been added yet." %}

{% endif %} {% include 'subscriptions/snippets/pagination.html' with page_obj=page_obj %} {% endblock %}