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

Transactions

{% include 'subscriptions/snippets/messages.html' %} {% if transactions %}
{% trans "User" %}
{% trans "Plan" %}
{% trans "Transaction date" %}
{% trans "Amount" %}
{% for transaction in transactions %}
{% trans "User" %} {% if transaction.user %}{{ transaction.user }}{% else %}No user{% endif %}
{% trans "Plan" %} {% if transaction.plan %}{{ transaction.plan }}{% else %}No subscription plan{% endif %}
{% trans "Transaction date" %} {{ transaction.date_transaction }}
{% trans "Amount" %} {% if transaction.amount %}{{ transaction.amount|currency }}{% else %}{{ 0|currency }}{% endif %}
{% trans "View" %}
{% endfor %}
{% else %}

{% trans "No subscription payment transactions have occurred have been added yet." %}

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