Le type est cotisation, pas facture, d'oh

This commit is contained in:
bohwaz 2021-12-17 14:08:29 +01:00
parent e275520481
commit f0d644e947
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ class Facture
// Remplir le contenu
$content = json_decode((string)$row->contenu);
if ($row->type_facture == FACT && isset($content->intitule, $content->souscription)) {
if ($row->type_facture == COTIS && isset($content->intitule, $content->souscription)) {
$row->contenu = sprintf("Cotisation %s\nSouscrite le %s",
$content->intitule,
Utils::date_fr($content->souscription, 'd/m/Y')