Commit graph

2339 commits

Author SHA1 Message Date
Suphonchai Phoonsawat
058027ea29 เปลี่ยน DEFAULT สิทธิ์เป็น "CHILD" กรณีไม่ตั้งค่ามา #2431
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m53s
2026-04-17 20:11:18 +07:00
Suphonchai Phoonsawat
ee2d16925a แก้ไข รักษาการ ถ้าไม่ได้ใส่ privilage มาจะให้ default = "PARENT" #2431
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 2m7s
2026-04-17 19:21:30 +07:00
Suphonchai Phoonsawat
42f3813a7a Merge branch 'develop' into working
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 2m2s
2026-04-17 15:42:36 +07:00
Suphonchai Phoonsawat
7bafbf5001 เพิ่มรายการรักษาการ #2431 2026-04-17 15:35:29 +07:00
harid
db99630e0d fix #2430
All checks were successful
Build & Deploy Placement Service / build (push) Successful in 1m59s
2026-04-17 15:18:30 +07:00
Suphonchai Phoonsawat
34ec9bb77c Remove Check Pending Status For Cancel Leave #2432
All checks were successful
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
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m51s
2026-04-16 21:30:17 +07:00
Suphonchai Phoonsawat
6efeec3f1f เพิ่ม List ของการเจ้หน้าที่ ส่ง noti ขอยกเลิกการลา #2432
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m52s
2026-04-16 19:05:26 +07:00
harid
c34fe35506 API ยกเลิกการส่งตัวบรรจุผู้สอบผ่าน
All checks were successful
Build & Deploy Placement Service / build (push) Successful in 1m57s
2026-04-16 11:57:47 +07:00
adisak
678329b5df #2392 fix departmentName null
All checks were successful
Build & Deploy Insignia Service / build (push) Successful in 2m13s
2026-04-16 11:31:03 +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
8950073485 ส่งรายชื่อไปออกคำสั่ง C-PM-25, C-PM-26 ให้ปั๊ม commandCode #2377
All checks were successful
Build & Deploy Discipline Service / build (push) Successful in 1m56s
2026-04-03 16:03:01 +07:00
Suphonchai Phoonsawat
bf92f6933e Refactor user profile retrieval method in InsigniaRequestController #2390
All checks were successful
Build & Deploy Insignia Service / build (push) Successful in 1m41s
2026-04-03 12:17:39 +07:00
Suphonchai Phoonsawat
cea1c4b64e Merge branch 'develop' into working
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m39s
2026-04-03 12:09:32 +07:00
Suphonchai Phoonsawat
cef41506a8 Change Amount property to nullable int in GetProfileLeaveByKeycloakDto #2411 2026-04-03 12:09:00 +07:00
bceb4d3096 update emp status resign
All checks were successful
Build & Deploy Retirement Service / build (push) Successful in 1m41s
2026-04-03 11:45:52 +07:00
adisak
06956284d7 #2381
All checks were successful
Build & Deploy Retirement Service / build (push) Successful in 2m1s
2026-04-02 17:50:18 +07:00
Suphonchai Phoonsawat
6b8eddcbc0 Add Insignia launch configuration and improve null checks in InsigniaRequestController #2388
All checks were successful
Build & Deploy Insignia Service / build (push) Successful in 1m54s
2026-04-02 11:36:59 +07:00
Suphonchai Phoonsawat
a4a5d13203 Update InsigniaRequestController to use GetOcByNodeId and include RootDnaId in insigniaNoteProfile #2390
All checks were successful
Build & Deploy Insignia Service / build (push) Successful in 2m3s
2026-04-02 11:09:36 +07:00
Suphonchai Phoonsawat
69b89dfc90 Add GetOcByNodeId method to UserProfileRepository and update InsigniaManageController to use it #2389 2026-04-02 11:00:14 +07:00
Suphonchai Phoonsawat
ea694bfda2 Fix effective date retrieval in LeaveReportController by using ProfileId instead of Id #2400
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m48s
2026-04-02 09:51:45 +07:00
Suphonchai Phoonsawat
6691303ea7 Merge branch 'working' into develop
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m52s
2026-04-01 12:35:00 +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
2ecef0792c Merge branch 'working' into develop
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m46s
2026-04-01 12:24:45 +07:00
Suphonchai Phoonsawat
1cf780ecd0 Refactor LeaveController to streamline profile retrieval and duty time handling 2026-04-01 12:24:00 +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
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
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
c1ac687101 Add CreateLeaveProcessJobDto and implement CreateProcessTaskAsync in LeaveController 2026-03-30 09:52:27 +07:00
Suphonchai Phoonsawat
de1773880b Add LeaveProcessJobStatusRepository and register it in ApplicationServicesRegistration 2026-03-30 09:31:19 +07:00
Suphonchai Phoonsawat
c91e6c8030 Add migration for LeaveProcessJobStatuses table
- Created a new migration to add the LeaveProcessJobStatuses table.
- The table includes fields for job status, timestamps, user information, and error messages.
- Supports tracking of leave process job statuses with relevant metadata.
2026-03-30 09:23:13 +07:00
harid
d8f1126764 fix ส่งรายชื่อผู้ถูกพักราชการไปออกคำสั่ง #2364
All checks were successful
Build & Deploy Discipline Service / build (push) Successful in 2m7s
2026-03-27 14:31:42 +07:00
Suphonchai Phoonsawat
7ba429bb64 Refactor checkout status logic in LeaveController for improved clarity and handling of check-in dates
All checks were successful
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
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m51s
2026-03-26 14:10:37 +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
6427cb4344 Comment out probation-related leave limit checks in LeaveRequestController and update appsettings.json to disable unused database connections
All checks were successful
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
All checks were successful
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
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m44s
2026-03-23 10:13:13 +07:00