diff --git a/eboutic/templates/eboutic/eboutic_makecommand.jinja b/eboutic/templates/eboutic/eboutic_makecommand.jinja index f60986ce..aed01ae6 100644 --- a/eboutic/templates/eboutic/eboutic_makecommand.jinja +++ b/eboutic/templates/eboutic/eboutic_makecommand.jinja @@ -28,12 +28,14 @@
Total: {{ basket.get_total() }} €
+ {% if settings.SITH_EBOUTIC_CB_ENABLED %} + {% endif %} {% if basket.items.filter(type_id=settings.SITH_COUNTER_PRODUCTTYPE_REFILLING).exists() %}{% trans %}AE account payment disabled because your basket contains refilling items.{% endtrans %}
{% else %} diff --git a/sith/settings.py b/sith/settings.py index abfed0ed..5d53c6ea 100644 --- a/sith/settings.py +++ b/sith/settings.py @@ -526,6 +526,7 @@ SITH_LAST_OPERATIONS_LIMIT = 10 SITH_COUNTER_MINUTE_INACTIVE = 10 # ET variables +SITH_EBOUTIC_CB_ENABLED = True SITH_EBOUTIC_ET_URL = "https://preprod-tpeweb.e-transactions.fr/cgi/MYchoix_pagepaiement.cgi" SITH_EBOUTIC_PBX_SITE = "4000666" SITH_EBOUTIC_PBX_RANG = "42"