Commit graph

2293 commits

Author SHA1 Message Date
Suphonchai Phoonsawat
aef81e9f4e Add support for multiple child DNA IDs in leave processing and enhance batch creation of duty time changes
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m45s
2026-03-25 15:17:54 +07:00
Suphonchai Phoonsawat
6427cb4344 Comment out probation-related leave limit checks in LeaveRequestController and update appsettings.json to disable unused database connections
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m45s
2026-03-24 09:00:06 +07:00
Suphonchai Phoonsawat
252d8b5fa3 Update SearchProfile method parameters to use string for SelectedNodeId #1555
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m40s
2026-03-23 10:40:54 +07:00
Suphonchai Phoonsawat
58aca3a328 Add SelectedNode parameter to SearchProfile method for enhanced profile retrieval #1555
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m44s
2026-03-23 10:13:13 +07:00
Suphonchai Phoonsawat
818ff38e99 Add SelectedNodeId parameter to SearchProfile method and update related DTO #1555 2026-03-23 10:04:09 +07:00
Suphonchai Phoonsawat
23bbd9791e Add CreateChangeRoundMultipleAsync method for batch processing of duty time changes #1555
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m51s
Build & Deploy Placement Service / build (push) Successful in 1m54s
Build & Deploy Insignia Service / build (push) Successful in 1m51s
Build & Deploy Discipline Service / build (push) Successful in 1m51s
2026-03-23 09:49:17 +07:00
Suphonchai Phoonsawat
7e0f0485fd Add TokenUserInfo class and extend ClaimsPrincipal with methods for user claims retrieval
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m49s
2026-03-17 15:47:03 +07:00
harid
b1df33dc20 fix bug #2183
All checks were successful
Build & Deploy Retirement Service / build (push) Successful in 1m56s
2026-03-11 14:01:34 +07:00
Suphonchai Phoonsawat
6902236f48 Add GetTimeStampHistoryAsync2 method for fiscal year timestamp retrieval
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m50s
2026-03-11 11:57:00 +07:00
Suphonchai Phoonsawat
4562029e6e Update GetTimeStampHistoryAsync call to include pagination and keyword filtering
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 2m8s
2026-03-10 14:10:35 +07:00
Suphonchai Phoonsawat
4650f7a2ab Refactor ScheduleUpdateDnaAsync to handle a list of ScheduleUpdateDnaDto and streamline profile updates #2341
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m59s
2026-02-26 20:36:48 +07:00
Suphonchai Phoonsawat
f866435897 Refactor LeaveBeginningController to simplify duplicate check and comment out LeaveYear property in EditLeaveBeginningDto #2341
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m41s
2026-02-25 16:26:28 +07:00
Suphonchai Phoonsawat
006cea048d Add ScheduleUpdateDna endpoint and DTO for updating DNA information in LeaveBeginningController
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m35s
2026-02-25 15:26:49 +07:00
Suphonchai Phoonsawat
9a74b690cd ทดสอบ
Some checks failed
Build & Deploy Leave Service / build (push) Has been cancelled
2026-02-25 10:13:27 +07:00
Suphonchai Phoonsawat
2ee36af763 Test 2026-02-24 19:43:58 +07:00
Suphonchai Phoonsawat
cd99179621 Enhance leave eligibility check in LeaveRequestController with detailed messaging 2026-02-24 10:24:24 +07:00
Suphonchai Phoonsawat
c20e1b48bd Add GetDifference method to DateTimeExtension and implement TimeCheck endpoint in LeaveRequestController
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m35s
2026-02-23 10:09:36 +07:00
Suphonchai Phoonsawat
5b054f9948 Merge branch 'develop' into working
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m50s
2026-02-20 16:33:33 +07:00
Suphonchai Phoonsawat
3e34aaa178 Refactor file upload logic in LeaveController to handle check-in scenarios more effectively
#2328
2026-02-20 16:32:57 +07:00
harid
ddb35f525a Fix #2319
All checks were successful
Build & Deploy Placement Service / build (push) Successful in 1m50s
2026-02-20 13:36:50 +07:00
harid
ecca345407 รายชื่อผู้สอบผ่าน กรณี OWNER ให้เห็นรายชื่อเหมือน สกจ. #2319
All checks were successful
Build & Deploy Placement Service / build (push) Successful in 1m48s
2026-02-20 10:46:15 +07:00
Suphonchai Phoonsawat
7e613ab2e6 Merge branch 'develop' into working
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m43s
2026-02-19 17:34:10 +07:00
Suphonchai Phoonsawat
7eade164e9 Update LeaveRequestController to use GetLastLeaveRequestByTypeForUserAsync2 method with CreatedAt for fetching last leave request 2026-02-19 17:33:37 +07:00
harid
256da24caf แก้ไขสิทธิ์ PARENT ให้เห็นข้อมูลทั้งหมดทุกหน่วยงาน #54
All checks were successful
Build & Deploy Discipline Service / build (push) Successful in 1m55s
Build & Deploy Insignia Service / build (push) Successful in 1m48s
Build & Deploy Leave Service / build (push) Successful in 1m49s
Build & Deploy Placement Service / build (push) Successful in 1m46s
Build & Deploy Retirement Service / build (push) Successful in 1m50s
2026-02-19 17:01:44 +07:00
Suphonchai Phoonsawat
869defcc7e Update LeaveRequestRepository to order leave requests by creation date instead of start date #2305
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m44s
2026-02-19 15:19:41 +07:00
Suphonchai Phoonsawat
65feb994ee Add GetLastLeaveRequestByTypeForUserAsync2 method and update LeaveReportController to use new method for fetching last leave request #2305
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 2m0s
2026-02-19 15:10:44 +07:00
Suphonchai Phoonsawat
d748308419 Enhance LeaveController to implement check-out logic and status validation based on last check-in record 2026-02-19 15:07:04 +07:00
Suphonchai Phoonsawat
b8df2d4024 Add NodaTime package and update LeaveRequestController to use LocalDate for date calculations
#2324
2026-02-19 14:06:59 +07:00
Suphonchai Phoonsawat
c42aaa38f6 Fix API path in UserProfileRepository to remove redundant versioning
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m45s
2026-02-19 10:11:39 +07:00
Suphonchai Phoonsawat
ddaa339e9f Refactor LeaveRequestController and LeaveReportController to use GetSumApproveLeaveTotalByTypeAndRangeForUser2 method and update fiscal year end date calculation #2305
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m41s
2026-02-18 20:24:30 +07:00
Suphonchai Phoonsawat
d70ed254c0 Enhance LeaveRequestController to restore profile checks and implement officer notification logic #2164
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m34s
2026-02-18 16:56:48 +07:00
Suphonchai Phoonsawat
de91fd0fa2 Refactor LeaveBeginningController to restore profile checks and reset leave days to zero 2026-02-18 16:47:14 +07:00
Suphonchai Phoonsawat
7d3ec6c74e Refactor ScheduleUpdateLeaveBeginningAsync to use ScheduleEditLeaveBeginningDto and remove unused profile checks 2026-02-18 16:34:35 +07:00
1b7bdd82e6 #2313
All checks were successful
Build & Deploy Placement Service / build (push) Successful in 1m10s
2026-02-13 13:04:29 +07:00
Suphonchai Phoonsawat
a8271c8d79 Update leave summary calculation to use BeginningLeaveDays instead of LeaveDaysUsed #2305
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m12s
2026-02-12 20:09:05 +07:00
Suphonchai Phoonsawat
14fd9d5262 Refactor leave limit logic to use IsProbation property instead of govAge check
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m17s
2026-02-11 12:14:44 +07:00
Suphonchai Phoonsawat
c81220a049 Remove unnecessary whitespace and comment out unused code in LeaveReportController
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m18s
2026-02-11 11:56:04 +07:00
Suphonchai Phoonsawat
e5e7c77880 Add GetProfileByProfileIdNoAuthAsync method and update related controller logic 2026-02-11 11:47:49 +07:00
Suphonchai Phoonsawat
a2ac05ed61 Add BeginningLeaveDays and BeginningLeaveCount to LeaveBeginning DTOs and update controller logic #2304 #2305 2026-02-11 11:11:19 +07:00
Suphonchai Phoonsawat
2410574d42 Fix typo in IsProbatin property name and update related condition check in LeaveRequestController #2306 2026-02-11 10:47:01 +07:00
Suphonchai Phoonsawat
682c88c2db Add BeginningLeaveCount and BeginningLeaveDays to LeaveBeginnings table
- Altered LeaveDays column to update its comment.
- Added BeginningLeaveCount column to track the number of leave occurrences.
- Added BeginningLeaveDays column to store the total days of leave carried over.
2026-02-11 09:44:18 +07:00
harid
05ec0cccce Fix Bug จำนวนคนลาไม่แสดงในรายงาน #2299
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m18s
2026-02-10 15:29:35 +07:00
harid
35310f7854 Fix ประกาศเกษียณลูกจ้าง บันทึกข้อมูลวันที่ประกาศ ระบบแจ้ง Error #2260
All checks were successful
Build & Deploy Retirement Service / build (push) Successful in 1m27s
2026-02-10 12:07:32 +07:00
harid
1d8ef79373 api อัพเดทสถานะเป็นบรรจุ เปลี่ยนสิทธิ์จาก super_admin เป็น owner
All checks were successful
Build & Deploy Placement Service / build (push) Successful in 1m26s
2026-02-06 10:18:47 +07:00
Suphonchai Phoonsawat
c693364fe1 Refactor LeaveReportController to use LeaveCount instead of CountLeaveDay for leave types
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m14s
2026-02-05 12:03:48 +07:00
Suphonchai Phoonsawat
4f18a97d0b Add GetOCStaffAsync method to UserProfileRepository and create GetOcStaff response models 2026-02-05 11:57:19 +07:00
Suphonchai Phoonsawat
d3cc0781cf Add UpdateLeaveCountAsync method to LeaveBeginningRepository and integrate it into leave request logic #2288
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m17s
2026-02-05 11:01:49 +07:00
Suphonchai Phoonsawat
639d41649c Add LeaveCount column to LeaveBeginnings table
- Introduced a new column 'LeaveCount' of type int to the LeaveBeginnings table.
- Set default value to 0 and added a comment for clarity in Thai: "จำนวนครั้งที่ลาสะสม".
2026-02-05 10:54:44 +07:00
Suphonchai Phoonsawat
358fd47b99 Add IsProbatin property to GetProfileByKeycloakIdDto and update leave request logic for probationary users #2266 2026-02-05 10:39:57 +07:00
harid
970319e8c2 API อัพเดทสถานะเป็นบรรจุ เฉพาะ Super_admin
All checks were successful
Build & Deploy Placement Service / build (push) Successful in 1m57s
2026-02-04 11:05:02 +07:00