diff --git a/client/src/components/dashboard/SetUserVacationBalance.vue b/client/src/components/dashboard/SetUserVacationBalance.vue index 39b11573..2a419dd0 100644 --- a/client/src/components/dashboard/SetUserVacationBalance.vue +++ b/client/src/components/dashboard/SetUserVacationBalance.vue @@ -177,7 +177,7 @@ export default { const defaultBalanceValues = [ { key: 'annual', label: 'Annual', value: 30 }, { key: 'emergency', label: 'Emergency', value: 10 }, - { key: 'excuse', label: 'Excuse', value: 10 }, + { key: 'excuse', label: 'Excuse', value: 12 }, { key: 'compensation', label: 'Compensation', value: 30 }, { key: 'paternity', label: 'Paternity', value: 30 }, { key: 'maternity', label: 'Maternity', value: 30 }, @@ -215,8 +215,8 @@ export default { { label: 'Leave excuse', key: 'excuse', - value: 6, - validationRules: getBalanceRules('excuse', 10) + value: 12, + validationRules: getBalanceRules('excuse', 12) }, { label: 'Compensation', @@ -256,8 +256,8 @@ export default { { label: 'Leave excuse', key: 'excuse', - value: 6, - validationRules: getBalanceRules('excuse', 10) + value: 12, + validationRules: getBalanceRules('excuse', 12) }, { label: 'Compensation', diff --git a/client/src/utils/add_update_user_form.ts b/client/src/utils/add_update_user_form.ts index c747469d..23e41422 100644 --- a/client/src/utils/add_update_user_form.ts +++ b/client/src/utils/add_update_user_form.ts @@ -67,9 +67,9 @@ export const userBalance = ref([ { label: 'Excuse', key: 'excuse', - value: 6, + value: 12, type: 'number', - rules: getBalanceRules('excuse', 10), + rules: getBalanceRules('excuse', 12), isLoading: false, disabled: false, },