Skip to content

Commit 26057d9

Browse files
added Rechnungsanzahl to the category
Signed-off-by: Frank Elsinga <[email protected]>
1 parent a775698 commit 26057d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rechnung/templates/rechnung/kategorien/list_kategorien.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<thead>
2929
<tr>
3030
<th>Kategorie</th>
31+
<th>Anzahl</th>
3132
<th>Aktionen</th>
3233
</tr>
3334
</thead>
@@ -37,6 +38,7 @@
3738
<td>
3839
<a href="{% url "rechnung:list_rechnungen_filter" kategorie.pk %}">{{ kategorie.name }}</a>
3940
</td>
41+
<td>{{ kategorie.rechnung_set.count }}</td>
4042
<td>
4143
<a href="{% url "rechnung:edit_kategorie" kategorie.pk %}"><span class="bi bi-pencil"></span></a>
4244
<a href="{% url "rechnung:del_kategorie" kategorie.pk %}"><span class="bi bi-trash-fill"></span></a>

0 commit comments

Comments
 (0)