Feat: add hightlights
This commit is contained in:
@@ -157,6 +157,18 @@ const travail = {
|
||||
return Math.floor(getters.retrocession / getters.count
|
||||
)
|
||||
},
|
||||
caPro: (state, getters, rootState, rootGetters) => {
|
||||
// Part of the CA to keep for professional use
|
||||
return getters.ca * rootGetters['config/caProPercentage']
|
||||
},
|
||||
caPerso: (state, getters) => {
|
||||
// Part of the CA to keep for personal use
|
||||
return getters.ca - getters.caPro
|
||||
},
|
||||
caPersoUntouch: (state, getters) => {
|
||||
// Part of the personnal use CA that haven't been use
|
||||
return getters.caPerso - getters.remuneration
|
||||
},
|
||||
},
|
||||
mutations: {
|
||||
cleanMonths (state) {
|
||||
|
||||
Reference in New Issue
Block a user