django-refunds/refunding/templates/refunding/payments.html

17 lines
625 B
HTML

{% extends 'base.html' %}
{% load l10n %}
{% block content %}
<h1>
{% block title %}Payments to refund{% endblock %}
{% if user.is_authenticated and perms.refunding.add_payment %}
<div class="btn-group pull-right">
<a class="btn btn-success" href="{% url 'new_payment' %}">
<span class="glyphicon glyphicon-plus"></span>
</a>
</div>
{% endif %}
</h1>
{% include 'refunding/elements_list.html' with elements=payments %}
<a href="{% url 'already_refunded_payments' %}">Only refunded payments</a>
{% endblock %}