hrms
hrms copied to clipboard
Improve Earned Leaves Data Structure
Is your feature request related to a problem? Please describe.
Currently earned leave allocation works like this: It checks for number of leaves already allocated, checks annual allocation, and allocates the monthly quota of leaves if annual allocation is not complete.
But it doesn't maintain the data for the actual allocation.
Describe the solution you'd like
Maybe add a child table in Earned Leave for showing the schedule. This will show the dates, no of leaves and a checkbox to indicate whether that allocation happened or not.
This will also help us easily track whether we need to allocate leaves for past months in case something goes wrong - like the scheduler stops running or some error occurs.
Describe the alternatives you've considered
No response
Additional context
No response