Subject: | When applying for leave, we should have a "Requires Attachment" configuration for certain Leave Types |
Summary: | When applying for leave, we should have a "Requires Attachment" configuration for certain Leave Types |
Audit Notes: | Edited by sanjay on 24/01/24 16:22. Edited by sanjay on 04/01/24 10:48. Edited by sanjay on 04/01/24 10:28. |
04 Jan 2024 | 10:28AM Comment 1 by Sanjay (Link Technologies) Case L12990 added to project 15.20 |
11 Jan 2024 | 12:27PM Comment 2 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 19-01-2024 12:20 PM Time Taken: 18.00 Notes: ETC extended from: 21/12/2023 to 19/01/2024 |
| PART A - Development work for this case has been completed. 1. The change will be available in version: 15.20 2. The following changes were made (Include Database object names, Program classes, and any other relevant information): - Added the following two new configurations:
Code: LeaveEntry.LeaveCodesRequiresAttachment. Description: When saving a "Leave Application" with Status "Applied", the following "Leave codes" will require attachments. (CSV List, e.g. "ASL,LWOP"). Code: LeaveEntry.MedicalCertificateRequiresAttachment. Description: When saving a "Leave Application" with "Medical Certificate" checked, Attachments will be required
- The configuration is self explanatory
- When saving a new Leave Application, the status is set to "Planned". Attachments are not validated in this status
- Added a "Submit" button to "Submit" leave applications. This changes the Leave Application Status to "Applied". If Attachments validation fails, the "Detail View Log" will show this message.
- When Editing Leave Applications, Validation message is shown near the Save Button
3. Affected Areas: - Leave Application, New and Edit
4. The issue was caused by: - New Feature request
5. Other Relevant Notes: 6. Next Step (Review and System Test (Developer) -> UAT (Quality) -> Documentation): UAT
|
|
15 Jan 2024 | 01:22PM Comment 3 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 19-01-2024 01:21 PM Time Taken: 1.00 |
| Added: - Leave Status shows "Attachment Required" to help identify the issue
- Row is highlighted in RED if Attachment is required
|
|
24 Jan 2024 | 03:03PM Comment 4 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 02-02-2024 02:58 PM Time Taken: 6.00 |
|
The following tests were performed:
Table 1 - Test Results
No | Test Case | Expected Result | Pass/Fail | Comments | 1 | Leave Configuration "LeaveEntry.LeaveCodesRequiresAttachment" to Blank
| User should be able to apply for leave and submit without requiring any attachments
| Pass
|
| 2 | Change configuration "LeaveEntry.LeaveCodesRequiresAttachment" to "AAL,ASL"
| Any leave application on AAL or ASL should require attachments
| Pass
|
| 3 |
| Leave Codes outside ASLS should not require Attachment
| Pass
|
| Environment Details - OS version: Win11
- Application version: 15.20
- Setup on:
- Server: LinkQA4
- Database: LinkSOFT
- LinkSOFT URL: HTTP://LinkQA4/LinkSOFT
- Login Details: Standard username and password for user "admin"
Next Step: Closure
|
|