From 02e68c71dbae66e46703ca403c45378c6a0437aa Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Sun, 25 Mar 2018 22:41:03 -0400 Subject: Remove color coding entirely if the load is paid for. Added audit log to the navigation bar as well. Removed commented out urls related to previous versions of the audit log. --- app/dispatch/templates/dispatch/generic_load_listing.html | 4 ++++ app/dispatch/templates/dispatch/nav.html | 1 + 2 files changed, 5 insertions(+) (limited to 'app/dispatch/templates') diff --git a/app/dispatch/templates/dispatch/generic_load_listing.html b/app/dispatch/templates/dispatch/generic_load_listing.html index c7be455..152c7d9 100644 --- a/app/dispatch/templates/dispatch/generic_load_listing.html +++ b/app/dispatch/templates/dispatch/generic_load_listing.html @@ -11,6 +11,7 @@ {% for heading in load_headers %} {{heading}} {% endfor %} + {% if false %} + {% endif %} @@ -33,6 +35,8 @@ {% elif load.paperwork_set.all|length <= 0 %} + {% elif load.has_related_paid_invoices %} + {% if false %} No colors if they have a paid invoice {% endif %} {% else %} {% endif %} diff --git a/app/dispatch/templates/dispatch/nav.html b/app/dispatch/templates/dispatch/nav.html index bc34d41..b9e02e8 100644 --- a/app/dispatch/templates/dispatch/nav.html +++ b/app/dispatch/templates/dispatch/nav.html @@ -6,6 +6,7 @@
  • Loads
  • Invoices
  • {% if request.user.is_superuser %} +
  • Audit Log
  • Vendors
  • Customers
  • {% else %} -- cgit v1.2.3