8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-26 08:53:46 +00:00

Merge branch 'fix_invoiceedit_page' into 'dev'

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

See merge request federez/re2o!394
This commit is contained in:
chirac 2019-01-11 15:22:18 +01:00
commit 88416a28b4

View file

@ -74,8 +74,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% endfor %}
</div>
<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 %}
<h3>{% trans "Discount" %}</h3>
{% bootstrap_form discount_form %}
{% endif %}
<p>