Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add Employment Type to Employees #615

Closed
evereq opened this issue Feb 23, 2020 · 1 comment
Closed

Feature: Add Employment Type to Employees #615

evereq opened this issue Feb 23, 2020 · 1 comment

Comments

@evereq
Copy link
Member

@evereq evereq commented Feb 23, 2020

More specifically, one of the most important properties (optional) should be "Employment Type".
we should have some predefined set of records (stored in an enum), e.g.:

  • Intern
  • Contract
  • Probation
  • Part-time
  • Full-time

Each employee may have none, one or many associated employment types (e.g. can be "Intern" and "Part-time" at the same time!). We need to make sure such a selector (multi-select combo-box) added to the Employee Profile / Main tab. Note: in most cases, only one value will be selected or none.

In addition (important!) we also should allow creating custom "Employment Types" for each organization (e.g. some org may want to create say "Apprentice" type).

So EmploymentTypes should be a separate table and it should be "many to many" relations with Employees.

We need separate "Tab" in the Organization management page to manage "Employment Types" for the organization (of course, initially it should be the seed from enum values, but every company can add own custom types, etc). Basic operations should be supported like: browse existed types, add a new one, remove selected, edit selected, etc.

@evereq evereq added this to the v0.5 milestone Feb 23, 2020
@evereq evereq added this to To do in Gauzy Platform (Open-Source) via automation Feb 23, 2020
@ntmonov ntmonov moved this from To do to In progress in Gauzy Platform (Open-Source) Feb 24, 2020
ntmonov added a commit that referenced this issue Mar 4, 2020
…e-button-organization-employee-types
ntmonov added a commit that referenced this issue Mar 4, 2020
…-button-organization-employee-types

Feature/#615 added update delete button organization employee types
evereq added a commit that referenced this issue Mar 12, 2020
evereq added a commit that referenced this issue Mar 12, 2020
* feat: added-update-add-buttons-on-employeeTypes-in-organization-settings

* feat: adding-add-update-buttons-on-employeeTypes-organization-settings

* feat: add employee types

* feat: added-add-delete-edit-buttons-on-organization-employee-types-page

* Update base.ts

* Update organization.controller.ts

* Update organization.seed.ts

* Update employee-types.seed.ts

* Update employee.controller.ts

* Fix(UI): Employement Types input

* fix(ui): employement types as like other tabs content

* fix(ui): employment types page design and functionalities

* fix(typo): employee type changed to employment type

* fix(typo): files, components and services

* fix(composer): added uuid

* fix: remove unused import

* fix: deepscan errors fixing

* fix: bugs introduced during merge

* fix: build fixing after merge

Co-authored-by: ntmonov <nmonov84@gmail.com>
Co-authored-by: ntmonov <35723033+ntmonov@users.noreply.github.com>
Co-authored-by: Ruslan Konviser <evereq@gmail.com>
@evereq evereq assigned rmagon and unassigned ntmonov Mar 13, 2020
rmagon added a commit that referenced this issue Mar 13, 2020
@rmagon rmagon mentioned this issue Mar 13, 2020
2 of 2 tasks complete
rmagon added a commit that referenced this issue Mar 13, 2020
fix: #774 #726 #725 and #615 code improvments
@rmagon

This comment has been minimized.

Copy link
Contributor

@rmagon rmagon commented Mar 16, 2020

Adding employment types:
Screen Shot 2020-03-16 at 7 58 26 PM

Adding employment type to employee:
Screen Shot 2020-03-16 at 7 59 52 PM

@rmagon rmagon closed this Mar 16, 2020
Gauzy Platform (Open-Source) automation moved this from In progress to Done Mar 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.