Commit graph

182 commits

Author SHA1 Message Date
Suphonchai Phoonsawat
e4bcfee80c fix issue #2448
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m47s
2026-04-29 11:45:46 +07:00
Suphonchai Phoonsawat
361ded2078 fix issue #2444
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 2m20s
2026-04-28 15:56:19 +07:00
Suphonchai Phoonsawat
d58c7dc07e Logic การคำนวนวันลา แบบร่าง และ นะหว่างพิจาณา #1567 2026-04-23 19:11:54 +07:00
Suphonchai Phoonsawat
bb329f86de เพิ่ม DateSendLeave และปรับ Logic การดึงค่าวันที่ยื่นลา #1567 2026-04-23 15:48:20 +07:00
Suphonchai Phoonsawat
5606e8b50a Change GetProfileByKeycloakIdNewAsync To GetProfileByKeycloakIdNew2Async 2026-04-17 09:41:52 +07:00
Suphonchai Phoonsawat
057b51390e add some code
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m50s
2026-04-09 12:07:11 +07:00
harid
bf6ea555fc fix รายงานมาสาย ข้อมูลไม่แสดง #2395
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m44s
2026-03-31 14:23:51 +07:00
Suphonchai Phoonsawat
8fa105606b Refactor LeaveProcessJobStatusRepository to filter employee records by status and ensure proper task processing
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m48s
2026-03-31 11:45:48 +07:00
Suphonchai Phoonsawat
932d5e75c7 Refactor LeaveProcessJobStatusRepository to update API endpoint paths and comment out JSON file writing logic 2026-03-31 11:28:12 +07:00
Suphonchai Phoonsawat
a50153f32c Refactor LeaveProcessJobStatusRepository to enhance leave remark generation logic and update file export functionality with environment path handling 2026-03-31 11:26:28 +07:00
Suphonchai Phoonsawat
d85bab11b2 Add ProcessEmpTaskAsync method to handle employee task processing and integrate with external API for attendance reporting 2026-03-31 10:20:30 +07:00
Suphonchai Phoonsawat
82c31a0f57 Refactor GenericRepository and GenericLeaveRepository to expose PostExternalAPIAsync method and enhance LeaveProcessJobStatusRepository with API integration for processing employee records 2026-03-31 10:18:06 +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
759a51ab58 Enhance LeaveProcessJobStatusRepository with detailed processing logic and add new methods in UserProfileRepository for fetching officer and employee profiles by RootDnaId 2026-03-30 15:53:33 +07:00
Suphonchai Phoonsawat
3dee5f7166 Refactor LeaveProcessJobStatusRepository methods and update Hangfire configuration for improved job processing 2026-03-30 12:08:30 +07:00
Suphonchai Phoonsawat
8732c34564 Add scheduled job to process pending jobs in LeaveProcessJobStatusRepository 2026-03-30 10:06:21 +07:00
Suphonchai Phoonsawat
91e6b1b35b Add methods to process pending jobs and update their statuses in LeaveProcessJobStatusRepository 2026-03-30 10:02:57 +07:00
Suphonchai Phoonsawat
de1773880b Add LeaveProcessJobStatusRepository and register it in ApplicationServicesRegistration 2026-03-30 09:31:19 +07:00
Suphonchai Phoonsawat
19b79a162d Add leave subtype name and couple day level country to leave approval response (Employee)#2366
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m47s
2026-03-26 10:33:44 +07:00
Suphonchai Phoonsawat
a09d5937f9 Add leave subtype and couple day level country to leave approval response #2366 2026-03-26 10:33:00 +07:00
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
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
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
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
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
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
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
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
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
harid
90eb94cee3 กรองค้นหาข้อมูลรายการลงเวลากรณีพิเศษ #2252
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m24s
2026-01-28 16:24:59 +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
Suphonchai Phoonsawat
99accd44e3 update GetLastEffectRound method to accept effectiveDate parameter and adjust usage in LeaveReportController 2026-01-09 18:57:24 +07:00
fb282915d1 #2146 and #2147 2025-12-22 13:45:11 +07:00
Suphonchai Phoonsawat
328f54b4e3 fix: improve approval step validation by checking for commanders
Some checks failed
release-dev / release-dev (push) Failing after 12s
2025-12-12 16:13:01 +07:00
Suphonchai Phoonsawat
88a48577e9 feat: enhance leave request filtering and update configuration settings
Some checks failed
release-dev / release-dev (push) Failing after 13s
2025-12-12 15:18:27 +07:00
kittapath
ec04665f39 add permission brother
Some checks failed
release-dev / release-dev (push) Failing after 13s
2025-12-12 01:36:06 +07:00
harid
0a58075428 migrate + api บันทึกผู้ตรวจสอบและส่งไปพิจาณา #2109
Some checks failed
release-dev / release-dev (push) Failing after 12s
2025-12-11 21:27:18 +07:00
Suphonchai Phoonsawat
fc68cb0101 feat: add DNA update functionality and enrich leave beginning data with profile details
Some checks failed
release-dev / release-dev (push) Failing after 12s
2025-12-09 13:12:54 +07:00
Suphonchai Phoonsawat
6b9767449c fix: skip approver check if no commander is assigned; update leave data retrieval logic
Some checks failed
release-dev / release-dev (push) Failing after 13s
2025-12-09 10:36:06 +07:00
harid
08fb06ca84 แก้กรองตามสิทธิ์ #2104 2025-12-08 12:12:04 +07:00
Suphonchai Phoonsawat
7778f6cccd fix: skip notification if no commander is assigned; update connection strings in appsettings
Some checks failed
release-dev / release-dev (push) Failing after 11s
2025-12-08 05:32:32 +07:00
kittapath
436370312e edit permission normal 2025-12-06 18:03:33 +07:00
harid
5451c49dbe fix สิทธิ์เมนูจำนวนสิทธิ์การลาที่ใช้ไป #2094 2025-12-04 22:13:25 +07:00
harid
48792f0d31 no message 2025-12-04 16:15:38 +07:00
kittapath
b4cc522fef update api key
Some checks failed
release-dev / release-dev (push) Failing after 12s
2025-11-12 01:56:06 +07:00
kittapath
503805b194 sort leave date 2025-10-22 23:43:19 +07:00