diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-10-01 00:31:02 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-10-01 00:31:02 +0300 |
commit | 0c6d66e7ced5f1c7843eba4221b08db79e56a021 (patch) | |
tree | c16473f761eb5d26d2a3d1a4ceb2f9f2875b44e4 /servo/templates/products | |
parent | ec6276e2fb2bb0785f14469bbe8eb292f4a6e6b7 (diff) | |
download | Servo-0c6d66e7ced5f1c7843eba4221b08db79e56a021.tar.gz Servo-0c6d66e7ced5f1c7843eba4221b08db79e56a021.tar.bz2 Servo-0c6d66e7ced5f1c7843eba4221b08db79e56a021.zip |
Inventory bug fixes
and performance enhancements
Diffstat (limited to 'servo/templates/products')
-rwxr-xr-x | servo/templates/products/get_info.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/servo/templates/products/get_info.html b/servo/templates/products/get_info.html index be024e2..262d1e8 100755 --- a/servo/templates/products/get_info.html +++ b/servo/templates/products/get_info.html @@ -38,7 +38,7 @@ {% endifchanged %} <dl class="dl-horizontal"> <dt>{% trans "Stocked" %}</dt> - <dd>{{ i.amount_stocked }}</dd> + <dd>{{ i.amount_stocked|default:"-" }}</dd> <dt>{% trans "Ordered" %}</dt> <dd>{{ i.amount_ordered|default:"-" }}</dd> <dt>{% trans "Reserved" %}</dt> @@ -56,4 +56,4 @@ <a class="btn btn-default" href="{% url 'products-edit_product' pk=product.pk group='all' %}">{% trans "Edit" %}</a> {% endif %} <button type="submit" class="btn btn-primary" data-dismiss="modal">{% trans "Done" %}</button> -{% endblock footer %}
\ No newline at end of file +{% endblock footer %} |