aboutsummaryrefslogtreecommitdiff
path: root/app/dispatch
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2018-02-03 22:21:57 -0500
committerMitch Riedstra <mitch@riedstra.us>2018-02-03 22:21:57 -0500
commit7c07b1cd3caaf7d7cc16048cfe1bf230f6123ee4 (patch)
tree0c4554ce4e89b1aea76d3bda6a6f788a9fd07ca0 /app/dispatch
parent4118b1d28b35ccf50a51b59e35cb897fb0dcc8e2 (diff)
downloaddispatch-tracker-7c07b1cd3caaf7d7cc16048cfe1bf230f6123ee4.tar.gz
dispatch-tracker-7c07b1cd3caaf7d7cc16048cfe1bf230f6123ee4.tar.xz
Fix error in invoice view template using wrong ID for link to summary
Diffstat (limited to 'app/dispatch')
-rw-r--r--app/dispatch/templates/dispatch/invoice/detail.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/dispatch/templates/dispatch/invoice/detail.html b/app/dispatch/templates/dispatch/invoice/detail.html
index d48a14b..a16b8a3 100644
--- a/app/dispatch/templates/dispatch/invoice/detail.html
+++ b/app/dispatch/templates/dispatch/invoice/detail.html
@@ -5,7 +5,7 @@
{% block content %}
<div class="row hide-print">
<div class="col s12 m6">
- <h1>Invoice for {{object.invoice_date}} by <a href="{% url 'driver_summary' object.owner.pk %}">{{object.owner}}</a></h1>
+ <h1>Invoice for {{object.invoice_date}} by <a href="{% url 'driver_summary' object.user.pk %}">{{object.owner}}</a></h1>
</div>
<div class="col s12 m6">
<div class="right-align">