diff --git a/modele-social/règles/declaration-pam/déclaration-revenus-pamc-formulaire.publicodes b/modele-social/règles/declaration-pam/déclaration-revenus-pamc-formulaire.publicodes index ba2582e6b..8223a37f2 100644 --- a/modele-social/règles/declaration-pam/déclaration-revenus-pamc-formulaire.publicodes +++ b/modele-social/règles/declaration-pam/déclaration-revenus-pamc-formulaire.publicodes @@ -72,13 +72,11 @@ déclaration revenus PAMC . cotisations sociales obligatoires: déclaration revenus PAMC . SNIR: déclaration revenus PAMC . SNIR . honoraires remboursables: - non applicable si: profession . dentiste titre: honoraires tirés d’actes conventionnés unité: €/an déclaration revenus PAMC . SNIR . dépassements honoraires: titre: dépassements d’honoraires - non applicable si: profession . dentiste question: dépassements d’honoraires unité: €/an diff --git a/site/cypress/integration/mon-entreprise/assistants/declaration-revenus-pamc.ts b/site/cypress/integration/mon-entreprise/assistants/declaration-revenus-pamc.ts index 3f3c93dfd..f84e22499 100644 --- a/site/cypress/integration/mon-entreprise/assistants/declaration-revenus-pamc.ts +++ b/site/cypress/integration/mon-entreprise/assistants/declaration-revenus-pamc.ts @@ -321,15 +321,6 @@ describe( cy.contains('Chirurgien/chirurgienne-dentiste').click() - cy.get(`#${idPrefix}_SNIR___honoraires_remboursables-title`).should( - 'not.exist' - ) - cy.get(`#${idPrefix}_SNIR___honoraires_remboursables`).should('not.exist') - cy.get(`#${idPrefix}_SNIR___dépassements_honoraires-title`).should( - 'not.exist' - ) - cy.get(`#${idPrefix}_SNIR___dépassements_honoraires`).should('not.exist') - cy.get(`#${idPrefix}_SNIR___taux_urssaf-title`).should('be.visible') cy.get(`#${idPrefix}_SNIR___taux_urssaf`).should('be.visible') @@ -349,15 +340,26 @@ describe( cy.get(`#${idPrefix}_SNIR___taux_urssaf-value`).should('not.exist') cy.contains('Chirurgien/chirurgienne-dentiste').click() - cy.get('input[type="text"]').as('inputs').should('have.length', 4) + cy.get('input[type="text"]').as('inputs').should('have.length', 6) cy.get('@inputs').each(($input) => { cy.wrap($input).type('{selectall}100') }) - // TODO: à compléter une fois clarifié les résultats pour dentistes - cy.get(`#${idPrefix}_SNIR___taux_urssaf-label`).should('be.visible') cy.get(`#${idPrefix}_SNIR___taux_urssaf-value`).should('be.visible') + + cy.get(`#${idPrefix}_SNIR___honoraires_remboursables-label`).should( + 'not.exist' + ) + cy.get(`#${idPrefix}_SNIR___honoraires_remboursables-value`).should( + 'not.exist' + ) + cy.get(`#${idPrefix}_SNIR___dépassements_honoraires-label`).should( + 'not.exist' + ) + cy.get(`#${idPrefix}_SNIR___dépassements_honoraires-value`).should( + 'not.exist' + ) }) it('devrait montrer des champs différents aux médecins', function () { diff --git a/site/source/pages/assistants/declaration-revenus-pamc/components/Résultats.tsx b/site/source/pages/assistants/declaration-revenus-pamc/components/Résultats.tsx index 0c8ec9c85..ebaad0faf 100644 --- a/site/source/pages/assistants/declaration-revenus-pamc/components/Résultats.tsx +++ b/site/source/pages/assistants/declaration-revenus-pamc/components/Résultats.tsx @@ -69,8 +69,10 @@ export default function Résultats() { />

Données transmises par l’Assurance Maladie

- - + + + +