8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 19:33:11 +00:00

Fix invoice edit page, discount title is only displayed when needed.

This commit is contained in:
Hugo LEVY-FALK 2019-01-11 14:10:34 +01:00
parent 79864180ab
commit 4721d8763c

View file

@ -74,8 +74,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% endfor %} {% endfor %}
</div> </div>
<input class="btn btn-primary btn-block" role="button" value="{% trans "Add an extra article"%}" id="add_one"> <input class="btn btn-primary btn-block" role="button" value="{% trans "Add an extra article"%}" id="add_one">
<h3>{% trans "Discount" %}</h3>
{% if discount_form %} {% if discount_form %}
<h3>{% trans "Discount" %}</h3>
{% bootstrap_form discount_form %} {% bootstrap_form discount_form %}
{% endif %} {% endif %}
<p> <p>