public ProjectBudgetSummaryViewData(FirmaSession currentFirmaSession, ProjectUpdateBatch projectUpdateBatch) : base(currentFirmaSession) { Project = projectUpdateBatch.ProjectUpdate; ProjectFundingCalculatedCosts = new ProjectFundingCalculatedCosts(projectUpdateBatch); HasFundingSources = projectUpdateBatch.ProjectFundingSourceBudgetUpdates.Any(); }
public ProjectBudgetSummaryViewData(FirmaSession currentFirmaSession, ProjectFirmaModels.Models.Project project) : base(currentFirmaSession) { Project = project; ProjectFundingCalculatedCosts = new ProjectFundingCalculatedCosts(project); HasFundingSources = project.ProjectFundingSourceBudgets.Any(); }