Commit graph

7913 commits

Author SHA1 Message Date
Martin
ba6c5b4db7 feat(instructeur/procedure#index): enhance filter to support processed_at and state [plus en_instruction_at/since]
feat(filter): enable filter on dossiers.state, dossiers.processed_at(since), dossiers.en_instruction_at(since)
2022-09-27 17:19:54 +02:00
Colin Darie
e18dbb976f fix(graphql/serializer): PersonneMorale#date_creation may be null
Ça fix le passage du dossier dans un dossier "terminé" pour un dossier
dont un champ avec SIRET correspond à un établissement sans date de creation
connue.
2022-09-26 18:05:04 +02:00
Christophe Robillard
ddd5f6ece2 make label method name more explict 2022-09-26 16:58:53 +02:00
Christophe Robillard
f452e1014a make label_at more concise 2022-09-26 16:58:53 +02:00
Christophe Robillard
240f1b249f makes the NA label for zone more explicit 2022-09-26 16:58:53 +02:00
Christophe Robillard
9a9330159c choose zone options with correct label
label of the zone is the one available when the procedure has been published (or at the creation if the procedure has not been published)
2022-09-26 16:58:53 +02:00
Christophe Robillard
62f19aba8a get all available zones at specific date 2022-09-26 16:58:53 +02:00
Christophe Robillard
9773977496 know if a zone exist at a specific date 2022-09-26 16:58:53 +02:00
Christophe Robillard
59cce4203a get zone label at specific date 2022-09-26 16:58:53 +02:00
Christophe Robillard
a504e82021 add zone label 2022-09-26 16:58:53 +02:00
simon lehericey
2e33438131 fix(conditional): add missing locals 2022-09-26 10:21:15 +02:00
simon lehericey
bae60339a7 fix: wording 2022-09-26 10:21:15 +02:00
simon lehericey
726a0f20c9 fix(conditional): update breadcrump when condition change 2022-09-26 10:21:15 +02:00
simon lehericey
b6686828db fix(conditional): update error summary when condition change 2022-09-26 10:21:15 +02:00
simon lehericey
eb71207457 fix(conditional): change number input to text input, to display original text not empty in the error message 2022-09-26 10:21:15 +02:00
simon lehericey
f53e8608ae refactor(conditional): error message system 2022-09-26 10:21:15 +02:00
simon lehericey
ab42b27176 refactor(logic): add comments 2022-09-26 10:21:15 +02:00
simon lehericey
fcb9b55bc4 feat(conditional): add include operator 2022-09-26 10:21:15 +02:00
Martin
d9432ccd3b fix(etablissement.as_degraded_mode): backfill missing data via a cron 2022-09-23 15:12:25 +02:00
Kara Diaby
83efa7eab3 fix title order 2022-09-23 08:41:25 +02:00
Kara Diaby
611cc23920 layout 2022-09-23 08:41:25 +02:00
mfo
7bd288e04a
Merge pull request #7796 from betagouv/fix-cron-declarative-procedure-incomplete-etablissement
fix(cron/procedure-declarative): don't auto accept a dossier still in degraded mode
2022-09-22 18:26:36 +02:00
Martin
daeab50321 fix(data): backfill etablissement as degraded mode 2022-09-22 18:02:47 +02:00
Colin Darie
6a4a9c8e03 fix(cron/procedure-declarative): don't auto accept a dossier still in degraded mode 2022-09-22 16:26:14 +02:00
Colin Darie
9b929c86ea
Merge pull request #7760 from betagouv/dsfr-dossier-top-form
DSFR: convert dossier top form elements
2022-09-21 16:44:51 +02:00
Colin Darie
39322e6dff feat(instructeurs): warn about acceptation/reject unavailable due to incomplete etablissement 2022-09-21 16:00:59 +02:00
Colin Darie
fe2b3ec936 feat(instructeurs/dossier): explicit error about impossible transition due to incomplete etablissement 2022-09-21 16:00:59 +02:00
Colin Darie
e7de19b24d fix(dossier): avoir final state if etablissement is still in degraded mode
Maintenant qu'on autorise un dossier pour entreprise a être créé en mode "dégradé",
(avec établissement incomplet suite à API Entreprise/INSEE down…),
on empêche de l'accepter/refuser/classer sans suite tant qu'on a pas
vérifié son SIRET.

Fix https://sentry.io/organizations/demarches-simplifiees/issues/2839832517/?project=1429550&query=is%3Aunresolved
2022-09-21 16:00:59 +02:00
Colin Darie
53cd041060 refactor(dsfr): components import order accordingly to their README 2022-09-21 15:47:35 +02:00
Colin Darie
55fd4307a1 refactor(header/notice): convert JS to stimulus 2022-09-21 15:47:35 +02:00
Colin Darie
4d5f03b99c style(header): remove fr-header__with-notice-info when notice is closed 2022-09-21 15:47:35 +02:00
Colin Darie
7e6624753a refactor(dossier/pdf): use new france_connect_informations helper 2022-09-21 15:47:35 +02:00
Colin Darie
fcb478eb53 refactor(fc_info): use Dsfr::Notice for france connect informations 2022-09-21 15:47:35 +02:00
Colin Darie
ab82128585 feat(dsfr): new NoticeComponent 2022-09-21 15:47:35 +02:00
Colin Darie
a5e1d8865b style(france_connect_account): convert notice about FC user to DSFR 2022-09-21 15:47:35 +02:00
Colin Darie
80daf3ede1 style(dsfr): dossier form header + notice link 2022-09-21 15:47:35 +02:00
Colin Darie
13beb2bfa5 fix: AgentConnect button visibility 2022-09-21 15:34:31 +02:00
Paul Chavard
16bba911ba Revert "Merge pull request #7637 from tchak/chore-add-missing-foreign-keys"
This reverts commit b21ee46dc2, reversing
changes made to dd85b5c35c.
2022-09-21 15:20:42 +02:00
Colin Darie
7e1c542807 fix: FranceConnect button was not visible anymore, convert to DSFR 2022-09-21 09:28:54 +02:00
Colin Darie
cffa8d0b69 style(dsfr/link): doc for explicitly disabling href underlined enabled by dsfr 2022-09-21 09:28:54 +02:00
Paul Chavard
84b9644bcd fix(db): add missing foreign keys 2022-09-20 15:16:52 +02:00
Kara Diaby
ba58558146 fix accessibiliy problems 2022-09-19 13:34:43 +02:00
Kara Diaby
2c4a8e81ba footer layout 2022-09-19 13:34:43 +02:00
Kara Diaby
f3549a7a4d Modify CSS overide and import footer from DSFR 2022-09-19 13:34:43 +02:00
simon lehericey
9d2d19800d feat(champ siret): save etablissement in degraded mode if api down and allow submission 2022-09-19 12:12:05 +02:00
simon lehericey
c7d54fc750 feat(champ siret): display an acknowledgment if siret exist 2022-09-19 11:50:33 +02:00
Martin
eae05b0a6f feat(export.xslx): add code commune to geo_area.label 2022-09-17 08:59:06 +02:00
simon lehericey
0f318a1f7f feat(api_entreprise): display partial information when degraded_mode 2022-09-16 14:43:18 +02:00
Colin Darie
95a4e8a907
feat(api_entreprise): create etablissement with fallback when API is down
On créé l'établissement uniquement avec le SIRET, sans que ce soit bloquant
pour compléter le dossier. On demande à l'utilisateur de vérifier
lui-même la concordance du SIRET avec son entreprise.

Cf #7766
2022-09-16 10:43:59 +02:00
Colin Darie
3cd02ceae3
fix(etablissement): improve annuaire_link, with SIRET & as search
Dans certaines circonstances le SIREN pouvait être vide alors qu'on a
toujours le SIRET. Aussi, on se base sur la recherhce qui redirige vers
le bon namespace car il n'y a pas forcément que des entreprises : certaines
sont listées sous "etablissement".
2022-09-16 10:43:59 +02:00