{% extends "vendor/manage/base.html" %} {% load i18n %} {% block vendor_content %}

{% trans 'Admin: Subscription Detail' %}

{% trans 'Subscription Overview' %}

{{ object.gateway_id}}

{{ object.name}}

{{ object.receipts.first.order_item.offer.offer_description|default_if_none:"" }}

{% trans 'Transaction' %}
{{object.gateway_id}}
{% trans 'Auto Renew' %}
{{ object.auto_renew }}
{% trans 'Term Type' %}
{{object.receipts.first.order_item.offer.get_terms_display}}
{% trans 'Trial Period' %}
{{object.receipts.first.order_item.offer.term_details.trial_occurrences|default:'0'}} {% if object.receipts.first.order_item.offer.term_details.term_units == 10 %} {% trans 'Days' %} {% else %} {% trans 'Months' %} {% endif %}
{% trans 'Ends On' %}
{{ object.receipts.last.end_date|date:'Y-M-d' }}
{% trans 'Cost' %}
${{ object.payments.last.amount }} {{ object.receipts.first.order_item.invoice.currency|upper }}
{% trans 'Actions:' %}
{% if object.status == 30 %}
{% csrf_token %}
{% else %}
{% csrf_token %}
{% endif %}
{% trans 'Billing' %}
{% trans 'Customer Name' %}
{{payment.profile.user.first_name}}
{% trans 'Customer Last Name' %}
{{payment.profile.user.last_name}}
{% trans 'Customer E-Mail' %}
{{payment.profile.user.email}}
{% trans 'Name on Card' %}
{{payment.payee_full_name}}
{% trans 'Account' %}
{{payment.result.payment_info.account_number}}
{% trans 'Billing Address:' %}
{{payment.billing_address.get_address_display}}
{% if billing_form %} {% endif %}

{% trans 'Payments' %}
{% for payment in payments %} {% endfor %}
{% trans '#' %} {% trans 'Invoice' %} {% trans 'Transaction' %} {% trans 'Submitted Date' %} {% trans 'Amount' %} {% trans 'Status' %} {% trans 'Succeded' %}
{{payment.pk }} {{payment.invoice.pk }} {{payment.transaction }} {{payment.submitted_date|date:'Y-m-d' }} {{payment.amount }} {{payment.get_status_display }} {{payment.success }}
{% trans 'Receipts' %}
{% for receipt in receipts %} {% endfor %}
{% trans '#' %} {% trans 'Invoice' %} {% trans 'Transaction' %} {% trans 'Start Date' %} {% trans 'End Date' %}
{{receipt.pk }} {{receipt.order_item.invoice.pk }} {{receipt.transaction }} {{receipt.start_date|date:'Y-m-d' }} {{receipt.end_date|date:'Y-m-d' }}
{% endblock %}