Skip to content
Snippets Groups Projects
Commit f222ba13 authored by ynerant's avatar ynerant
Browse files

🐛 Remove \eaddto in the invoice template, unicode characters weren't supported

parent d95cd8c7
No related branches found
No related tags found
3 merge requests!104Beta,!98Morefront,!91Documents
Pipeline #8377 passed with warnings with stages
in 5 minutes and 8 seconds
......@@ -24,8 +24,6 @@
\FPround{\prix}{#3}{2}
\FPround{\montant}{#4}{2}
\FPadd{\TotalHT}{\TotalHT}{\montant}
\eaddto\ListeProduits{#1 & \prix & #2 & \montant \cr}
}
\newcommand{\AfficheResultat}{%
......@@ -48,15 +46,12 @@
\textbf{Total TTC} & & & \TotalTTC
}
\newcommand*\eaddto[2]{% version développée de \addto
\edef\tmp{#2}%
\expandafter\addto
\expandafter#1%
\expandafter{\tmp}%
\newcommand {\ListeProduits}{
{% for product in products %}
{{ product.designation|safe|escape_tex }} & {{ product.amount_euros|safe|escape_tex }} & {{ product.quantity|safe|escape_tex }} & {{ product.total_euros|safe|escape_tex }} \cr
{% endfor %}
}
\newcommand {\ListeProduits}{}
% Logo du BDE
\AddToShipoutPicture*{
\put(0,0){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment