From 3668b7beb971f64d939ca09ea9f9a4f2b07f37a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gardien?= Date: Wed, 30 Oct 2024 15:21:42 +0100 Subject: [PATCH] Fix minimum amount for valid adherent cotisation --- src/Adherent/Tag/TagGenerator/AdherentStatusTagGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Adherent/Tag/TagGenerator/AdherentStatusTagGenerator.php b/src/Adherent/Tag/TagGenerator/AdherentStatusTagGenerator.php index 3ea04d3c2b..73e4601776 100644 --- a/src/Adherent/Tag/TagGenerator/AdherentStatusTagGenerator.php +++ b/src/Adherent/Tag/TagGenerator/AdherentStatusTagGenerator.php @@ -53,7 +53,7 @@ public function generate(Adherent $adherent, array $previousTags): array if (!empty($totalContributionPaymentsByYear)) { if ( \array_key_exists($currentYear, $totalContributionPaymentsByYear) - && $totalContributionPaymentsByYear[$currentYear] > 30 + && $totalContributionPaymentsByYear[$currentYear] >= 30 && ( !$adherent->findElectedRepresentativeMandates(true) || $adherent->exemptFromCotisation