Commit 88416a28 authored by chirac's avatar chirac

Merge branch 'fix_invoiceedit_page' into 'dev'

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

See merge request federez/re2o!394
parents 79864180 4721d876
Pipeline #936 canceled with stage
...@@ -74,8 +74,8 @@ with this program; if not, write to the Free Software Foundation, Inc., ...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment