From 05b729142bf3532f83537ce040c49b632895808a Mon Sep 17 00:00:00 2001 From: TheCoreDev Date: Sat, 29 Nov 2025 21:53:24 +0100 Subject: [PATCH] =?UTF-8?q?[29/11/2025]=20Personnalisation=20des=20infos?= =?UTF-8?q?=20sur=20les=20factures,=20en=20fonction=20de=20l'admin=20conne?= =?UTF-8?q?ct=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/pdf/sterivein/invoice.html | 34 ++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/templates/pdf/sterivein/invoice.html b/templates/pdf/sterivein/invoice.html index 13276c96e..3d512a4f5 100644 --- a/templates/pdf/sterivein/invoice.html +++ b/templates/pdf/sterivein/invoice.html @@ -54,7 +54,11 @@ - Auto-entrepreneur - SIRET : 312 033 764 00043 / N° de TVA intracommunautaire : FR88312033764 + {if {admin attr="login"} == "gestion"} + Auto-entrepreneur - SIRET : 312 033 764 00043 / TVA intracommunautaire : FR88312033764 + {else} + Auto-entrepreneur - SIRET : 792 536 807 00029 / TVA intracommunautaire : FR74792536807
EORI : FR79253680700029 + {/if} @@ -72,14 +76,20 @@

STERIVEIN®/Sclerivein®

-

M. MONFREUX Alain

+ +

M. {admin attr="lastname"} {admin attr="firstname"}

- 14 rue du Clairon Pouget
- 31500 Toulouse

- Portable : 06.76.61.83.40
- Fax : 05.61.58.01.39
- Internet : www.sterivein.com
- E-mail : dr.monfreux@sterivein.com + {if {admin attr="login"} == "gestion"} + 14 rue du Clairon Pouget
31500 TOULOUSE

+ Portable : 06.76.61.83.40
+ Fax : 05.61.58.01.39
+ Internet : www.sterivein.com
+ E-mail : dr.monfreux@sterivein.com + {else} + 62 Avenue Honoré Serres - A15
31000 TOULOUSE

+ Internet : www.sterivein.com
+ E-mail : julien.monfreux@sterivein.com + {/if}

@@ -151,7 +161,11 @@ -

N° SIRET : 312 033 764 00043

+ {if {admin attr="login"} == "TheCoreDev"} +

N° SIRET : 792 536 807 00029

+ {else} +

N° SIRET : 312 033 764 00043

+ {/if}

Dispensé d'immatriculation en application de l'article L123-1-1 du code du commerce.

N° de bon de commande : {loop name="admin-comment" type="admin_comment" element_key="order" element_id={$ID}}{$COMMENT}{/loop}

@@ -258,4 +272,4 @@ {/loop} - + \ No newline at end of file