diff options
Diffstat (limited to 'app/dispatch/templates')
| -rw-r--r-- | app/dispatch/templates/dispatch/generic_load_listing.html | 4 | ||||
| -rw-r--r-- | app/dispatch/templates/dispatch/nav.html | 1 |
2 files changed, 5 insertions, 0 deletions
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 %} <th>{{heading}}</th> {% endfor %} + {% if false %} <!-- Order is specific here, you're goign going to want to define the fields beforehand i.e. @@ -25,6 +26,7 @@ <th>Load Number</th> <th>Description</th> --> + {% endif %} </tr> </thead> <tbody> @@ -33,6 +35,8 @@ <tr class="red lighten-4"> {% elif load.paperwork_set.all|length <= 0 %} <tr class="orange lighten-4"> + {% elif load.has_related_paid_invoices %} + <tr>{% if false %} No colors if they have a paid invoice {% endif %} {% else %} <tr class="green lighten-4"> {% 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 @@ <li><a href="{% url 'load_list' %}">Loads</a></li> <li><a href="{% url 'invoice_list' %}">Invoices</a></li> {% if request.user.is_superuser %} + <li><a href="{% url 'log_summary' %}">Audit Log</a></li> <li><a href="{% url 'driver_list' %}">Vendors</a></li> <li><a href="{% url 'customer_list' %}">Customers</a></li> {% else %} |
