Migration de Facturation\Config à la gestion de conf intégrée à Garradin
This commit is contained in:
parent
4b3fa030d8
commit
33b9f05062
11 changed files with 91 additions and 82 deletions
|
|
@ -64,7 +64,7 @@ $asso =
|
|||
// 'Émis par :<br><br>'.
|
||||
'<b>'.$config->get('nom_asso')."</b><br>".
|
||||
str_replace("\n", '<br>', $config->get('adresse_asso'))."<br>".
|
||||
(($t = $cfg->get('siret_asso'))?"SIRET : $t<br>":'').
|
||||
(($t = $plugin->getConfig('siret_asso'))?"SIRET : $t<br>":'').
|
||||
(($t = $config->get('email_asso'))?"Email : $t<br>":'').
|
||||
(($t = $config->get('site_asso'))?"Site web : $t<br>":'');
|
||||
|
||||
|
|
@ -80,7 +80,7 @@ $total = number_format($f->total, 2, ',', ' ');
|
|||
$echeance = date('d/m/Y' ,$f->date_echeance);
|
||||
$echeance = ($f->type_facture?'Échéance de paiement':'Échéance du devis')." : ".$echeance;
|
||||
$reglee = !$f->reglee?'Cette facture est en attente de règlement.':'Cette facture a été reglée.';
|
||||
$footer = str_replace("\n", '<br>', $cfg->get('footer'));
|
||||
$footer = str_replace("\n", '<br>', $plugin->getConfig('footer'));
|
||||
|
||||
|
||||
echo <<<EOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue