From 725b6a5a0443ba83680d82820e3d8ff119b1b187 Mon Sep 17 00:00:00 2001 From: Kyle McFarland Date: Mon, 22 Oct 2018 09:20:58 -0600 Subject: Fix an error in the supplier details template Still had one instance of using the nonexistant supplier_name variable that would cause a rendering error when a supplier had no representatives, this fixes that error. --- procurement/templates/procurement/includes/supplier_details.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'procurement') diff --git a/procurement/templates/procurement/includes/supplier_details.html b/procurement/templates/procurement/includes/supplier_details.html index 0e46c67..2f3ae91 100644 --- a/procurement/templates/procurement/includes/supplier_details.html +++ b/procurement/templates/procurement/includes/supplier_details.html @@ -21,7 +21,7 @@ {% empty %} - {{ supplier_name }} has no representatives + {{ supplier.name }} has no representatives {% endfor %} -- cgit v1.1