{% extends "invoices/base.html" %} {% load invoice_tags %} {% load base_filters %} {% block title %}{{ block.super }}{% trans 'Invoice Refund'%}{% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content %}
{% trans "View Invoice" %} #{{ invoice.pk }}

{% if invoice.bill_to %}{{invoice.bill_to}}
{% endif %} {% if invoice.bill_to_phone %}{{invoice.bill_to_phone}}
{% endif %} {% if invoice.bill_to_email %}{{invoice.bill_to_email}}
{% endif %} {% if invoice.bill_to_address %}{{invoice.bill_to_address}}{% endif %} {% if invoice.bill_to_city %}{{invoice.bill_to_city}}{% endif %} {% if invoice.bill_to_state %}{{invoice.bill_to_state}}{% endif %} {% if invoice.bill_to_zip_code %}{{invoice.bill_to_zip_code}}{% endif %} {% if invoice.bill_to_country %}{{invoice.bill_to_country}}{% endif %}
{{invoice.subtotal|format_currency }}
{{invoice.total|format_currency }}
{{invoice.payments_credits|format_currency }}
{{invoice.balance|format_currency }}

 

{% csrf_token %}
{{ form.amount }}
{% if form.amount.errors %} {{ form.amount.errors }} {% endif %}
{{ form.cancellation_fees }}
{{ invoice.total_less_refunds|format_currency }}
Refund and cancellation fee totalled must be less than or equal to refundable amount
{% if allow_cancel %}
{{form.cancel_registration}}
{% endif %}
{{ form.refund_notes }}


{% endblock %} {% block extra_body %} {{ block.super }} {% endblock %}