Skip to content

Commit

Permalink
feat(outil-idl): exclude some CCNS, fix #886
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Jun 18, 2019
1 parent 328e631 commit ab291bb
Showing 1 changed file with 35 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import { round } from "../math";
/**
* calcul de l'indemnite de licenciement conventionnelle
* de la branche HCR
*/

export function getSalaireRef({
salaireRefLegal
// groupe,
// salaires,
// salaire,
// dateNotification
}) {
return salaireRefLegal;
}

export function getIndemnite({
salaireRef,
indemnite,
anciennete,
age,
hasOpe = false,
isEco = false,
groupe = "I"
}) {
// ancienneté en année
//const anneeAncienete = Math.floor(anciennete);
let indemniteConventionnelle = 0;
let formula = "";

return {
indemniteConventionnelle: round(indemniteConventionnelle),
formula
};
}

0 comments on commit ab291bb

Please sign in to comment.