From: Vladimir Fomichev Date: Fri, 4 Jul 2025 08:41:32 +0000 (+0300) Subject: Добавление $auto_forecast X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=a05c272727c45f054f2492e9cf818b4667576639;p=erp24_rep%2Fyii-erp24%2F.git Добавление $auto_forecast --- diff --git a/erp24/controllers/CategoryPlanController.php b/erp24/controllers/CategoryPlanController.php index fe18bf81..1a05858a 100644 --- a/erp24/controllers/CategoryPlanController.php +++ b/erp24/controllers/CategoryPlanController.php @@ -608,8 +608,8 @@ class CategoryPlanController extends Controller { $year = (int)Yii::$app->request->get('year'); $month = (int)Yii::$app->request->get('month'); $store = (int)Yii::$app->request->get('store_id'); - $changes = (int)Yii::$app->request->get('changes'); - var_dump($year, $month, $store, $changes); die(); + $changes = Yii::$app->request->get('changes'); + $taskName = "taskApRecalculate"; $scriptLauncherLog = ScriptLauncherLog::find() ->andWhere(['name' => $taskName])