Skip to content

Commit

Permalink
[AdherentTags] fix non_soumis rule
Browse files Browse the repository at this point in the history
  • Loading branch information
ottaviano committed Sep 20, 2024
1 parent 4393393 commit 7e0fac9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function generate(Adherent $adherent, array $previousTags): array

if (null === $adherent->getLastRevenueDeclaration() && 0 === $countPayments) {
$tags[] = TagEnum::ELU_ATTENTE_DECLARATION;
} elseif (null === $adherent->getContributionAmount()) {
} elseif (0 === $adherent->getContributionAmount()) {
$tags[] = TagEnum::ELU_COTISATION_OK_NON_SOUMIS;
} elseif ($countPayments) {
$tags[] = TagEnum::ELU_COTISATION_OK_SOUMIS;
Expand Down

0 comments on commit 7e0fac9

Please sign in to comment.