aboutsummaryrefslogtreecommitdiff
path: root/app/dispatch/views.py
AgeCommit message (Collapse)AuthorFilesLines
2018-02-04Fix issue with averages not being displayed due to an invoice existing.Mitch Riedstra1-12/+13
Also fixed filename parsing. Modified django's function and placed it in dispatch/misc.py
2018-02-03Siwtch user to use the context, not the current one logged inMitch Riedstra1-1/+1
2018-02-03Show whether or not there are any related invoices on the summary pageMitch Riedstra1-9/+17
Also prevent the generation of duplicate invoices based on the date of invoice and the current user.
2018-01-23Move paperwork download code out into a function and add ability to download ↵Mitch Riedstra1-35/+21
paperwork for users
2018-01-09Add the ability to download all of the paperwork from a customer viewMitch Riedstra1-14/+23
2018-01-09Initial version of paperwork download--still doesn't download lolMitch Riedstra1-3/+47
2017-12-19Misc changes for the videoMitch Riedstra1-1/+0
2017-11-10Working invites in the Driver's list pageMitch Riedstra1-1/+18
2017-11-10Fix typo in 'payment_identifier' Add pagination to Drivers, Customers and ↵Mitch Riedstra1-1/+12
Invoices. Filter invoices by paid/unpaid.
2017-11-09Show number of attachments, and color code issues with loads.Mitch Riedstra1-5/+59
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"
2017-11-07Updated middleware to force creation of user Identity. Fix issues with ↵Mitch Riedstra1-1/+11
Identity creation. Added is_active to Django Admin UI for the dispatchAuth.models.User
2017-11-06Update the driver Detail page. Still need to fix the Identity Create functionMitch Riedstra1-2/+2
2017-11-02Initial setup to use a custom User model, I still need to figure out how to ↵Mitch Riedstra1-1/+3
use the built in Django permissions though
2017-11-01Fix user permissions. Hide generate invoice on the summary page if it is ↵Mitch Riedstra1-16/+55
empty. Hide load delete option from regular users as they don't have permission anyway
2017-10-30Proper redirect on edit for users. Delete for loads, warning on delete. ↵Mitch Riedstra1-3/+10
Invoice view ordered by PK desc
2017-10-28Clean up code style in viewsMitch Riedstra1-42/+77
2017-10-28Make jQuery local. Fix premissions on certian edit and update viewsMitch Riedstra1-13/+46
2017-10-28Ability to edit your Invoice Number. Clean up some of the forms for non-adminsMitch Riedstra1-4/+31
2017-10-25Further adjustments to the invoice format. Allow default bill to to be set ↵Mitch Riedstra1-5/+26
for superusers
2017-10-25Better driver edit page as well as pages for working with IdentityMitch Riedstra1-33/+57
2017-10-24Remove all old migrations and start fresh. Re-arranged models to better fit ↵Mitch Riedstra1-16/+8
Invoice model
2017-10-24Massive updates to the invoice system. Printable invoices work properly and ↵Mitch Riedstra1-1/+83
required changes to materialize
2017-10-23Moved functions to a 'misc' file. Added a settings model. Added initial ↵Mitch Riedstra1-27/+1
version of an 'Invoice' model
2017-10-23Name files properly on downloadMitch Riedstra1-1/+29
2017-10-19Rename Company to Customer system wide. Let's not do this againMitch Riedstra1-18/+18
2017-10-19Remove the 'load_number' model fieldMitch Riedstra1-9/+8
2017-10-19Fix up permissions throughout the system.Mitch Riedstra1-8/+22
2017-10-18Go to the view page after create/editMitch Riedstra1-2/+0
2017-10-18Added a delivered to field. File uploads work. Load detail view works ↵Mitch Riedstra1-3/+15
properly now. File upload names are properly set. You can now delete uploaded files
2017-10-13Updated migrations, removed comments, and changed the model from one to one ↵Mitch Riedstra1-33/+0
to foreign key to allow for multiple documents per load
2017-10-13The form works!Mitch Riedstra1-2/+5
2017-10-12Uploads work--but they need workMitch Riedstra1-18/+38
2017-10-11Misc developments and messing with file uploadsMitch Riedstra1-1/+31
2017-10-10Additional statistics added to the driver summary pageMitch Riedstra1-3/+17
2017-10-10Initial version of extending context for driver viewMitch Riedstra1-0/+12
2017-10-09Fix up the shitty amount of date related variables being set in the template ↵Mitch Riedstra1-25/+27
context. User friendly dates on load view
2017-10-09Start the ugly process of cleaning up the views. Added a datepicker to the ↵Mitch Riedstra1-5/+7
load date form. Added the 'load_number' field to the LoadCreate view
2017-10-09Remove whitespace and irrelevant commentsMitch Riedstra1-3/+3
2017-10-09Fix login redirect loopMitch Riedstra1-1/+1
2017-09-14Added titles to pages, fixed issue with company loading the loads templatesKyle Blanker1-3/+3
2017-09-14Added audit logs, and removed DeleteDriver as that shouldn't happenKyle Blanker1-10/+4
2017-09-13Added load_number to the LoadUpdate class, moved LoadDateSort away from the ↵Kyle Blanker1-14/+13
CRUD classes
2017-09-13Setup driver, company details to show loads, loads list now shows per week ↵Kyle Blanker1-5/+94
as well
2017-09-12Started to work on load crud operationsKyle Blanker1-4/+78
2017-09-12Fixed up login page, added auth middleware, adding company crud operationsKyle Blanker1-21/+36
2017-08-01Schema and template updatesMitch Riedstra1-4/+18
2017-06-29Add templates and static assets for materializeMitch Riedstra1-2/+10
2017-06-28Initial SetupMitch Riedstra1-0/+8