From f0d644e9478dc3f9d5724c6017299e7028912247 Mon Sep 17 00:00:00 2001 From: bohwaz Date: Fri, 17 Dec 2021 14:08:29 +0100 Subject: [PATCH] Le type est cotisation, pas facture, d'oh --- lib/Facture.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')