🎨 remet les cotisations dans le bon ordre dans la fiche de paie
parent
07ad6b2a33
commit
6ba443ceea
|
@ -101,7 +101,7 @@ const groupByBranche = flatRules => (
|
|||
const cotisationsMap = cotisations.reduce(
|
||||
(acc, cotisation) => ({
|
||||
...acc,
|
||||
[cotisation.branche]: [cotisation, ...(acc[cotisation.branche] || [])]
|
||||
[cotisation.branche]: [...(acc[cotisation.branche] || []), cotisation]
|
||||
}),
|
||||
{}
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue