Make purchase date a private field as well

This commit is contained in:
2025-01-04 19:06:10 +01:00
parent 8557e2b778
commit 206b9aea57
5 changed files with 6 additions and 6 deletions

View File

@@ -108,11 +108,11 @@
<th scope="row">Publication year</th>
<td>{{ book.publication_year|default:"-" }}</td>
</tr>
{% if request.user.is_staff %}
<tr>
<th scope="row">Purchase date</th>
<td>{{ book.purchase_date|default:"-" }}</td>
</tr>
{% if request.user.is_staff %}
<tr>
<th scope="row">Price ({{ site_conf.currency }})</th>
<td>{{ book.price|default:"-" }}</td>