null, null);
}
presentationModelWeekSum = new PresentationModel(
new SumOrderReadyVModel(sumWeek));
Budget productionBudget = null;
ProductAreaGroup productAreaGroup = (ProductAreaGroup) productAreaGroupModel
.getValue(ProductAreaGroupModel.PROPERTY_PRODUCT_AREA_GROUP);
productionBudget = managerRepository.getBudgetManager()
.findByYearAndWeekPrProductAreaGroup(currentYear, currentWeek,
productAreaGroup,BudgetType.PRODUCTION);
if (productionBudget == null) {
productionBudget = new Budget(null, null, null,
BigDecimal.valueOf(0), null,null);
}
presentationModelBudget = new PresentationModel(
new ProductionBudgetModel(productionBudget));