Commit graph

319 commits

Author SHA1 Message Date
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
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
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
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
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
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
Suphonchai Phoonsawat
982dfc33d1 Refactor LeaveReportController and LeaveRequestController to calculate leave days using repository methods #2246 #2247
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 11s
2026-01-26 22:35:24 +07:00
harid
2e6a81ff31 Task #2233 รายงานใบลา แสดงสำนักงาน ก.ก.
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m19s
2026-01-23 09:32:17 +07:00
Suphonchai Phoonsawat
2f366374fa Refactor user profile retrieval to use new method GetProfileByKeycloakIdNewAsync
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m12s
2026-01-22 12:43:52 +07:00
Suphonchai Phoonsawat
a463df5716 Add migration to create CheckInJobStatuses table for RMQ task control
- Introduced a new migration that creates the CheckInJobStatuses table.
- The table includes fields for tracking job statuses, timestamps, user information, and error messages.
- Supports various statuses such as PENDING, PROCESSING, COMPLETED, and FAILED.
2026-01-20 10:49:13 +07:00
harid
93a83b34e6 ปรับแบบใบขอยกเลิกวันลา
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m17s
2026-01-19 17:15:17 +07:00
Suphonchai Phoonsawat
79e0fe7f1b Merge branch 'develop' into working
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m20s
2026-01-19 14:28:29 +07:00
Suphonchai Phoonsawat
21f82d69e1 Add load testing script for simulating 30,000 requests over 10 minutes 2026-01-19 14:27:43 +07:00
harid
b5c82f4243 ปรับรายงานลา #2195
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m14s
2026-01-19 12:13:45 +07:00
Suphonchai Phoonsawat
b0715e3da6 refactor LeaveController to update check-out status logic based on morning end time #2187
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m12s
2026-01-16 16:19:49 +07:00
Suphonchai Phoonsawat
510f1cd78a fix sort order condition
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m15s
2026-01-16 16:09:23 +07:00
Suphonchai Phoonsawat
83a915f92c refactor LeaveReportController to sort employees by check-in time and remark #2193 2026-01-16 16:01:07 +07:00
harid
64c1021c52 Migrate เก็บฟิลด์ใช้แสดงในรายงานลาเพิ่ม #2195
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m18s
2026-01-16 09:25:22 +07:00
Suphonchai Phoonsawat
5ec7933b3c refactor LeaveController to correct end time parsing for seminar handling #2199
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m11s
2026-01-14 16:51:21 +07:00
Suphonchai Phoonsawat
9e529ed19b refactor LeaveController to update checkout-check endpoint to accept string for seminar handling #2199 2026-01-14 16:43:35 +07:00
Suphonchai Phoonsawat
3e8c3d998e refactor LeaveController to modify checkout-check endpoint for seminar handling #2199 2026-01-14 16:42:36 +07:00
Suphonchai Phoonsawat
3a6e4501fd refactor LeaveController to update start and end time logic for check-in and check-out #2199 2026-01-14 16:38:55 +07:00
Suphonchai Phoonsawat
5415019b3c refactor LeaveController to update image URL handling for check-in and check-out #2188
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m12s
2026-01-14 10:25:31 +07:00
Suphonchai Phoonsawat
86790cf9f3 refactor LeaveReportController to enhance employee sorting by remark and check-in/check-out times #2193
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m16s
2026-01-14 10:16:42 +07:00
Suphonchai Phoonsawat
127909d29d Merge branch 'develop' into working
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m23s
2026-01-13 17:02:31 +07:00
Suphonchai Phoonsawat
6907607a06 refactor LeaveController to improve sorting and pagination logic #2192 2026-01-13 17:01:20 +07:00
harid
0233d92931 Change function call Org Service
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m12s
2026-01-13 12:05:52 +07:00
harid
90ea986831 fix รายงานใบลา ข้อมูลแสดงในรายงานแสดงไม่ครบ #2184
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m24s
2026-01-12 17:23:08 +07:00
Suphonchai Phoonsawat
1c3ce46bcb update LeaveController to determine status based on leave request and range
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m12s
#2187
2026-01-12 13:41:23 +07:00