aboutsummaryrefslogtreecommitdiff
path: root/app/dispatch/urls.py
diff options
context:
space:
mode:
authorMitch Riedstra <Mitch@riedstra.us>2017-11-09 15:57:46 -0500
committerMitch Riedstra <Mitch@riedstra.us>2017-11-09 15:57:46 -0500
commit33a6e5cb02189b7621a279c32c12b5c3d83ba680 (patch)
tree6d9776af90222f8062921b62fc7f6f4b5fa01dc7 /app/dispatch/urls.py
parentc055260bb88fd407c81ad0d40dd288a5aae4fb17 (diff)
downloaddispatch-tracker-33a6e5cb02189b7621a279c32c12b5c3d83ba680.tar.gz
dispatch-tracker-33a6e5cb02189b7621a279c32c12b5c3d83ba680.tar.xz
Show number of attachments, and color code issues with loads.
Prevent invoice generation on zero amounts and no attachments. Add a way for superusers to edit invoices. Add a field to invoices for a payment identifier. E.g. "Check #1234"
Diffstat (limited to 'app/dispatch/urls.py')
-rw-r--r--app/dispatch/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/dispatch/urls.py b/app/dispatch/urls.py
index 270c674..14f78f8 100644
--- a/app/dispatch/urls.py
+++ b/app/dispatch/urls.py
@@ -42,7 +42,7 @@ urlpatterns = [
url(r'^invoices/$', views.InvoiceList.as_view(), name='invoice_list'),
url(r'^invoices/view/(?P<pk>\d+)$', views.InvoiceDetail.as_view(), name='invoice_detail'),
- # url(r'^invoices/edit/(?P<pk>\d+)$', views.InvoiceEdit.as_view(), name='invoice_edit'),
+ url(r'^invoices/edit/(?P<pk>\d+)$', views.InvoiceEdit.as_view(), name='invoice_edit'),
url(r'^invoices/delete/(?P<pk>\d+)$', views.InvoiceDelete.as_view(), name='invoice_delete'),
url(r'^drivers/view/(?P<pk>\d+)/generate/$', views.InvoiceGenerateForDates, name='invoice_generate'),