#28 - holidays management (#30)

* #28 - holidays management

* #28 - fix

* #28 - fix

* #28 - fix

* #28 - fix

* #28 - fix

* #28 - fix

* #28 - cr fix
This commit is contained in:
Adrian Hopek
2022-01-25 09:02:48 +01:00
committed by GitHub
parent 6854c7a9f8
commit 026bfe485f
30 changed files with 938 additions and 23 deletions

View File

@@ -211,7 +211,7 @@ export default {
lastName: null,
email: null,
employmentForm: props.employmentForms[0],
employmentDate: new Date(),
employmentDate: null,
});
return { form };

View File

@@ -215,7 +215,7 @@ export default {
lastName: props.user.lastName,
email: props.user.email,
employmentForm: props.employmentForms.find(form => form.value === props.user.employmentForm),
employmentDate: new Date(props.user.employmentDate),
employmentDate: props.user.employmentDate,
});
return { form };