feat: implement contract printing methods and view models

This commit is contained in:
2025-12-20 13:04:30 +03:30
parent 0fbd5c9d3e
commit b0d174a575
4 changed files with 91 additions and 4 deletions

View File

@@ -51,6 +51,7 @@ public interface IContractRepository : IRepository<long, Contract>
Task<PagedResult<GetContractListForClientResponse>> GetContractListForClient(GetContractListForClientRequest searchModel);
Task<List<ContractPrintViewModel>> PrintAllAsync(List<long> ids);
#endregion
#region NewChangeByHeydari
@@ -66,6 +67,7 @@ public interface IContractRepository : IRepository<long, Contract>
ContractViweModel GetByWorkshopIdEmployeeIdInDates(long workshopId, long employeeId, DateTime startOfMonth, DateTime endOfMonth);
List<ContractViweModel> GetByWorkshopIdInDates(long workshopId, DateTime contractStart, DateTime contractEnd);
#endregion
}