Skip to content

Commit

Permalink
[Tag] contribution is ok if submitted recently
Browse files Browse the repository at this point in the history
  • Loading branch information
Remg committed Nov 5, 2024
1 parent fd7eb65 commit b2faf40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function generate(Adherent $adherent, array $previousTags): array
$tags[] = TagEnum::ELU_ATTENTE_DECLARATION;
} elseif (0 === $adherent->getContributionAmount()) {
$tags[] = TagEnum::ELU_COTISATION_OK_NON_SOUMIS;
} elseif ($countPayments) {
} elseif ($countPayments || $adherent->hasRecentContribution()) {
$tags[] = TagEnum::ELU_COTISATION_OK_SOUMIS;
} else {
$tags[] = TagEnum::ELU_COTISATION_NOK;
Expand Down

0 comments on commit b2faf40

Please sign in to comment.