Skip to content

Commit

Permalink
feat: Limiter l'indication "Action financée" au financements DIHAL
Browse files Browse the repository at this point in the history
  • Loading branch information
ch-benard committed Dec 20, 2024
1 parent 09c3ad7 commit dd4a62a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default (shantytownIds: number[] | null, annee_action: number, clauseGrou
where.push('af."year" = :annee::integer');
}
where.push('af.amount > 0');
where.push('af.fk_action_finance_type = \'dedie\'');

enrichWhere(where, replacements, clauseGroup);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,7 @@ export default (closingSolutions: ClosingSolution[]) => {
},

hasAtLeastOneActionFinanced: {
title: 'Le site fait-il l’objet d’une action financée l’année d’extraction ?',
title: 'Le site fait-il l’objet d’une action financée RB l’année d’extraction ?',
data: (shantytown: ShantytownWithFinancedAction) => {
if (!('hasAtLeastOneActionFinanced' in shantytown)) {
return 'non';
Expand Down

0 comments on commit dd4a62a

Please sign in to comment.