add link to creditnotes in profile
This commit is contained in:
parent
8712ac4669
commit
1e2a9e5afd
|
@ -21,18 +21,23 @@
|
|||
<a href="{% url 'shop:order_list' %}" class="btn btn-black">
|
||||
Orders
|
||||
</a>
|
||||
|
||||
{% if has_tickets %}
|
||||
<a href="{% url 'shop:ticket_list' %}" class="btn btn-black">
|
||||
Tickets
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
{% if user.creditnotes.exists %}
|
||||
<a href="{% url 'shop:creditnote_list' %}" class="btn btn-black">
|
||||
Credit Notes
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</p>
|
||||
<hr />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{% block profile_content %}{% endblock %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue