Skip to content

Commit

Permalink
feat(crm): list donations
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Dec 18, 2024
1 parent d19bee6 commit cec2a29
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions weblate_web/crm/templates/payments/customer_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@ <h2>Agreements</h2>
</tr>
{% endfor %}
</table>
<h2>Donations</h2>
<table>
{% for donation in object.donation_set.all %}
<tr>
<td>{{ donation.get_reward_display }}</td>
<td>{{ donation.get_amount }} EUR</td>
<td>
<a href="{% url 'admin:weblate_web_donation_change' object_id=donation.pk %}">Edit</a>
</td>
</tr>
{% endfor %}
</table>

</section>

Expand Down

0 comments on commit cec2a29

Please sign in to comment.