Commit 13f357a0 authored by Patrick Kimber's avatar Patrick Kimber

Fix invoice detail URL

- Was going to the invoice detail URL with the issue ID

https://www.kbsoftware.co.uk/crm/ticket/4706/
parent d0833293
Pipeline #104027688 passed with stage
in 5 minutes and 29 seconds
......@@ -10,7 +10,7 @@
{% for o in object_list %}
<tr valign="top">
<td>
{{ o.invoice.invoice_date|date:'d/m/Y'}}
{{ o.invoice.invoice_date|date:'d/m/Y' }}
</td>
<td>
<a href="{% url 'invoice.detail' o.invoice.pk %}">
......
<thead>
<tr>
<td colspan="3">
<td colspan="4">
Issues
<i class="fa fa-info-circle"></i>
</td>
</tr>
<tr valign="top">
<th>Status</th>
<th>Date</th>
<th>Invoice / Credit Note</th>
<th>Description</th>
</tr>
......@@ -26,7 +27,10 @@
</a>
</td>
<td>
<a href="{% url 'invoice.detail' issue.pk %}">
{{ issue.invoice.invoice_date |date:'d/m/Y' }}
</td>
<td>
<a href="{% url 'invoice.detail' issue.invoice.pk %}">
{{ issue.invoice.invoice_number }}
</a>
</td>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment