Commit graph

11 commits

Author SHA1 Message Date
Martin
b9bbe70ec5 perf(Administrateurs::ConditionsController#*): better perfs 2024-01-26 15:09:55 +01:00
Eric Leroy-Terquem
4d95f49c82 chore(conditions): update controllers and routes 2023-11-06 15:25:45 +01:00
simon lehericey
564939e83a fix: allow conditional on first child of bloc based on the first champ
The upper_coordinates were wrong in administrateur/type_de_champ_controller. The upper coordinates outside the bloc where missing.

with the following tdc:
- number
- bloc
  - text # this text can be conditioned by the number
2023-10-03 15:17:50 +02:00
Paul Chavard
cb5b60ccda Revert "Revert "Merge pull request #7907 from tchak/feat-cond-repetitions""
This reverts commit 0d10d36cb0.

# Conflicts:
#	app/models/dossier.rb
#	app/models/dossier_preloader.rb
2022-12-15 19:09:25 +01:00
Paul Chavard
5dfb96383a fix(types_de_champ): ensure we always reset dossier after demarche changes 2022-12-14 17:42:27 +01:00
Paul Chavard
0d10d36cb0 Revert "Merge pull request #7907 from tchak/feat-cond-repetitions"
This reverts commit 1900f8ff4c, reversing
changes made to febffc2d64.

# Conflicts:
#	app/models/dossier.rb
2022-12-14 11:25:45 +01:00
Paul Chavard
d513c364d8 feat(cond): enable conditional on champs in repetitions 2022-12-08 09:38:12 +01:00
simon lehericey
8efd305256 add upper_tdcs to condition_form 2022-09-28 10:06:31 +02:00
simon lehericey
6f7fb9841c fix: make edition annotation work again 2022-07-12 14:17:05 +02:00
simon lehericey
0179a0a826 update conditions_controller 2022-07-12 10:44:40 +02:00
simon lehericey
1751ddf713 add condition controller 2022-07-06 16:35:23 +02:00