diff options
| author | Mitch Riedstra <Mitch@riedstra.us> | 2017-11-09 15:57:46 -0500 |
|---|---|---|
| committer | Mitch Riedstra <Mitch@riedstra.us> | 2017-11-09 15:57:46 -0500 |
| commit | 33a6e5cb02189b7621a279c32c12b5c3d83ba680 (patch) | |
| tree | 6d9776af90222f8062921b62fc7f6f4b5fa01dc7 /app/dispatch/admin.py | |
| parent | c055260bb88fd407c81ad0d40dd288a5aae4fb17 (diff) | |
| download | dispatch-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/admin.py')
| -rw-r--r-- | app/dispatch/admin.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/dispatch/admin.py b/app/dispatch/admin.py index 9d1e0b3..702f0e4 100644 --- a/app/dispatch/admin.py +++ b/app/dispatch/admin.py @@ -1,7 +1,7 @@ from django.contrib import admin # Register your models here. -from .models import Load, Customer, Identity, Settings, Invoice, InvoiceItem +from .models import Load, Paperwork, Customer, Identity, Settings, Invoice, InvoiceItem admin.site.register(Load) admin.site.register(Customer) @@ -9,3 +9,4 @@ admin.site.register(Identity) admin.site.register(Invoice) admin.site.register(InvoiceItem) admin.site.register(Settings) +admin.site.register(Paperwork) |
