{% extends "vendor/manage/base.html" %}
{% load i18n %}
{% block vendor_content %}
{% trans 'Admin: Profile Details' %}
{% trans 'Name' %}
{{ object.user.first_name }}
{% trans 'Last Name' %}
{{ object.user.last_name }}
{% trans 'E-Mail' %}
{{ object.user.email }}
{% trans 'Username' %}
{{ object.user.username }}
{% trans 'Product' %} |
{% trans 'Actions' %} |
{% for receipt in object.get_active_receipts %}
{{ receipt.products.first.name }}
{{receipt.start_date|date:"Y-m-d"}} to {{receipt.end_date|default_if_none:"inf"|date:"Y-m-d"}}
|
|
{% endfor %}
{% trans 'Product' %} |
{% trans 'Actions' %} |
{% for receipt in object.get_inactive_receipts %}
{{ receipt.products.first.name }}
{{receipt.start_date|date:"Y-m-d"}} to {{receipt.end_date|date:"Y-m-d"}}
|
|
{% endfor %}
{% trans 'Offer' %} |
|
{% for offer in free_offers %}
{{ offer }} |
|
{% endfor %}
{% trans 'Subscriptions' %}
{% for subscription in object.get_active_subscriptions %}
{% if subscription.status < 30 %}
{% endif %}
{% endfor %}
{% trans 'Invoices' %}
{% trans '#' %} |
{% trans 'Date Created' %} |
{% trans 'Status' %} |
{% trans 'Subtotal' %} |
{% trans 'Tax' %} |
{% trans 'Total' %} |
{% trans 'Currency' %} |
|
{% for invoice in invoices %}
{{invoice.pk }} |
{{invoice.created|date:'Y-m-d' }} |
{{invoice.get_status_display }} |
{{invoice.subtotal }} |
{{invoice.tax }} |
{{invoice.total }} |
{{invoice.currency }} |
{% trans 'Payments' %} |
{% trans '#' %} |
{% trans 'Transaction' %} |
{% trans 'Amount' %} |
{% trans 'Payee' %} |
{% trans 'Account' %} |
{% trans 'Success' %} |
{% for payment in invoice.payments.all %}
|
{{payment.pk}} |
{{payment.transaction}} |
{{payment.amount}} |
{{payment.payee_full_name}} |
{{payment.result.payment_info.account_number}} |
{{payment.success}} |
{% endfor %}
{% trans 'Receipts' %} |
{% trans '#' %} |
{% trans 'Transaction' %} |
{% trans 'Name' %} |
{% trans 'Start Date' %} |
{% trans 'End Date' %} |
{% trans 'Status' %} |
{% trans 'Actions' %} |
{% for order_item in invoice.order_items.all %}
{% for receipt in order_item.receipts.all %}
|
{{receipt.pk}} |
{{receipt.transaction}} |
{{order_item.name}} |
{{receipt.start_date|date:'Y-m-d'}} |
{{receipt.end_date|date:'Y-m-d'}} |
{{receipt.get_status_display}} |
{% trans 'TBD' %} |
{% comment %}
{% trans 'Refund' %} |
{% endcomment %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endblock %}