Paul Chavard
5024b5b549
refactor(champs): no need to project empty champs for tag
2024-10-21 13:09:49 +02:00
Paul Chavard
4e8336ce88
Merge pull request #10897 from tchak/refactor-dossier-diff-merge
...
ETQ dev, je ne veux plus de méthode `champs_for_revision`
2024-10-17 09:54:08 +00:00
Paul Chavard
0529718c4b
refactor(dossier): the end of champs_for_revision
2024-10-17 11:33:24 +02:00
Paul Chavard
dd97c2fffd
refactor(dossier): diff and merge
2024-10-17 11:33:24 +02:00
Paul Chavard
8c8bb870fc
refactor(dossier): filled champs
2024-10-17 11:33:24 +02:00
Paul Chavard
ad7458a12f
Merge pull request #10931 from tchak/better-handle-api-entreprise-jobs
...
fix(api_entreprise): better handle api entreprise errors
2024-10-17 09:30:09 +00:00
simon lehericey
4059bfdc11
fix: make filter works on multiple_drop_down_list
2024-10-16 18:09:51 +02:00
Colin Darie
5522efc3e5
Merge pull request #10954 from tchak/fix-dossier-merge-with-multiple-rows
...
ETQ usager, fix soumission d'un dossier en construction quand multiples lignes de champs répétables ont été modifiées
2024-10-16 15:00:26 +00:00
Paul Chavard
c417614695
fix(dossier): fix apply_diff with multiple changed rows
2024-10-16 14:15:26 +02:00
simon lehericey
4d7715fbb6
extract filter and sort function to a filter_service
2024-10-15 16:09:08 +02:00
simon lehericey
e41326dad5
tech(clean): remove sva_columns(for_filters)
...
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-10-15 16:09:07 +02:00
simon lehericey
3677f3b2d3
tech(clean): remove Column classname: attribute
...
Co-authored-by: mfo <mfo@users.noreply.github.com>
2024-10-15 16:09:07 +02:00
simon lehericey
30fcb75da4
extract dossier_state_column
2024-10-15 16:09:07 +02:00
simon lehericey
14483270ba
default default_displayed_column
2024-10-15 16:09:06 +02:00
simon lehericey
4e0d3c2df1
improve Column not found error message
2024-10-15 15:48:41 +02:00
Mathieu Magnin
097074fdc7
Merge pull request #10865 from demarches-simplifiees/fix-10799
...
ETQ Admin / Instructeur je veux être savoir si le jeton api entreprise d'une démarche a expiré ou va expirer prochainement
2024-10-15 13:25:20 +00:00
Paul Chavard
d13c475170
fix(api_entreprise): better handle api entreprise errors
2024-10-15 15:24:37 +02:00
Mathieu Magnin
029a75404d
[ #10799 ] Fixes after @E-L-T review's
2024-10-15 14:40:51 +02:00
Mathieu Magnin
c897893e8a
[ #10799 ] Remove dead code
2024-10-15 14:40:50 +02:00
Mathieu Magnin
6b326b634e
[ #10799 ] Modifications after Marlene's comments
2024-10-15 14:40:50 +02:00
Mathieu Magnin
64297f9ee8
[ #10799 ] Add error on procedure#show if api entreprise token is expiring
2024-10-15 14:40:50 +02:00
Mathieu Magnin
99a1b68185
[ #10799 ] reorder methods A->Z
2024-10-15 14:40:49 +02:00
Mathieu Magnin
ec2c913ab4
[ #10799 ] Display token error on related card
2024-10-15 14:40:49 +02:00
Mathieu Magnin
703a722c54
[ #10799 ] Handle the case when api_entreprise_token is not nil then set to nil
2024-10-15 14:40:49 +02:00
Mathieu Magnin
7009eed9d7
[ #10799 ] Move api entreprise token logic in a concern
2024-10-15 14:40:49 +02:00
Paul Chavard
bd32f5693d
refactor(repetition): remove parent_id
2024-10-15 11:42:36 +02:00
Eric Leroy-Terquem
d9f604e8ce
feat(gallery): notify instructeur if pieces jointes updates
2024-10-11 11:20:46 +02:00
simon lehericey
34b0379203
procedure.find_column raise NotFound to fit AR interface
2024-10-09 09:23:06 +02:00
simon lehericey
14809b35af
add comments
2024-10-09 09:21:44 +02:00
simon lehericey
450420aa81
cache columns per request using Current
2024-10-08 22:51:26 +02:00
simon lehericey
9652cf78c3
add default_sorted_column
2024-10-08 22:47:37 +02:00
simon lehericey
e3697bd976
colonne.id = { procedure_id:, column_id: }.to_json
...
because:
- id should be a string as other id
- id need procedure_id to allow ColumnType.deserialize(id) -> Column as the columns are built by a procedure
2024-10-07 22:09:20 +02:00
simon lehericey
3740a79219
add procedure_id to column.id
2024-10-07 21:46:59 +02:00
simon lehericey
3c7521a428
extract dossier_id_column, notifications_column
2024-10-07 15:49:58 +02:00
Paul Chavard
274e43c5e6
fix(dossier): projected champs should have updated_at
2024-10-05 22:22:04 +02:00
mfo
5879d54145
Merge pull request #10866 from mfo/US/fix-filter-ilike
...
amelioration : ETQ instructeur, je souhaite pouvoir filtrer les dossiers sur mon tableau de bord fonction des choix simple/multiple/etc.. sans conflit parmis les autres valeurs de ces même choix simple/multiple/etc...
2024-10-03 13:08:49 +00:00
Paul Chavard
084a68a121
refactor(repetition): consolidate repetition manipulation methods
2024-09-27 11:34:06 +02:00
mfo
75063ae31e
fix(filter): filtering types_de_champs by enum should not ilike. nows it search by exact match since enum are normalized so findable with simple where
2024-09-24 20:48:10 +02:00
mfo
51ce0cd562
clean(filter): avis column are not filterable, not needed to ilike them
2024-09-24 20:47:43 +02:00
Colin Darie
2b07826202
fix(sva): add sva/svr decision date tag for relevant template emails
...
Closes #10033
2024-09-24 11:28:18 +02:00
Colin Darie
861f7359b1
feat(attestation): support last champ updated at as tag
...
closes #9825
2024-09-24 11:28:17 +02:00
Paul Chavard
b5eb87de6a
fix(champ): improve row_id validation and remove it during export
2024-09-23 17:06:33 +02:00
Paul Chavard
6254b50de9
Revert "Revert "Merge pull request #10771 from tchak/refactor-champs-revert""
...
This reverts commit 10a1ae5534
.
2024-09-23 10:21:07 +02:00
simon lehericey
10a1ae5534
Revert "Merge pull request #10771 from tchak/refactor-champs-revert"
...
This reverts commit c902061ebf
, reversing
changes made to b4ed11c788
.
2024-09-19 11:09:01 +02:00
mfo
1e0391c9dc
Merge pull request #10806 from mfo/US/fix-number-not-number-in-filters
...
Correctif: ETQ instructeur, la recherche par numéro de dossier ne doit accepter que des numero
2024-09-17 14:39:08 +00:00
Eric Leroy-Terquem
969706163b
Merge pull request #10641 from demarches-simplifiees/move-image-treatment-to-jobs
...
Technique : déplace les traitements d‘images côté jobs
2024-09-17 13:43:51 +00:00
mfo
ebb51e8128
fix(filters): filter by dossier should only accept number
2024-09-17 15:18:23 +02:00
Paul Chavard
3fef831524
move child? method for clarity
2024-09-17 10:29:34 +02:00
Paul Chavard
54132df77d
dossier(champ): validate presence of row_ids
2024-09-17 10:29:34 +02:00
Paul Chavard
54926db89b
refactor(champ): more concistent champ_for_update usage
2024-09-17 10:29:34 +02:00