[29/11/2025] Personnalisation des infos sur les factures, en fonction de l'admin connecté

This commit is contained in:
2025-11-29 21:53:24 +01:00
parent 6bf02d8e0d
commit 05b729142b

View File

@@ -54,7 +54,11 @@
<col style="width: 80%; padding: 1mm; border: none; border-top: 1px solid #000; text-align: center;" />
<tbody>
<tr>
<td>Auto-entrepreneur - SIRET : 312 033 764 00043 / N° de TVA intracommunautaire : FR88312033764</td>
{if {admin attr="login"} == "gestion"}
<td>Auto-entrepreneur - SIRET : 312 033 764 00043 / TVA intracommunautaire : FR88312033764</td>
{else}
<td>Auto-entrepreneur - SIRET : 792 536 807 00029 / TVA intracommunautaire : FR74792536807 <br> EORI : FR79253680700029</td>
{/if}
</tr>
</tbody>
</table>
@@ -72,14 +76,20 @@
<tr>
<td style="vertical-align: middle;">
<p style="font-size: 120%; font-weight: bold;">STERIVEIN®/Sclerivein®</p>
<p style="font-size: 120%;">M. MONFREUX Alain</p>
<p style="font-size: 120%;">M. {admin attr="lastname"} {admin attr="firstname"}</p>
<p>
<span style="font-size: 120%">14 rue du Clairon Pouget<br>
31500 Toulouse</span><br>
Portable : 06.76.61.83.40<br>
Fax : 05.61.58.01.39<br>
Internet : <a href="http://www.sterivein.com">www.sterivein.com</a><br>
E-mail : dr.monfreux@sterivein.com
{if {admin attr="login"} == "gestion"}
<span style="font-size: 120%">14 rue du Clairon Pouget<br>31500 TOULOUSE</span><br>
Portable : 06.76.61.83.40<br>
Fax : 05.61.58.01.39<br>
Internet : <a href="https://www.sterivein.com">www.sterivein.com</a><br>
E-mail : dr.monfreux@sterivein.com
{else}
<span style="font-size: 120%">62 Avenue Honoré Serres - A15<br>31000 TOULOUSE</span><br>
Internet : <a href="https://www.sterivein.com">www.sterivein.com</a><br>
E-mail : julien.monfreux@sterivein.com
{/if}
</p>
</td>
@@ -151,7 +161,11 @@
</tr>
</table>
<p style="font-size: 80%; margin-bottom: 0;">N° SIRET : 312 033 764 00043</p>
{if {admin attr="login"} == "TheCoreDev"}
<p style="font-size: 80%; margin-bottom: 0;">N° SIRET : 792 536 807 00029</p>
{else}
<p style="font-size: 80%; margin-bottom: 0;">N° SIRET : 312 033 764 00043</p>
{/if}
<p style="font-size: 65%;">Dispensé d'immatriculation en application de l'article L123-1-1 du code du commerce.</p>
<p style="font-size: 80%; margin-bottom: 0; margin-top: 20px;">N° de bon de commande : {loop name="admin-comment" type="admin_comment" element_key="order" element_id={$ID}}{$COMMENT}{/loop}</p>
@@ -258,4 +272,4 @@
</tr>
</table>
{/loop}
</page>
</page>