Skip to content

Commit

Permalink
feat: list customer payments
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Dec 18, 2024
1 parent e15d94a commit 53eb2a5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions weblate_web/crm/templates/payments/customer_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,19 @@ <h2>Donations</h2>
</tr>
{% endfor %}
</table>
<h2>Payments</h2>
<table>
{% for payment in object.payment_set.all %}
<tr>
<td>{{ payment.get_payment_state }}</td>
<td>{{ payment.get_amount_display }} {{ payment.get_currency_display }}</td>
<td>{{ payment.description }}</td>
<td>
<a href="{% url 'admin:payments_payment_change' object_id=payment.pk %}">Edit</a>
</td>
</tr>
{% endfor %}
</table>

</section>

Expand Down

0 comments on commit 53eb2a5

Please sign in to comment.