summaryrefslogtreecommitdiff
path: root/procurement/templates
diff options
context:
space:
mode:
authorKyle McFarland <tfkyle@gmail.com>2018-10-22 09:20:58 -0600
committerKyle McFarland <tfkyle@gmail.com>2018-10-22 09:20:58 -0600
commit725b6a5a0443ba83680d82820e3d8ff119b1b187 (patch)
tree35f1c07e9ae0891750c69809ecfcafb3dd5cf1da /procurement/templates
parent31db6bcf9c8a3e3c13ec613571de33dab9a7ba65 (diff)
downloadcoding-assignment-extrainfo.zip
coding-assignment-extrainfo.tar.gz
coding-assignment-extrainfo.tar.bz2
Fix an error in the supplier details templateHEADmasterextrainfo
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.
Diffstat (limited to 'procurement/templates')
-rw-r--r--procurement/templates/procurement/includes/supplier_details.html2
1 files changed, 1 insertions, 1 deletions
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 @@
</tr>
{% empty %}
<tr>
- <td colspan="2">{{ supplier_name }} has no representatives</td>
+ <td colspan="2">{{ supplier.name }} has no representatives</td>
</tr>
{% endfor %}
</tbody>