🐛 corrige la selection du taux atmp
parent
fd87035c44
commit
4a1e54596e
|
@ -8,6 +8,7 @@ describe('Navigation', function() {
|
|||
})
|
||||
it('bac à sable should work', function() {
|
||||
cy.contains('Bac à sable').click()
|
||||
cy.wait(1000)
|
||||
cy.contains('Dépenses primeur')
|
||||
cy.contains('11,50')
|
||||
})
|
||||
|
|
|
@ -67,11 +67,11 @@ export default function RuleInput({
|
|||
)
|
||||
}
|
||||
if (rule.API && rule.API === 'géo')
|
||||
return <SelectGéo {...{ ...commonProps }} onSubmit={onSubmit} />
|
||||
return <SelectGéo {...commonProps} onSubmit={onSubmit} />
|
||||
if (rule.API) throw new Error("Le seul API implémenté est l'API géo")
|
||||
|
||||
if (rule.dottedName == 'contrat salarié . ATMP . taux collectif ATMP')
|
||||
return <SelectAtmp {...commonProps} />
|
||||
return <SelectAtmp {...commonProps} onSubmit={onSubmit} />
|
||||
|
||||
if (rule.type === 'date') {
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue