Remove space in IBAN

This commit is contained in:
Yohann D'ANELLO 2020-08-06 21:45:50 +02:00
parent 5c01c0bb6c
commit 3e28ed8716
1 changed files with 7 additions and 4 deletions

View File

@ -1,4 +1,5 @@
{% load escape_tex %} {% load escape_tex %}
{% load l10n %}
\nonstopmode \nonstopmode
\documentclass[11pt]{article} \documentclass[11pt]{article}
@ -47,9 +48,11 @@
} }
\newcommand {\ListeProduits}{ \newcommand {\ListeProduits}{
{% for product in products %} {% localize off %}
{{ product.designation|safe|escape_tex }} & {{ product.amount_euros|safe|escape_tex|floatformat:2 }} & {{ product.quantity|safe|escape_tex|floatformat:2 }} & {{ product.total_euros|safe|escape_tex|floatformat:2 }} \cr {% for product in products %}
{% endfor %} {{ product.designation|safe|escape_tex }} & {{ product.amount_euros|safe|escape_tex|floatformat:2 }} & {{ product.quantity|safe|escape_tex|floatformat:2 }} & {{ product.total_euros|safe|escape_tex|floatformat:2 }} \cr
{% endfor %}
{% endlocalize %}
} }
% Logo du BDE % Logo du BDE
@ -76,7 +79,7 @@
\def\CodeGuichet{{"{"}}{{ obj.desk_code|stringformat:".05d" }}} \def\CodeGuichet{{"{"}}{{ obj.desk_code|stringformat:".05d" }}}
\def\NCompte{{"{"}}{{ obj.account_number|stringformat:".011d" }}} \def\NCompte{{"{"}}{{ obj.account_number|stringformat:".011d" }}}
\def\CleRib{{"{"}}{{ obj.rib_key|stringformat:".02d" }}} \def\CleRib{{"{"}}{{ obj.rib_key|stringformat:".02d" }}}
\def\IBAN{FR76 \CodeBanque\CodeGuichet\NCompte\CleRib} \def\IBAN{FR76\CodeBanque\CodeGuichet\NCompte\CleRib}
\def\CodeBic{{"{"}}{{ obj.bic }}} \def\CodeBic{{"{"}}{{ obj.bic }}}
\def\FactureNum {{"{"}}{{ obj.id }}} % Numéro de facture \def\FactureNum {{"{"}}{{ obj.id }}} % Numéro de facture