Created on 16 February 2023, over 1 year ago
Updated 9 March 2023, over 1 year ago

Problem/Motivation

We need to create sub module for ability invite referrals.

Steps to reproduce

All code must be created in a machine-named submodule `ats_referrals`.
1) Create a referral registration form with the following fields (First name, Last name, Email) for the candidate who wants to invite.
First name, Last name, Email - for Referrals. With the ability to add many referrals.
2) Add a new field to the ATS Candidate entity - Referrals (multi values, reference field type to the ATS Candidate) through the `update` function in the `ats_referrals` submodule.
3) After submitting the form, create a Drupal user with the specified email address (for the one who invites and for referrals). And also create ATS Candidates with the specified Names + reference to the created user above.
4) Add in the Referral field for the ATS Candidate who invited the referrals the connection with the ATS Candidate Referrals.

If Candidate or the Referral already exists with Email - just add this User to the Referrals field.

Thus, we will have relationships ATS Candidate with Referrals to create a Dashboard for Organization Manager to display statistics on how many new referrals the user has added, what their employment statuses are, and also how much he can eventually receive a bonus for this.

Example of Dashboard https://imgur.com/CPpTg9Q

πŸ“Œ Task
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine a.novolokov Kharkiv

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024