-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce Annuaire des Entreprises definition/form
Need some wordings now
- Loading branch information
Showing
7 changed files
with
117 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class AuthorizationRequest::AnnuaireDesEntreprise < AuthorizationRequest | ||
include AuthorizationExtensions::CadreJuridique | ||
|
||
add_attributes :intitule, :description | ||
end |
11 changes: 11 additions & 0 deletions
11
app/views/authorization_request_forms/annuaire_des_entreprises.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<%= authorization_request_form(@authorization_request) do |f| %> | ||
<div class="fr-mt-2w"> | ||
<fieldset class="fr-fieldset" aria-label="feedme" aria-describedby="name-1-fieldset-messages"> | ||
<div class="fr-fieldset__element"> | ||
<%= f.dsfr_text_field :intitule, required: true %> | ||
</div> | ||
</fieldset> | ||
</div> | ||
|
||
<%= render partial: 'authorization_request_forms/shared/submit_buttons', locals: { f: f } %> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
config/authorization_request_forms/annuaire_des_entreprises.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
annuaire-des-entreprises-marches-publics: | ||
name: Marchés publics | ||
description: Cas d'usage liés aux traitement des marchés publics | ||
static_blocks: &annuaire_entreprises_static_blocks | ||
- name: 'legal' | ||
introduction: | | ||
Ce formulaire vous permet d'accéder aux fonctionnalités spécifiques au cas d'usage des marchés publics. | ||
authorization_request: AnnuaireDesEntreprise | ||
single_page_view: annuaire_des_entreprises | ||
data: | ||
description: FEEDME Une description relative à l'utilisation du service | ||
cadre_juridique_nature: |+ | ||
Service numérique de conformité pour les administrations publiques dans le cadre du décret N°2011-1601 et de l’article D8222 du code du travail, offre de services d’intermédiation aux organismes publics, tel que défini par l’article 17, alinéa IV, du décret du 24 septembre 2014 et le décret lié à la commande publique n° 2016-360. | ||
https://www.legifrance.gouv.fr/codes/id/LEGIARTI000018520702/2011-12-31/ | ||
Article R2143-13 du code de la commande publique. Concernant l’accès des acheteurs aux documents justificatifs et moyens de preuve. | ||
https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000037730589 | ||
cadre_juridique_url: 'https://www.legifrance.gouv.fr/codes/id/LEGIARTI000018520702/2011-12-31/' | ||
|
||
annuaire-des-entreprises-aides-publiques: | ||
name: Aides publiques | ||
description: Cas d'usage liés aux traitement des aides publiques | ||
static_blocks: *annuaire_entreprises_static_blocks | ||
introduction: | | ||
Ce formulaire vous permet d'accéder aux fonctionnalités spécifiques au cas d'usage des aides publiques | ||
authorization_request: AnnuaireDesEntreprise | ||
single_page_view: annuaire_des_entreprises | ||
data: | ||
description: FEEDME Une description relative à l'utilisation du service | ||
cadre_juridique_nature: |+ | ||
Décret n° 2019-31 du 18 janvier 2019 relatif aux échanges d’informations et de données entre administrations dans le cadre des démarches administratives et à l’expérimentation prévue par l’article 40 de la loi n° 2018-727 du 10 août 2018 pour un Etat au service d’une société de confiance | ||
cadre_juridique_url: 'https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000038029589/' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# language: fr | ||
|
||
Fonctionnalité: Soumission d'une demande d'habilitation Espace agent de l'Annuaires des Entreprises | ||
Contexte: | ||
Sachant que je suis un demandeur | ||
Et que je me connecte | ||
|
||
Scénario: Je soumets une demande d'habilitation pour un cas d'usage | ||
* je veux remplir une demande pour "Espace agent de l'Annuaire des Entreprises" via le formulaire "<Cas d'usage>" | ||
* je clique sur "Débuter ma demande" | ||
|
||
* je remplis "Nom de votre équipe" avec "Avengers" | ||
|
||
* je clique sur "Enregistrer les modifications" | ||
* je clique sur "Continuer vers le résumé" | ||
|
||
* j'adhère aux conditions générales | ||
|
||
* je clique sur "Soumettre la demande d'habilitation" | ||
|
||
Alors il y a un message de succès contenant "soumise avec succès" | ||
Et je suis sur la page "Demandes et habilitations" | ||
|
||
Exemples: | ||
| Cas d'usage | | ||
| Marchés publics | | ||
| Aides publiques | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters