Ajout numéro SIREN/SIRET pour un client

This commit is contained in:
Jean-Christophe Engel 2024-01-11 20:41:19 +01:00
parent 438e9c6116
commit b6bb4fd80d
12 changed files with 65 additions and 6 deletions

View file

@ -92,7 +92,7 @@ if ($f->type_facture != CERFA)
'<b>'.$config->get('org_name')."</b><br>".
$adresse ."<br>".
(($t = $plugin->getConfig('rna_asso'))?"RNA : $t<br>":'').
(($t = $plugin->getConfig('siret_asso'))?"SIRET : $t<br>":'').
(($t = $plugin->getConfig('siret_asso'))?"SIRET : " . implode(' ', str_split($t, 3)) . "<br>":'').
(($t = $config->get('email_asso'))?"Email : $t<br>":'').
(($t = $config->get('site_asso'))?"Site web : $t<br>":'');
@ -101,6 +101,7 @@ if ($f->type_facture != CERFA)
'<b>'.$c->nom.'</b><br>'.
$c->adresse."<br>".
$c->code_postal.' '.$c->ville."<br>".
(($t = $c->siret)?"SIREN/SIRET : " . implode(' ', str_split($t, 3)) . "<br>":'').
(($t = $c->email)?"Email : $t<br>":'').
(($t = $c->telephone)?"Tel : $t<br>":'');