diff options
| author | Kyle McFarland <tfkyle@gmail.com> | 2018-10-22 09:20:58 -0600 | 
|---|---|---|
| committer | Kyle McFarland <tfkyle@gmail.com> | 2018-10-22 09:20:58 -0600 | 
| commit | 725b6a5a0443ba83680d82820e3d8ff119b1b187 (patch) | |
| tree | 35f1c07e9ae0891750c69809ecfcafb3dd5cf1da | |
| parent | 31db6bcf9c8a3e3c13ec613571de33dab9a7ba65 (diff) | |
| download | coding-assignment-master.zip coding-assignment-master.tar.gz coding-assignment-master.tar.bz2 | |
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.
| -rw-r--r-- | procurement/templates/procurement/includes/supplier_details.html | 2 | 
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> | 
