diff --git a/lib/Facture.php b/lib/Facture.php index 9e86eb7..b414394 100644 --- a/lib/Facture.php +++ b/lib/Facture.php @@ -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')