Paul Chavard
9dd1973e18
fix(dossier): always remove previous champ version
...
If champ type_de_champ gets out of sync with its type, the persisted champ will not be part of the filled champs collection. In the merge code, we need to remove the previous champ, disregarding its type. The problem should have been caught earlier, but our unique index is not actually unique because our version of PG misses `NULLS NOT DISTINCT`. The unique index only works for champs in repetitions.
2024-12-16 21:49:51 +00:00
simon lehericey
a362e95542
same for direct access by champ.value
2024-12-12 15:20:25 +01:00
simon lehericey
5f63ade97a
same for enums in columns
2024-12-12 13:20:12 +01:00
simon lehericey
c578c88f48
always show user choice even if no more in enum in columns
2024-12-12 13:20:05 +01:00
mfo
6e5aa90bc7
Merge pull request #10898 from mfo/US/navigation-accros-dossiers
...
ETQ instructeur, je peux passer au dossiers suivant ou au dossier précédent lorsque je visualise un dossiers d'un des onglet (a-suivre, tous, ...)
2024-12-11 14:03:48 +00:00
Paul Chavard
b3701a12b4
fix(champ): always check if a champ is in a valid revision before validate
2024-12-10 11:30:51 +01:00
mfo
1b8db6abee
feat(cache.procedure_dossier_pagination): add Cache::ProcedureDossierPagination to next/previous dossiers by statut. also responsible to fetch next/previous page
2024-12-10 09:15:00 +01:00
Benoit Queyron
b8481796c7
Merge pull request #11084 from demarches-simplifiees/etq-instructeur-ordonner-procedures
...
ETQ Instructeur : je veux pouvoir ordonner ma liste de démarches
2024-12-09 12:54:59 +00:00
Paul Chavard
10333908c3
refactor(champ): make row_id a named param
2024-12-09 10:06:13 +01:00
Paul Chavard
56b0b156bf
refactor(champs): update specs
2024-12-09 10:06:13 +01:00
Paul Chavard
474d206ee1
refactor(champs): remove orphaned and invisible champs after submit
2024-12-09 10:06:13 +01:00
Paul Chavard
6cbf66dfb8
refactor(dossier): stop destroying champs in rebase
2024-12-09 10:06:13 +01:00
Paul Chavard
0594887401
refactor(dossier): update clone and apply diff to work with rows
2024-12-09 10:06:13 +01:00
Paul Chavard
8e582e0be7
refactor(repetition): materialize repetition rows in db
2024-12-09 10:06:13 +01:00
Paul Chavard
7ee90b6d85
refactor(champ): validate only champs in revision
2024-12-09 10:06:13 +01:00
benoitqueyron
95a3f17976
test: instructeurs_procedure_spec
2024-12-06 17:53:35 +01:00
Colin Darie
9cb547efcf
refactor: rename naf => code_naf
2024-12-06 14:39:37 +01:00
Colin Darie
f1d14bd6af
feat(etablissement): save value json data for columns
2024-12-06 14:39:37 +01:00
Colin Darie
a400045964
refactor(etablissement): update champ value json address from model
2024-12-06 14:39:37 +01:00
Colin Darie
2e873254fe
refactor(columns): normalize (upcase first) address columns wording
2024-12-06 14:39:37 +01:00
Colin Darie
985cf32752
feat(champ siret): improve default base SIRET column wording
2024-12-06 14:39:36 +01:00
Colin Darie
90a8888ade
feat(champ siret): etablissement columns filterable & displayable
2024-12-06 14:39:36 +01:00
Paul Chavard
99a9bc3829
fix(dossier): when a champ type changes on update, ensure we have an instance of the right class
2024-12-04 13:00:22 +01:00
Colin Darie
adf75a9036
fix: dépot => dépôt
2024-11-28 15:50:07 +01:00
Paul Chavard
7f4622b697
feat(column): filter out invalid values on enum and enums columns
2024-11-26 14:31:21 +01:00
mfo
99184d3d2b
Merge pull request #11088 from mfo/US/fix-export-repetition-not-in-dossier-revision
...
correctif: ETQ instructeur, je peux exporter mes dossiers même si une répétition a été ajouté a une autre version du formulaire
2024-11-26 10:22:14 +00:00
mfo
266bba941a
bug(sentry#6088812113): pinpoint issue, we are trying to ask rows for a
...
repetition which is not in a dossier.revision
2024-11-26 10:56:21 +01:00
Mathieu Magnin
460bd48d08
Merge pull request #11050 from demarches-simplifiees/fix-9513-part-1
...
(1/X) ETQ administrateur, je veux pouvoir modifier le lien URL de ma démarche sans avoir à la cloturer
2024-11-26 08:58:48 +00:00
Paul Chavard
71009094a4
refactor(type_de_champ): improve and clean helper methods
2024-11-20 10:18:51 +01:00
simon lehericey
38e998c279
fix: allow previous id with ->
to work
2024-11-19 12:12:55 +01:00
mfo
1ed0599137
Merge pull request #11042 from demarches-simplifiees/update-routage-a-partir-d-un-champ
...
ETQ administrateur j'ai davantage d'informations sur le routage à partir d'un champ
2024-11-18 12:20:05 +00:00
mfo
9a70a9526d
feat(rna/rnf): expose rnf/rna title
2024-11-15 17:10:48 +01:00
mfo
a9237bf7f1
feat(rnf): also store rnf title
2024-11-15 17:10:48 +01:00
Eric Leroy-Terquem
bccef87cbf
wording(routing): updates after UI reviews
2024-11-15 11:41:37 +01:00
Mathieu Magnin
80c1a1af2c
Remove not used param
2024-11-15 11:07:04 +01:00
krichtof
4b740f8f29
Merge pull request #10591 from demarches-simplifiees/9827-export-select
...
ETQ instructeur, je peux créer un modèle d'export tabulaire
2024-11-15 05:55:17 +00:00
Paul Chavard
cab8c351c5
Merge pull request #11046 from tchak/fix-validation-after-rebase
...
fix(champ): do not validate champs with changed type
2024-11-14 17:45:18 +00:00
LeSim
38ca9aaa92
Merge pull request #11037 from demarches-simplifiees/remove_old_procedure_presentation_methods
...
Tech: supprime les méthodes de relative aux procedure_presentations du controller instructeur. Attention, casse des migrations
2024-11-14 16:07:59 +00:00
Paul Chavard
ea5340d71a
fix(champ): do not validate champs with changed type
2024-11-14 16:53:56 +01:00
mfo
6cdd801326
feat(export.linked_drop_down_list): render compound value
2024-11-14 15:31:24 +01:00
mfo
e563d81b7e
feat(export.type): ensure right cast type on export. ods expecting boolean value a 0||1
2024-11-14 14:45:42 +01:00
mfo
8792cb3cfd
feat(type_de_champ_commune): add custom columns for iso export
...
feat(export.type): ensure right cast type on export
Co-Authored-By: LeSim <mail@simon.lehericey.net
2024-11-14 14:45:42 +01:00
mfo
c209cac62f
feat(export_template): use in export service
2024-11-14 14:45:41 +01:00
mfo
f014006542
dry(export_template_form): extract checkbox component
2024-11-14 14:45:41 +01:00
Christophe Robillard
15cea714c1
extract methods from dossier to dossier_export_concern
...
Co-authored-by: mfo <mfo@users.noreply.github.com>
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2024-11-14 14:45:41 +01:00
Christophe Robillard
ffd1a15d91
add, edit and destroy export template with exported_columns
...
Co-authored-by: mfo <mfo@users.noreply.github.com>
Co-authored-by: LeSim <mail@simon.lehericey.net>
2024-11-14 14:45:40 +01:00
Christophe Robillard
16b8995191
extend procedure.all_revision_types_de_champ
...
for header section
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-11-14 14:45:39 +01:00
Paul Chavard
942fc42af2
refactor(dossier): rebase should not change champ type
2024-11-14 11:32:12 +01:00
simon lehericey
e94fd6db4c
fix: filtering on linked_drop_down_column
2024-11-13 10:22:29 +01:00
Paul Chavard
0617f4c3e8
Merge pull request #11027 from tchak/refactor-champ-same-type
...
refactor(champ): add is_type? method
2024-11-12 13:05:20 +00:00