From ec67cee42fd0f8ac989b5b93949938059b661f0c Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Tue, 9 Jan 2018 01:26:02 -0500 Subject: Add the ability to download all of the paperwork from a customer view --- app/dispatch/templates/dispatch/companies/detail.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/dispatch/templates') diff --git a/app/dispatch/templates/dispatch/companies/detail.html b/app/dispatch/templates/dispatch/companies/detail.html index 5dd2414..ffd3c09 100644 --- a/app/dispatch/templates/dispatch/companies/detail.html +++ b/app/dispatch/templates/dispatch/companies/detail.html @@ -9,11 +9,14 @@

Company: {{ object.name }}

Loads for {{week_dates.start_date|date:"l, F, d"}} to {{week_dates.end_date|date:"l, F, d"}}

+ {% load dynamic_key %} + {% if object|customer_has_load_for_datetime:week_dates.start_date %}
+ {% endif %}
-- cgit v1.2.3