Commit graph

128 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
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
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
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
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
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
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
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
Suphonchai Phoonsawat
41bcc2a1ef ปรับการขอยกเลิกการลา ให้สถานะเป็น DELETING จนมีการอนุมัติ แล้วเปลี่ยนเป็น DELETE 2025-05-08 16:36:36 +07:00
Suphonchai Phoonsawat
f71cb56a40 fix #1519
Some checks failed
release-dev / release-dev (push) Failing after 11s
2025-05-08 15:30:34 +07:00
Suphonchai Phoonsawat
f3d74681f3 fix #1512 2025-05-07 15:35:34 +07:00