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

Explanation for employees not being configured for payment #7789

Open
jniles opened this issue Oct 17, 2024 · 0 comments
Open

Explanation for employees not being configured for payment #7789

jniles opened this issue Oct 17, 2024 · 0 comments

Comments

@jniles
Copy link
Collaborator

jniles commented Oct 17, 2024

After discussion with Dr. Rice of Hopital Evangelique Vanga, some of the following reasons may explain why employees are not configured for payment:

  1. The employee is being sanctioned and suspended for 3 months due to misconduct.
  2. The employee is being seconded out to another organisation for a time period (such as on a mission de service).
  3. The employee is away studying and not working (extended leave of absence).

In an ideal world, all employees should be configured for payment every month. Rather than have the user create a new payment period each month, and optionally select employees, I propose that employees should be configured for payment by default, and if any employee is omitted from the list who is not locked the user should type in a justification for why they will not be paid. This will allow us (the developers) to figure out any additional cases for why employees are not being paid.

To complete this issue, the following should happen:

  1. A new TEXT field should be added to the payment period table to record this information.
  2. Client-side logic should show this field if the user omits a user from the list with text similar to "You have omitted EMP.XYZ.133 - jniles from payment this month. Please record why they are not configured on the list in the textarea below:"
  3. Conditional logic to block submission of the form without this message if there are employees who are not locked and not configured for payment.
  4. Logic to ensure that all employees are selected for payment at the beginning of the payment period configuration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant