Commit graph

4197 commits

Author SHA1 Message Date
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
92639be88b
Merge pull request #11049 from mfo/US/more-rna-rnf-data
ETQ instructeur, je souhaite pouvoir chercher par nom d'association/fondation
2024-11-18 09:00:50 +00:00
Paul Chavard
5cf90eb103
fix(champ): no crash when drop_down_list with other champ value_json is nil 2024-11-18 09:51:06 +01:00
mfo
9a70a9526d
feat(rna/rnf): expose rnf/rna title 2024-11-15 17:10:48 +01:00
mfo
cfd568b98d
feat(rna): also store 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
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
9f2aff3459
feat(export.dossier_id): not a number, a string. 2024-11-14 15:31:24 +01:00
mfo
ac6f5ba025
feat(export.datetime): ensure to cast date and time 2024-11-14 15:31:24 +01:00
mfo
6cdd801326
feat(export.linked_drop_down_list): render compound value 2024-11-14 15:31:24 +01:00
mfo
1fccf0fd18
feat(export.numbers): cast to float, otherwise it is implicitly casted
as string
2024-11-14 14:45:43 +01:00
simon lehericey
db053d36c9
fix: give format to repetition 2024-11-14 14:45:43 +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
3b5acaad4c
feat(ExportedColumn): use dedicated formatter for exported column 2024-11-14 14:45:42 +01:00
mfo
ed3b1bc046
feat(pj): add specialized column for PieceJustifiativeChamp 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
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
f383e1c502
prepare export template to be used for tabular template
Co-authored-by: mfo <mfo@users.noreply.github.com>
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
Christophe Robillard
94b3655ff7
add exported_columns to export template model
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-11-14 14:45:39 +01:00
Christophe Robillard
b2c3887520
add exported_column with its type
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-11-14 14:45:35 +01:00
Paul Chavard
942fc42af2
refactor(dossier): rebase should not change champ type 2024-11-14 11:32:12 +01:00
Paul Chavard
81eeff2474
cleanup: remove unused code 2024-11-14 11:32:12 +01:00
LeSim
d30c0e0263
Merge pull request #11039 from demarches-simplifiees/work_on_enum_filter
ETQ Instructeur: corrections sur les filtres des champs choix multiples et liste liée
2024-11-13 15:37:58 +00:00
simon lehericey
d2c3c91fa7
fix: hide sva decision before column 2024-11-13 10:44:51 +01:00
simon lehericey
e94fd6db4c
fix: filtering on linked_drop_down_column 2024-11-13 10:22:29 +01:00
simon lehericey
09793420fb
fix: make enums filter work if champs.enums contains the searched value among others 2024-11-12 17:49:07 +01:00
simon lehericey
50677e982c
refactor: simplify and sanitize filter_ilike 2024-11-12 17:40:55 +01:00
simon lehericey
343ad1a81c
refactor: simplify filter_enum 2024-11-12 17:01:38 +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
simon lehericey
cdc45cd6af
clean: ignore obsolete procedure_presentation columns 2024-11-12 13:52:09 +01:00
Paul Chavard
bacdedec2e
refactor(champ): add is_type? method 2024-11-12 12:10:25 +01:00
Paul Chavard
dc6bad40fe
refactor(type_de_champ): cleanup type predicate methods 2024-11-12 12:02:08 +01:00
LeSim
5c3b8f1e1c
Merge pull request #11026 from demarches-simplifiees/inject_options_in_column
Tech: injecte les options des colonnes de type `enum`, retire scope et value_column du new
2024-11-08 09:06:58 +00:00
simon lehericey
1424fca469
other option for groupe instructeurs injection 2024-11-07 18:11:43 +01:00
simon lehericey
08fb49d176
factorize departements and regions options 2024-11-07 18:11:43 +01:00
simon lehericey
aa8ce15c2a
you know what ? value_column is a column 2024-11-07 18:11:43 +01:00
simon lehericey
8599dd829a
remove obsolete column.to_json 2024-11-07 18:11:43 +01:00
simon lehericey
17531b73b7
internalize value_column inside champ_column 2024-11-07 18:11:42 +01:00
simon lehericey
9d976b8d95
move filtering logic inside champ_column 2024-11-07 18:11:42 +01:00
simon lehericey
32d3ec2dc3
add shortcut for DossierColumn.new 2024-11-07 18:11:41 +01:00
simon lehericey
9fd3a460cd
remove scope arg from column.new 🎉 2024-11-07 18:11:41 +01:00
simon lehericey
1277500069
inject groupe_instructeurs when possible 2024-11-07 18:11:40 +01:00
simon lehericey
e2bc45dc4a
inject dossier_state at build time 2024-11-07 18:11:40 +01:00