aboutsummaryrefslogtreecommitdiff
path: root/app/dispatch/templates
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2018-02-17 16:45:57 -0500
committerMitch Riedstra <mitch@riedstra.us>2018-02-17 16:45:57 -0500
commit0511dd5df2a753fea9273d7a7cdd3d0355659223 (patch)
tree8d600b6486a66d3fc6b2c6e1686df2d39ed746ff /app/dispatch/templates
parent49f9df9b774b48ceef6f3a99f7a6f4912730dc5f (diff)
downloaddispatch-tracker-0511dd5df2a753fea9273d7a7cdd3d0355659223.tar.gz
dispatch-tracker-0511dd5df2a753fea9273d7a7cdd3d0355659223.tar.xz
Order invoiceitems by date
Diffstat (limited to 'app/dispatch/templates')
-rw-r--r--app/dispatch/templates/dispatch/invoice/detail-table.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/dispatch/templates/dispatch/invoice/detail-table.html b/app/dispatch/templates/dispatch/invoice/detail-table.html
index d09ba76..6f18269 100644
--- a/app/dispatch/templates/dispatch/invoice/detail-table.html
+++ b/app/dispatch/templates/dispatch/invoice/detail-table.html
@@ -54,7 +54,7 @@
<th>Total</th>
</thead>
<tbody>
- {% for item in object.items %}
+ {% for item in object.items_by_date %}
<tr>
<td>{{item.date|date:"m/d/Y"}}</td>
<td>{{item.description}}</td>