Skip to content

Commit

Permalink
CFIR flag does not exclude Iliad flag if from the application option. F…
Browse files Browse the repository at this point in the history
…ix #231
  • Loading branch information
mdurero committed Mar 26, 2024
1 parent 08ce9cd commit 44ebde6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mlang/utils/dgfip_options.ml
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ let handler (income_year : int) (application_name : string) (iliad_pro : bool)
annee_revenu = income_year;
flg_correctif = not primitive_only;
flg_iliad =
(application_name = "iliad" || iliad_pro)
&& (not cfir)
((iliad_pro && (not cfir))
|| application_name = "iliad" )
&& not (Option.is_some batch);
flg_pro = (application_name = "pro" || iliad_pro) && not cfir;
flg_cfir = cfir && not iliad_pro;
Expand Down

0 comments on commit 44ebde6

Please sign in to comment.