Colin Darie
4eb9322a4f
Merge pull request #11126 from colinux/fix-useless-exception
...
ETQ usager, pas d'erreur inutile lors d'un double callback FranceConnect
2024-12-19 08:32:23 +00:00
Paul Chavard
5e7585daea
ETQ Administrateur, je voudrais que les dossiers non terminés soient toujours sur la dernière révision
2024-12-18 11:41:39 +01:00
Colin Darie
cb5fa0050a
fix(fc): useless exception when user has already created
2024-12-17 15:59:01 +01:00
Colin Darie
123d363184
Merge pull request #11013 from colinux/admin-knows-api-fields
...
ETQ admin je suis informé des infos remontées par le champ SIRET
2024-12-17 14:12:58 +00:00
Colin Darie
bd90a79b48
Merge pull request #11144 from tchak/fix-fork-merge
...
fix(dossier): on fork merge, always remove previous champ version
2024-12-17 13:15:59 +00:00
Colin Darie
009e426c31
fix(dossier): show ineligibilite message on update
2024-12-17 11:38:49 +01:00
Colin Darie
f6366a9cd3
refactor(dossier): predicates methods must return boolean
2024-12-17 11:38:49 +01:00
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
5dd25fd1b6
fix(champ): bypass blank? implementation when champ is not in revision
2024-12-10 11:30:51 +01: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
a8e96a843c
feat(ApplicationController): add an helper to retrieve a procedure_presentation from anywhere (target: will be used by Cache::ProcedureDossierPagination)
2024-12-10 09:15:53 +01:00
mfo
97c50bae0d
feat(Instructeurs::ProceduresController#show): when an instructeur views list of dossier, caches current loaded page
2024-12-10 09:15:26 +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
Colin Darie
75945a9bb7
feat(admin): dynamic SIRET columns list
2024-12-09 10:47:39 +01:00
Paul Chavard
10333908c3
refactor(champ): make row_id a named param
2024-12-09 10:06:13 +01:00
Paul Chavard
3556fcc11e
refactor(champs): cleanup champ_for_update
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
5f10486a51
refactor(dossier): create only fillable champs on new dossiers
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
Paul Chavard
3da8c4b672
feat(repetition): make champ repetition discardable
2024-12-09 10:06:13 +01:00
benoitqueyron
3e1a510286
récupération et update des InstructeursProcedure positions
2024-12-06 17:53:35 +01:00
benoitqueyron
010ea0586c
affichage selon l'ordre de instructeurs_procedures.position
2024-12-06 17:53:35 +01:00
benoitqueyron
64f39e2c78
nouveau model InstructeursProcedure avec position
2024-12-06 17:53:19 +01:00
mfo
586b8ed993
Merge pull request #11121 from mfo/US/fix-repetition-prefill
...
ETQ consommateur de l'API de pré-remplissage, je peux pre-remplir plus d'un row d'une repetition
2024-12-06 16:47:18 +00:00
mfo
ad832b9401
fix(prefill.repetitions): with more than one row, should be able to prefill champs repetition rows
2024-12-06 17:32:35 +01:00
Colin Darie
c38b4627b2
fix: user can restore a brouillon not modified for a long time
2024-12-06 17:06:59 +01:00
Colin Darie
bab474d46d
refactor(columns): more readable etablissment columns list
2024-12-06 14:39:37 +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
Mathieu Magnin
39baa5aae1
[ #10951 ] fixes after review
2024-12-03 10:29:21 +01:00
Mathieu Magnin
5ab0899a49
[ #10951 ] Create a cron job to warn user that old brouillon is deleted
2024-12-03 10:29:21 +01:00
simon lehericey
169e2659e1
forgive accent in query
2024-12-02 21:06:55 +01:00
simon lehericey
6da717a2b9
forgive case in query
2024-12-02 21:06:55 +01:00
simon lehericey
1b1626baaa
forgive space in query
2024-12-02 21:06:55 +01:00
simon lehericey
d287eac706
refactor: fix n+1
2024-11-26 16:35:45 +01:00
Paul Chavard
ee9a493877
Merge pull request #11062 from tchak/column-better-cast
...
ETQ dev, je souhaite obtenir la valeur humaine d'une colonne
2024-11-26 13:41:52 +00:00
Paul Chavard
1335336d98
refactor(column): add label_for_value method
2024-11-26 14:31:21 +01:00