{% extends "core/base.html" %}
{% load material_form i18n %}
{% load render_table from django_tables2 %}
{% block browser_title %}{{ object.transaction_id }}{% endblock %}
{% block content %}
{% trans "Invoice" %} {{ object.transaction_id }} — {{ object.created.date }}
{% trans "Back" %}
{% trans "Billing information" %}
|
{{ object.billing_first_name }} {{object.billing_last_name }} |
|
{{ object.billing_address_1 }} {{ object.billing_address_2 }} |
{{ object.billing_postcode }} {{ object.billing_city}} |
|
{{ object.billing_email }}
|
{% trans "Payment" %}
{% if object.variant == "paypal" %}
{% elif object.variant == "sofort" %}
{% endif %}
|
{{ object.variant }}
|
{% if object.status == "waiting" or object.status == "input" %}
{% elif object.status == "rejected" or object.status == "error" %}
{% elif objects.status == "preauth" %}
{% elif objects.status == "confirmed" %}
{% elif object.status == "refunded" %}
{% endif %}
|
{{ object.get_status_display }}
|
{% if object.status == "waiting" or object.status == "rejected" or object.status == "input" %}
{% endif %}
{% render_table object.purchased_items_table %}
{% render_table object.totals_table %}
{% endblock %}