Commit graph

2241 commits

Author SHA1 Message Date
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
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
simon lehericey
1424fca469
other option for groupe instructeurs injection 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
055069755a
small cleaning in column_concern_spec 2024-11-07 18:11:42 +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
Paul Chavard
5182af820a
refactor(type_de_champ): type_de_champ should not expose revision or procedure 2024-11-05 21:57:05 +01:00
Paul Chavard
df0dbc1321
cneanup(tdc): this behavior moved 2024-11-05 21:57:05 +01:00
Paul Chavard
c0da8d1556
refactor(tdc): tdc.columns should take procedure instead of procedure_id 2024-11-05 21:57:04 +01:00
Eric Leroy-Terquem
d979bf6c68
feat(instruction options management): add routable champs by category 2024-11-05 14:41:37 +01:00
Colin Darie
594fc517d1
Merge pull request #10943 from colinux/feat-admin-prefill-service
ETQ admin mes informations de nouveau service sont pré-remplies à partir d'API publiques
2024-11-05 09:54:53 +00:00
Paul Chavard
d1565a67a0
Merge pull request #11011 from demarches-simplifiees/US/extract-pj-column
ETQ tech, je peux acceder aux pj via les columns
2024-11-05 09:39:25 +00:00
Colin Darie
4e80f16b9f
Merge pull request #10974 from demarches-simplifiees/remove_empty_brouillon
Tech: ajoute un scope pour détecter les brouillons vides
2024-11-05 09:32:16 +00:00
Eric Leroy-Terquem
ddb238ccd0
Merge pull request #11007 from demarches-simplifiees/can-condition-on-pays-champ
ETQ admin je peux conditionner / router depuis un champ pays
2024-11-05 09:26:20 +00:00
mfo
9d13ebb3ff
feat(pj): add specialized column for attachments 2024-11-05 10:09:59 +01:00
LeSim
4f0713a764
Merge pull request #11005 from demarches-simplifiees/work_on_json_path_column
ETQ Instructeur, je peux voir et filtrer sur les données retournées par API
2024-11-05 08:46:44 +00:00
simon lehericey
c364be12f1
rework ChampColumn.value 2024-11-05 09:38:29 +01:00
simon lehericey
ea57a97c06
introduce tdc_type 2024-11-05 09:38:27 +01:00
simon lehericey
a4617abb0e
rework JSONPathColumn to be a ChampColumn 2024-11-05 09:38:26 +01:00
simon lehericey
d03d5d0dae
add ChampColumn 2024-11-05 09:38:26 +01:00
Lisa Durand
35dee477ea
rename ProcedureLabel by Label 2024-11-04 16:48:44 +01:00
Lisa Durand
3a45524d39
add column label to procedure table 2024-11-04 16:48:00 +01:00
Colin Darie
065d380b70
feat(service): prefill type organisme from API Entreprise 2024-11-04 12:50:49 +01:00
Colin Darie
8dc47c1b93
feat(service): prefill contact information from annuaire service public 2024-11-04 12:48:13 +01:00
Paul Chavard
415be4f9ea
feat(type_de_champ): test value casts 2024-11-04 11:16:05 +01:00
Paul Chavard
aeb1d1c53a
refactor(champ): move champ.blank? implementation to type_de_champ 2024-11-04 11:16:05 +01:00
Eric Leroy-Terquem
b29893a843
feat(conditional): can condition and route with pays tdc 2024-11-04 11:09:37 +01:00
Paul Chavard
7fddec484d
refactor(column): no more java 🎉 get_value -> value 2024-10-31 21:36:13 +01:00
Paul Chavard
503da1d160
chore: implement special columns 2024-10-31 13:57:23 +01:00
Paul Chavard
e9991573e7
chore: columns on some champs at this point do not make sense 2024-10-31 13:29:15 +01:00
simon lehericey
f27598f235
fix: assign_to.procedure_presentation should return an ActiveModel::Errors if needed
the caller will then calls `errors.full_messages`
2024-10-31 11:03:06 +01:00
simon lehericey
1268f323cb
move filter button to component and use plug it to new route 2024-10-31 11:03:06 +01:00
simon lehericey
92a863d48c
remove_all as there is no some_usager_columns 2024-10-30 18:28:25 +01:00