From e17d6726a1f417da1cc34035a97c89dd5c25790e Mon Sep 17 00:00:00 2001 From: Aleksey Filippov Date: Wed, 16 Jul 2025 18:16:47 +0300 Subject: [PATCH] =?utf8?q?[ERP-441]=20=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5?= =?utf8?q?=D0=BD=D0=B8=D0=B5=20=D1=88=D0=B0=D0=B3=D0=B0=20=D0=B7=D0=B0?= =?utf8?q?=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/views/shift-transfer/index.php | 9 ++++++++- erp24/views/shift-transfer/update.php | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/erp24/views/shift-transfer/index.php b/erp24/views/shift-transfer/index.php index 897bc542..4e33075e 100644 --- a/erp24/views/shift-transfer/index.php +++ b/erp24/views/shift-transfer/index.php @@ -62,7 +62,14 @@ use app\controllers\ShiftTransferController; 'value' => function ($model) { $productGroups = explode(',', $model['product_groups'] ?? ''); $hints1 = \yii_app\records\ProductsClass::getHints(); - return implode('
', array_map(function($el) use ($hints1) { return $hints1[$el]; }, $productGroups)); + return implode( + '
', + array_map(function($el) use ($hints1) { + return $hints1[$el] ?? ''; + }, + $productGroups + ) + ); } ], 'goods_transfer_count', diff --git a/erp24/views/shift-transfer/update.php b/erp24/views/shift-transfer/update.php index f26fcf49..f49377ef 100644 --- a/erp24/views/shift-transfer/update.php +++ b/erp24/views/shift-transfer/update.php @@ -161,7 +161,7 @@ $this->registerJs('var getMeOut = false;', \yii\web\View::POS_HEAD, 'getMeOut') 'name' => 'remains_count', 'title' => 'Фактические остатки кол-во, шт', 'type' => BaseColumn::TYPE_TEXT_INPUT, - 'options' => ['type' => 'number', 'step' => 1, 'min' => 0], + 'options' => ['min' => 0], 'value' => function($data) { return $data['remains_count'] ?? ''; }, -- 2.39.5