From 3e5f94225c93ea06cc56989702ade5b266d5a35c Mon Sep 17 00:00:00 2001 From: marina Date: Thu, 19 Jun 2025 10:41:43 +0300 Subject: [PATCH] =?utf8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/commands/CronController.php | 2 ++ erp24/web/js/autoplannogramma/autoplannogramma.js | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/erp24/commands/CronController.php b/erp24/commands/CronController.php index d931f7b6..db9af7bf 100644 --- a/erp24/commands/CronController.php +++ b/erp24/commands/CronController.php @@ -1648,6 +1648,8 @@ class CronController extends Controller $details[$type] = $block; } + $details['forecast'] = ['quantity' => $quantity]; + $total = (float) sprintf('%.2f', $total); $needsUpdate = !$model->isNewRecord && ( diff --git a/erp24/web/js/autoplannogramma/autoplannogramma.js b/erp24/web/js/autoplannogramma/autoplannogramma.js index 2ed2198b..a8e6cc1a 100644 --- a/erp24/web/js/autoplannogramma/autoplannogramma.js +++ b/erp24/web/js/autoplannogramma/autoplannogramma.js @@ -404,7 +404,8 @@ const generateTitleString = (titleRaw) => { offline: 'Оффлайн', online: 'Онлайн', marketplace: 'Маркетплейс', - writeOffs: 'Списания' + writeOffs: 'Списания', + forecast: 'Расчетный прогноз', }; const parts = Object.entries(titleObj) -- 2.39.5