//var_dump($filters); die();
$service = new AutoPlannogrammaService();
$monthCategoryShare = $service->getMonthCategoryShareOrWriteOff($filters['plan_date'], $filters);
- var_dump($monthCategoryShare);die();
+
$monthCategoryGoal = $service->getMonthCategoryGoal($monthCategoryShare, $filters['plan_date']);
$monthSubcategoryShare = $service->getMonthSubcategoryShareOrWriteOff($filters['plan_date'], $filters);
$monthSubcategoryGoal = $service->getMonthSubcategoryGoal($monthSubcategoryShare, $monthCategoryGoal);
$data = $service->getMonthSpeciesGoalDirty($monthSpeciesWriteOffShare, $monthSubcategoryWriteOffsGoals, $filters['type'], $data);
}
- //var_dump($data); die();
+
$matrixForecast = MatrixBouquetForecast::find()
->where(['year' => $filters['year'], 'month' => $filters['month']])
->asArray()