Monday, June 10, 2024
2 changes · 17.0
Enhancements to existing features
The salary configurator now intelligently handles document uploads by only requiring new files when they don't already exist on the contract. If a document is already on file, employees will simply see the existing file instead of being asked to upload it again. This reduces unnecessary re-uploads and streamlines the salary setup process.
Original PR description
Document fields in the salary configurator now check for existing files on the current contract. Fields are set to required only if no associated file is detected on the contract, otherwise we just show the already existed file. Task-3468245
This update prevents employees from deleting leave records for future periods when a payslip has already been generated and paid for that time. This protects payroll integrity by ensuring leave data remains consistent with finalized payroll records.
Original PR description
Employees should not be able to delete leaves in the future when there's a payslip generated and paid for that period. Task-3776411