Merge pull request #496 from ae-utbm/eboutic-patch

hide bank payment button during investigation for bug
This commit is contained in:
thomas girod 2022-11-16 22:17:04 +01:00 committed by GitHub
commit 1c27831f92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,16 +42,16 @@
{% endif %}
{% endif %}
</p>
{% if settings.SITH_EBOUTIC_CB_ENABLED %}
<form method="post" action="{{ settings.SITH_EBOUTIC_ET_URL }}">
<p>
{% for (field_name,field_value) in et_request.items() -%}
<input type="hidden" name="{{ field_name }}" value="{{ field_value }}">
{% endfor %}
<input type="submit" value="{% trans %}Pay with credit card{% endtrans %}" />
</p>
</form>
{% endif %}
{# {% if settings.SITH_EBOUTIC_CB_ENABLED %}#}
{# <form method="post" action="{{ settings.SITH_EBOUTIC_ET_URL }}">#}
{# <p>#}
{# {% for (field_name,field_value) in et_request.items() -%}#}
{# <input type="hidden" name="{{ field_name }}" value="{{ field_value }}">#}
{# {% endfor %}#}
{# <input type="submit" value="{% trans %}Pay with credit card{% endtrans %}" />#}
{# </p>#}
{# </form>#}
{# {% endif %}#}
{% if basket.contains_refilling_item %}
<p>{% trans %}AE account payment disabled because your basket contains refilling items.{% endtrans %}</p>
{% else %}