diff --git a/CompanyManagment.App.Contracts/Leave/LeavePrintListDto.cs b/CompanyManagment.App.Contracts/Leave/LeavePrintListDto.cs
new file mode 100644
index 00000000..7a614219
--- /dev/null
+++ b/CompanyManagment.App.Contracts/Leave/LeavePrintListDto.cs
@@ -0,0 +1,71 @@
+using System.Collections.Generic;
+
+namespace CompanyManagment.App.Contracts.Leave;
+
+public class LeavePrintListDto
+{
+
+ ///
+ /// نام کامل پرسنل
+ ///
+ public string EmployeeFullName { get; set; }
+
+ ///
+ /// لیست مرخصی
+ ///
+ public List LeavePrintListItemsDto { get; set; }
+
+ ///
+ /// مجموع مرخصی پرسنل
+ ///
+ public string? SumOfEmployeeleaves { get; set; }
+}
+
+public class LeavePrintListItemsDto
+{
+ ///
+ /// سال مرخصی
+ ///
+ public string YearStr { get; set; }
+
+ ///
+ /// ماه مرخصی
+ ///
+ public string MonthStr { get; set; }
+
+
+ ///
+ /// نوع مرخصی، استحقاقی/استعلاجی
+ ///
+ public string LeaveType { get; set; }
+
+
+ ///
+ /// تاریخ شروع مرخصی
+ ///
+ public string StartLeave { get; set; }
+
+ ///
+ /// تاریخ پایان مرخصی
+ ///
+ public string EndLeave { get; set; }
+
+
+ ///
+ /// زمان مرخصی
+ /// بازه مرخصی ساعتی
+ ///
+ public string HourlyInterval { get; set; }
+
+
+ ///
+ /// مدت مرخصی
+ ///
+ public string LeaveDuration { get; set; }
+
+ ///
+ /// موافقت/عدم موافقت کارفرما
+ ///
+ public bool IsAccepted { get; set; }
+
+}
diff --git a/ServiceHost/Areas/Client/Controllers/LeaveController.cs b/ServiceHost/Areas/Client/Controllers/LeaveController.cs
index 255d5b0e..21d39aaa 100644
--- a/ServiceHost/Areas/Client/Controllers/LeaveController.cs
+++ b/ServiceHost/Areas/Client/Controllers/LeaveController.cs
@@ -104,10 +104,22 @@ public class LeaveController : ClientBaseController
///
///
[HttpGet("print")]
- public async Task>> PrintAllAsync([FromQuery] List ids)
+ public async Task>> PrintAllAsync([FromQuery] List ids, LeaveListSearchModel searchModel)
{
var leavePrints = await _leaveApplication.PrintAllAsync(ids, _workshopId);
return Ok(leavePrints);
}
-
+
+ ///
+ /// پرینت گروهی
+ ///
+ ///
+ ///
+ [HttpGet("ListPrint")]
+ public async Task> ListPrint([FromQuery] List ids,)
+ {
+ var leavePrints = await _leaveApplication.PrintAllAsync(ids, _workshopId);
+ return Ok(leavePrints);
+ }
+
}