From 3b70d09e51418eac19e7f1367fe96fbd911df768 Mon Sep 17 00:00:00 2001 From: fomichev Date: Thu, 29 May 2025 11:07:24 +0300 Subject: [PATCH] =?utf8?q?=D1=83=D0=B1=D1=80=D0=B0=D0=BB=20=D0=BE=D1=82?= =?utf8?q?=D0=BA=D0=BB=D0=B0=D0=B4=D0=BA=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/controllers/AutoPlannogrammaController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erp24/controllers/AutoPlannogrammaController.php b/erp24/controllers/AutoPlannogrammaController.php index e33f8b8f..c4e56a03 100644 --- a/erp24/controllers/AutoPlannogrammaController.php +++ b/erp24/controllers/AutoPlannogrammaController.php @@ -862,7 +862,7 @@ class AutoPlannogrammaController extends BaseController //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); @@ -878,7 +878,7 @@ class AutoPlannogrammaController extends BaseController $data = $service->getMonthSpeciesGoalDirty($monthSpeciesWriteOffShare, $monthSubcategoryWriteOffsGoals, $filters['type'], $data); } - //var_dump($data); die(); + $matrixForecast = MatrixBouquetForecast::find() ->where(['year' => $filters['year'], 'month' => $filters['month']]) ->asArray() -- 2.39.5