{% extends "admin/base_site.html" %} {% load i18n admin_urls static admin_modify %} {% block title %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %} {% block branding %}

{{ site_header|default:_('Django administration') }}

{% endblock %} {% block nav-breadcrumbs %} {% endblock %} {% block content %}
{% csrf_token %}

{% trans "Original Invoice Details" %}

{{ invoice.full_number }} - {{ invoice.issued|date:"Y-m-d" }}

{{ invoice.buyer_name }}
{{ invoice.buyer_street }}
{{ invoice.buyer_zipcode }} {{ invoice.buyer_city }}
{{ invoice.buyer_country }} {% if invoice.buyer_tax_number %}
{% trans "Tax ID:" %} {{ invoice.buyer_tax_number }}{% endif %}

#{{ invoice.order.id }} - {{ invoice.user.username }}
{{ invoice.item_description }}

{% trans "Net Amount:" %} {{ invoice.total_net }} {{ invoice.currency }}
{% trans "Tax Amount:" %} {{ invoice.tax_total }} {{ invoice.currency }} ({{ invoice.tax }}%)
{% trans "Total Amount:" %} {{ invoice.total }} {{ invoice.currency }}

{% if invoice.payment_date %}

{% trans "Due:" %} {{ invoice.payment_date|date:"Y-m-d" }}

{% endif %}

{% trans "Credit Note Amounts" %}

{{ form.net_amount }} {{ form.net_amount.errors }} {% if form.net_amount.help_text %}

{{ form.net_amount.help_text }}

{% endif %}
{{ form.tax_amount }} {{ form.tax_amount.errors }} {% if form.tax_amount.help_text %}

{{ form.tax_amount.help_text }}

{% endif %}
{{ form.reason }} {{ form.reason.errors }} {% if form.reason.help_text %}

{{ form.reason.help_text }}

{% endif %}

{% trans "Quick Examples" %}

  • {% trans "Tax refund (customer overcharged):" %} Net: 0, Tax: 21.00
  • {% trans "Additional tax (customer undercharged):" %} Net: 0, Tax: -21.00
  • {% trans "Amount refund (customer overcharged):" %} Net: 50.00, Tax: 10.50
  • {% trans "Full refund:" %} Use the pre-filled default values
{% endblock %}