{% extends 'dashboard/layout.html' %}
{% load compress %}
{% load staticfiles %}
{% load currency_filters %}
{% load sorting_tags %}
{% load i18n %}
{% block body_class %}{{ block.super }} refunds{% endblock %}
{% block title %}
{% trans "Refunds" %} | {{ block.super }}
{% endblock title %}
{% block extrascripts %}
{{ block.super }}
{# Translation support for JavaScript strings. #}
{% compress js %}
{% endcompress %}
{% endblock extrascripts %}
{% block breadcrumbs %}
{% endblock breadcrumbs %}
{% block header %}
{% endblock header %}
{% block dashboard_content %}
{% include "dashboard/partials/search_form.html" %}
{% if refunds %}
{% include "dashboard/partials/refund_action_modal.html" %}
{% block refund_list %}
| {% anchor 'id' _("Refund ID") %} |
{% trans "Total Credit" %} |
{% trans "Number of Items" %} |
{% trans "Status" %} |
{% trans "Username" %} |
{% trans "Email" %} |
{% anchor 'created' _("Created") %} |
{% trans "Actions" %} |
{% for refund in refunds %}
|
{{ refund.id }}
|
{{ refund.total_credit_excl_tax|currency:refund.currency }} |
{{ refund.num_items }} |
{{ refund.status }} |
{% if refund.user %}
{{ refund.user.username }}
{% else %}
<{% trans "Deleted" %}>
{% endif %}
|
{% if refund.user %}
{{ refund.user.email }}
{% else %}
<{% trans "Deleted" %}>
{% endif %}
|
{{ refund.created }} |
{% trans "View" %}
{% include "dashboard/partials/refund_buttons.html" %}
|
{% endfor %}
{% endblock refund_list %}
{% include "partials/pagination.html" %}
{% else %}
{{ queryset_description }}
| {% trans "No refunds found." %} |
{% endif %}
{% endblock dashboard_content %}