Suphonchai Phoonsawat
c42aaa38f6
Fix API path in UserProfileRepository to remove redundant versioning
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
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
1b7bdd82e6
#2313
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
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
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
Build & Deploy Leave Service / build (push) Successful in 1m18s
2026-02-10 15:29:35 +07:00
harid
35310f7854
Fix ประกาศเกษียณลูกจ้าง บันทึกข้อมูลวันที่ประกาศ ระบบแจ้ง Error #2260
Build & Deploy Retirement Service / build (push) Successful in 1m27s
2026-02-10 12:07:32 +07:00
harid
1d8ef79373
api อัพเดทสถานะเป็นบรรจุ เปลี่ยนสิทธิ์จาก super_admin เป็น owner
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
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
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
Build & Deploy Placement Service / build (push) Successful in 1m57s
2026-02-04 11:05:02 +07:00
Suphonchai Phoonsawat
09a7208074
Update govAge calculation to use DateStart instead of DateAppoint in Leave repositories and controller
Build & Deploy Leave Service / build (push) Failing after 1h5m56s
2026-02-04 10:49:13 +07:00
Suphonchai Phoonsawat
7775ea85c3
Refactor error handling in LeaveController to return appropriate error responses instead of throwing exceptions
Build & Deploy Leave Service / build (push) Successful in 1m18s
2026-02-04 10:32:44 +07:00
Suphonchai Phoonsawat
19000b2e42
Refactor check-out status logic to improve clarity and handle edge cases for same-day and next-day check-outs
2026-02-04 10:18:44 +07:00
Suphonchai Phoonsawat
1a0e712a1c
Update leave limit logic and add GovAge property to user leave profile DTO
Build & Deploy Leave Service / build (push) Successful in 1m10s
2026-02-03 21:03:40 +07:00
Suphonchai Phoonsawat
c25bef0672
Update leave calculations to use DateAppoint and adjust leave limits based on government age #2266
Build & Deploy Leave Service / build (push) Successful in 1m35s
2026-02-03 20:46:20 +07:00
Suphonchai Phoonsawat
659e06a08d
Add cancellation token support and extend timeout to 30 minutes for external API calls
Build & Deploy Leave Service / build (push) Successful in 1m19s
2026-01-30 13:35:58 +07:00
Suphonchai Phoonsawat
0a170fd259
Configure HttpClient to use a 10-minute timeout for long-running operations
Build & Deploy Leave Service / build (push) Successful in 1m14s
2026-01-30 10:09:37 +07:00
Suphonchai Phoonsawat
5c05f1123a
Increase HttpClient timeout for long-running operations
Build & Deploy Leave Service / build (push) Successful in 1m21s
2026-01-30 09:49:54 +07:00
harid
06b53ddeaa
Fix Bug Leave Report Issue #2233
Build & Deploy Leave Service / build (push) Successful in 1m10s
2026-01-29 15:09:14 +07:00
harid
46504c9e30
Change Call Org
Build & Deploy Leave Service / build (push) Successful in 1m15s
2026-01-29 13:37:38 +07:00
harid
e80f89117c
Change Call Org
2026-01-29 13:22:41 +07:00
Suphonchai Phoonsawat
4c189fdc4a
Fix null reference for CheckIn and CheckOut location names in LeaveController
Build & Deploy Leave Service / build (push) Successful in 1m21s
2026-01-29 10:07:29 +07:00
harid
90eb94cee3
กรองค้นหาข้อมูลรายการลงเวลากรณีพิเศษ #2252
Build & Deploy Leave Service / build (push) Successful in 1m24s
2026-01-28 16:24:59 +07:00
harid
b10ff45d07
เปลี่ยนเส้น call api สำหรับเช็ค profileId
Build & Deploy Retirement Service / build (push) Successful in 1m16s
Build & Deploy Placement Service / build (push) Successful in 1m17s
Build & Deploy Discipline Service / build (push) Successful in 1m32s
2026-01-28 15:06:55 +07:00
harid
02487d91ff
เปลี่ยนเส้น api สำหรับเก็บ logs
Build & Deploy Leave Service / build (push) Successful in 1m12s
Build & Deploy Discipline Service / build (push) Successful in 1m27s
Build & Deploy Insignia Service / build (push) Successful in 1m25s
Build & Deploy Placement Service / build (push) Successful in 1m17s
Build & Deploy Retirement Service / build (push) Successful in 1m23s
2026-01-28 13:27:25 +07:00
Suphonchai Phoonsawat
839c357842
Update LeaveController to use KeycloakUserId for profile retrieval #2253
Build & Deploy Leave Service / build (push) Successful in 1m38s
2026-01-28 11:47:10 +07:00
Suphonchai Phoonsawat
cbc2a1a88d
Comment out profile retrieval in LeaveRequestController to prevent unnecessary calls #2250
Build & Deploy Leave Service / build (push) Successful in 1m29s
2026-01-27 17:05:07 +07:00
Suphonchai Phoonsawat
e8ffb82ead
Comment out profile retrieval and error handling in LeaveRequestController #2250
Build & Deploy Leave Service / build (push) Successful in 1m16s
2026-01-27 17:00:22 +07:00
Suphonchai Phoonsawat
54c8152752
Refactor LeaveRequestController to improve filtering logic and update appsettings.json to modify connection strings
Build & Deploy Leave Service / build (push) Successful in 1m12s
2026-01-27 16:55:23 +07:00
Suphonchai Phoonsawat
4f28b4e9e0
Add LeaveTotal property to LeaveRequest DTOs for better leave tracking #2245
Build & Deploy Leave Service / build (push) Successful in 1m13s
2026-01-26 22:58:37 +07:00
Suphonchai Phoonsawat
982dfc33d1
Refactor LeaveReportController and LeaveRequestController to calculate leave days using repository methods #2246 #2247
Build & Deploy Leave Service / build (push) Successful in 11s
2026-01-26 22:35:24 +07:00
harid
2e6a81ff31
Task #2233 รายงานใบลา แสดงสำนักงาน ก.ก.
Build & Deploy Leave Service / build (push) Successful in 1m23s
2026-01-26 18:21:33 +07:00
Suphonchai Phoonsawat
22a7a8c17c
Update LeaveController to refine check-in/check-out logic based on meeting location #2223
Build & Deploy Leave Service / build (push) Successful in 1m17s
2026-01-26 12:04:58 +07:00
Suphonchai Phoonsawat
c1d689ebfa
Update LeaveController to adjust check-in/check-out times based on location for meetings
Build & Deploy Leave Service / build (push) Successful in 1m14s
2026-01-23 21:25:34 +07:00
Suphonchai Phoonsawat
ecf5ada7ed
Update LeaveController to conditionally set check-out time based on existing value and duty schedule
Build & Deploy Leave Service / build (push) Successful in 1m14s
2026-01-23 20:55:21 +07:00
Suphonchai Phoonsawat
9bd6017ded
Update LeaveController to adjust check-in/check-out times based on user duty schedule #2223
Build & Deploy Leave Service / build (push) Successful in 1m16s
2026-01-23 20:35:54 +07:00
Suphonchai Phoonsawat
e1c7688913
Update LeaveController to set end times based on duty schedule for check-in/check-out #2228
2026-01-23 20:27:22 +07:00
Suphonchai Phoonsawat
4e4eec3d84
Add job status check for pending or processing check-in/check-out requests
Build & Deploy Leave Service / build (push) Successful in 1m19s
2026-01-23 09:32:17 +07:00