Commit graph

162 commits

Author SHA1 Message Date
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
kittapath
f97e643ac1 test parent 2025-10-12 16:51:51 +07:00
kittapath
8ba9d349db delete comment 2025-10-09 22:16:19 +07:00
kittapath
559765dd86 Merge branch 'develop' into task/173
# Conflicts:
#	BMA.EHR.Leave/Controllers/LeaveController.cs
2025-10-09 21:44:58 +07:00
Harid Promsri
5f0a0b1a46
ปรับให้จัด group ตามที่กรอง (#1858)
Co-authored-by: harid <harid_pr61@live.rmutl.com>
2025-10-09 16:49:10 +07:00
Suphonchai Phoonsawat
4494939c5f fix #1841, #1842
Some checks failed
release-dev / release-dev (push) Failing after 13s
2025-10-07 14:52:59 +07:00
kittapath
9e8fe1b30a add parent 2025-10-07 11:13:28 +07:00
Suphonchai Phoonsawat
f9d1dd9f38 #1838 2025-10-06 15:37:13 +07:00
Suphonchai Phoonsawat
97dd104429 fix #24
Some checks failed
release-dev / release-dev (push) Failing after 12s
2025-10-03 20:28:49 +07:00
Suphonchai Phoonsawat
8d37024b6c #1832, 1830
Some checks failed
release-dev / release-dev (push) Failing after 13s
2025-10-01 19:57:13 +07:00
8001dd0c11 leave report 2025-09-02 14:55:07 +07:00
Bright
6d90951000 Fix Bug LeaveReport #1606
Some checks failed
release-dev / release-dev (push) Failing after 11s
2025-07-14 15:35:36 +07:00
Bright
e58bda8e9e Fix รายงานให้แสดงรายชื่อตรงสังกัดที่เลือก issue #1606
Some checks failed
release-dev / release-dev (push) Failing after 12s
2025-07-09 16:14:15 +07:00
Bright
c657398e72 แก้ให้แสดงรายชื่อตามสิทธิ์ #1575, #1576, #1577
Some checks failed
release-dev / release-dev (push) Failing after 12s
2025-06-24 14:02:44 +07:00
Bright
9e84bddb65 update issue #1578
Some checks failed
release-dev / release-dev (push) Failing after 11s
2025-06-18 15:23:41 +07:00
Bright
e790b50f58 fix bug report #1368, #1578 2025-06-17 18:07:41 +07:00
Suphonchai Phoonsawat
40babdf1a7 ตอนกดขอยกเลิกส่ง noti
- ตอนผู้ยื่นกดขอยกเลิกแจ้งมาที่ผู้มีอำนาจ
 - ผู้มีอำนาจอนุมัติหรือไม่อนุมัติ แจ้งผู้ยื่น และผู้บังคับบัญชาที่มีใน list
2025-06-05 15:15:49 +07:00
Suphonchai Phoonsawat
7e3ae58b33 นับ || x.LeaveStatus == "DELETING" เข้าไปในรายการ Approve ด้วย 2025-06-05 14:41:58 +07:00
Suphonchai Phoonsawat
3beba561fc fix #1547 **** รอรัน migration อีกครั้ง *****
fix #1520
2025-05-16 10:33:38 +07:00
Suphonchai Phoonsawat
847b89da23 fix issue : #1524 2025-05-13 10:16:05 +07:00
Suphonchai Phoonsawat
496917c34c fix #1352 2025-05-08 21:06:26 +07:00