52 lines
1.5 KiB
HTML
52 lines
1.5 KiB
HTML
{% extends "lingo/invoicing/manager_campaign_detail.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block breadcrumb %}
|
|
{{ block.super }}
|
|
<a href="{% url 'lingo-manager-invoicing-pool-detail' pk=object.pk pool_pk=pool.pk %}">{% trans "Pool" %}</a>
|
|
{% endblock %}
|
|
|
|
{% block appbar %}
|
|
<h2>{{ pool.created_at|date:"DATETIME_FORMAT" }}</h2>
|
|
{% if pool.draft %}
|
|
<span class="actions">
|
|
<a href="{% url 'lingo-manager-invoicing-pool-delete' pk=object.pk pool_pk=pool.pk %}" rel="popup">{% trans "Delete" %}</a>
|
|
</span>
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<table class="main">
|
|
<thead>
|
|
<tr>
|
|
<th>{% trans "PK" %}</th>
|
|
<th>{% trans "Invoice PK" %}</th>
|
|
<th>{% trans "Label" %}</th>
|
|
<th>{% trans "Event" %}</th>
|
|
<th>{% trans "Quantity" %}</th>
|
|
<th>{% trans "Unit amount" %}</th>
|
|
<th>{% trans "Total amount" %}</th>
|
|
<th>{% trans "User" %}</th>
|
|
<th>{% trans "Payer" %}</th>
|
|
<th>{% trans "Status" %}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for line in lines %}
|
|
<tr>
|
|
<td>{{ line.pk }}</td>
|
|
<td>{{ line.invoice_id|default:'' }}</td>
|
|
<td>{{ line.label }}</td>
|
|
<td>{{ line.event.slug }}</td>
|
|
<td>{{ line.quantity }}</td>
|
|
<td>{{ line.unit_amount }}</td>
|
|
<td>{{ line.total_amount }}</td>
|
|
<td>{{ line.user_external_id }}</td>
|
|
<td>{{ line.adult_external_id }}</td>
|
|
<td>{{ line.get_status_display }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock %}
|