diff options
| author | Mitch Riedstra <Mitch@riedstra.us> | 2017-10-24 16:59:26 -0400 |
|---|---|---|
| committer | Mitch Riedstra <Mitch@riedstra.us> | 2017-10-24 16:59:26 -0400 |
| commit | 4ee5893fd9c82228c62306fc7f5babdfc602e4c4 (patch) | |
| tree | 2069a54e6eb3b143cc260b1347c62dfb2efb2c30 /app/dispatch/urls.py | |
| parent | ea2ce9d3069fa906474e356b7dbd209edd1ea1bd (diff) | |
| download | dispatch-tracker-4ee5893fd9c82228c62306fc7f5babdfc602e4c4.tar.gz dispatch-tracker-4ee5893fd9c82228c62306fc7f5babdfc602e4c4.tar.xz | |
Massive updates to the invoice system. Printable invoices work properly and required changes to materialize
Diffstat (limited to 'app/dispatch/urls.py')
| -rw-r--r-- | app/dispatch/urls.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/dispatch/urls.py b/app/dispatch/urls.py index c0723e2..71f886a 100644 --- a/app/dispatch/urls.py +++ b/app/dispatch/urls.py @@ -33,4 +33,11 @@ urlpatterns = [ url(r'^loads/(?P<load_id>\d+)/paperwork/dl/(?P<pk>\d+)$', \ views.PaperworkDownload, name='paperwork_download'), + + 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/delete/(?P<pk>\d+)$', views.InvoiceDelete.as_view(), name='invoice_delete'), + url(r'^drivers/view/(?P<pk>\d+)/generate/$', views.InvoiceGenerateForDates, name='invoice_generate'), + ] |
