From 78437d6f8afd75544a94d033ee4fb38dfe7c1914 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Tue, 23 Jan 2018 18:51:57 -0500 Subject: Move paperwork download code out into a function and add ability to download paperwork for users --- app/dispatch/templates/dispatch/drivers/summary.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/dispatch/templates') diff --git a/app/dispatch/templates/dispatch/drivers/summary.html b/app/dispatch/templates/dispatch/drivers/summary.html index 4c24fc9..82df917 100644 --- a/app/dispatch/templates/dispatch/drivers/summary.html +++ b/app/dispatch/templates/dispatch/drivers/summary.html @@ -15,6 +15,9 @@
+ {% if request.user.is_superuser %} + Download Paperwork + {% endif %} {% if can_invoice %} Generate Invoice For Listing {% else %} -- cgit v1.2.3