1
0
Fork 0
mirror of https://github.com/betagouv/mon-entreprise synced 2025-02-10 13:55:03 +00:00

fix(pam): correction des règles de l'assistant revenus pour les dentistes

This commit is contained in:
Alice Dahan 2025-01-31 17:35:48 +01:00 committed by liliced
parent a56bfc6ffc
commit 7b6c7d17a9
3 changed files with 18 additions and 16 deletions

View file

@ -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 dactes conventionnés
unité: €/an
déclaration revenus PAMC . SNIR . dépassements honoraires:
titre: dépassements dhonoraires
non applicable si: profession . dentiste
question: dépassements dhonoraires
unité: €/an

View file

@ -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 () {

View file

@ -69,8 +69,10 @@ export default function Résultats() {
/>
<H3>Données transmises par lAssurance Maladie</H3>
<SimulationValue dottedName="déclaration revenus PAMC . SNIR . honoraires remboursables" />
<SimulationValue dottedName="déclaration revenus PAMC . SNIR . dépassements honoraires" />
<Condition expression="déclaration revenus PAMC . profession != 'dentiste'">
<SimulationValue dottedName="déclaration revenus PAMC . SNIR . honoraires remboursables" />
<SimulationValue dottedName="déclaration revenus PAMC . SNIR . dépassements honoraires" />
</Condition>
<SimulationValue dottedName="déclaration revenus PAMC . SNIR . honoraires tarifs opposables" />
<SimulationValue dottedName="déclaration revenus PAMC . SNIR . honoraires hors forfaits" />
<SimulationValue