LeaveListPrint

This commit is contained in:
SamSys
2025-12-27 14:06:10 +03:30
parent 54c67fe8f7
commit ba778bb519
6 changed files with 85 additions and 10 deletions

View File

@@ -97,6 +97,13 @@ public interface ILeaveApplication
/// <returns></returns>
Task<OperationResult<RotatingShiftDto>> HasRotatingShift(long workshopId, long employeeId, string startLeaveDate);
/// <summary>
/// پرینت لیستی
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
Task<LeaveListPrintDto> ListPrint(List<long> ids);
}
public class LeavePrintResponseViewModel

View File

@@ -2,7 +2,11 @@
namespace CompanyManagment.App.Contracts.Leave;
public class LeavePrintListDto
/// <summary>
/// پرینت لیستی
/// api
/// </summary>
public class LeaveListPrintDto
{
/// <summary>
@@ -10,15 +14,17 @@ public class LeavePrintListDto
/// </summary>
public string EmployeeFullName { get; set; }
/// <summary>
/// مجموع مرخصی پرسنل
/// </summary>
public string? SumOfEmployeeleaves { get; set; }
/// <summary>
/// لیست مرخصی
/// </summary>
public List<LeavePrintListItemsDto> LeavePrintListItemsDto { get; set; }
/// <summary>
/// مجموع مرخصی پرسنل
/// </summary>
public string? SumOfEmployeeleaves { get; set; }
}
public class LeavePrintListItemsDto