Suphonchai Phoonsawat
7bafbf5001
เพิ่มรายการรักษาการ #2431
2026-04-17 15:35:29 +07:00
Suphonchai Phoonsawat
34ec9bb77c
Remove Check Pending Status For Cancel Leave #2432
Build & Deploy Leave Service / build (push) Successful in 1m54s
2026-04-17 10:31:09 +07:00
Suphonchai Phoonsawat
5606e8b50a
Change GetProfileByKeycloakIdNewAsync To GetProfileByKeycloakIdNew2Async
2026-04-17 09:41:52 +07:00
Suphonchai Phoonsawat
ee4e9c3699
แก้ leave/detail เป็น leave-reject/detail สำหรับรายการยกเลิก #2432
Build & Deploy Leave Service / build (push) Successful in 1m51s
2026-04-16 21:30:17 +07:00
Suphonchai Phoonsawat
6efeec3f1f
เพิ่ม List ของการเจ้หน้าที่ ส่ง noti ขอยกเลิกการลา #2432
Build & Deploy Leave Service / build (push) Successful in 1m52s
2026-04-16 19:05:26 +07:00
Suphonchai Phoonsawat
ea694bfda2
Fix effective date retrieval in LeaveReportController by using ProfileId instead of Id #2400
Build & Deploy Leave Service / build (push) Successful in 1m48s
2026-04-02 09:51:45 +07:00
Suphonchai Phoonsawat
8ea572d46c
Refactor LeaveReportController to improve duty time retrieval and handle default round logic
2026-04-01 12:30:42 +07:00
Suphonchai Phoonsawat
1cf780ecd0
Refactor LeaveController to streamline profile retrieval and duty time handling
2026-04-01 12:24:00 +07:00
Suphonchai Phoonsawat
47c0cfc62a
Refactor leave remark generation logic in LeaveReportController to handle single and multi-day leave requests more accurately
2026-03-31 11:32:17 +07:00
Suphonchai Phoonsawat
2cd7798dd9
Add admin endpoints for processing leave tasks, including retrieval, deletion, and updates
2026-03-31 09:46:44 +07:00
Suphonchai Phoonsawat
c1ac687101
Add CreateLeaveProcessJobDto and implement CreateProcessTaskAsync in LeaveController
2026-03-30 09:52:27 +07:00
Suphonchai Phoonsawat
7ba429bb64
Refactor checkout status logic in LeaveController for improved clarity and handling of check-in dates
Build & Deploy Leave Service / build (push) Successful in 1m46s
2026-03-27 09:48:10 +07:00
Suphonchai Phoonsawat
3e3bfff7ba
Refactor leave date overlap check in LeaveRequestController for improved readability and performance
Build & Deploy Leave Service / build (push) Successful in 1m51s
2026-03-26 14:10:37 +07:00
Suphonchai Phoonsawat
aef81e9f4e
Add support for multiple child DNA IDs in leave processing and enhance batch creation of duty time changes
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
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
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
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
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
Build & Deploy Leave Service / build (push) Successful in 1m49s
2026-03-17 15:47:03 +07:00
Suphonchai Phoonsawat
6902236f48
Add GetTimeStampHistoryAsync2 method for fiscal year timestamp retrieval
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
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
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
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
Build & Deploy Leave Service / build (push) Successful in 1m35s
2026-02-25 15:26:49 +07:00
Suphonchai Phoonsawat
9a74b690cd
ทดสอบ
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
Build & Deploy Leave Service / build (push) Successful in 1m35s
2026-02-23 10:09:36 +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
Suphonchai Phoonsawat
7e613ab2e6
Merge branch 'develop' into working
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
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
65feb994ee
Add GetLastLeaveRequestByTypeForUserAsync2 method and update LeaveReportController to use new method for fetching last leave request #2305
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
ddaa339e9f
Refactor LeaveRequestController and LeaveReportController to use GetSumApproveLeaveTotalByTypeAndRangeForUser2 method and update fiscal year end date calculation #2305
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
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
Suphonchai Phoonsawat
a8271c8d79
Update leave summary calculation to use BeginningLeaveDays instead of LeaveDaysUsed #2305
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
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
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
c693364fe1
Refactor LeaveReportController to use LeaveCount instead of CountLeaveDay for leave types
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
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