Commit graph

2273 commits

Author SHA1 Message Date
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
Suphonchai Phoonsawat
09a7208074 Update govAge calculation to use DateStart instead of DateAppoint in Leave repositories and controller
Some checks failed
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m10s
2026-01-29 15:09:14 +07:00
harid
46504c9e30 Change Call Org
All checks were successful
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
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m21s
2026-01-29 10:07:29 +07:00
harid
90eb94cee3 กรองค้นหาข้อมูลรายการลงเวลากรณีพิเศษ #2252
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m24s
2026-01-28 16:24:59 +07:00
harid
b10ff45d07 เปลี่ยนเส้น call api สำหรับเช็ค profileId
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m13s
2026-01-26 22:58:37 +07:00