mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 01:12:08 +01:00 
			
		
		
		
	🐛 Remove \eaddto in the invoice template, unicode characters weren't supported
This commit is contained in:
		@@ -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){
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user