From: Alexander Smirnov Date: Thu, 5 Dec 2024 12:42:37 +0000 (+0300) Subject: [ERP-258] спрятал товары без остатков в 1с X-Git-Tag: 1.7~189^2~16 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=fd7e7a7ecb1006de7055ec7003561cd82e81c4d7;p=erp24_rep%2Fyii-erp24%2F.git [ERP-258] спрятал товары без остатков в 1с --- diff --git a/erp24/controllers/ShiftTransferController.php b/erp24/controllers/ShiftTransferController.php index 68cfeca2..96b75e4c 100644 --- a/erp24/controllers/ShiftTransferController.php +++ b/erp24/controllers/ShiftTransferController.php @@ -62,9 +62,9 @@ class ShiftTransferController extends Controller if (isset($balance[$key])) { $productGuids[$key] = $name . ' (' . $balance[$key] . ' шт.)'; } - else { - $productGuids[$key] = $name; - } +// else { +// $productGuids[$key] = $name; +// } } $price = ArrayHelper::map(Prices::find()->select(['product_id', 'price'])->where(['product_id' => array_keys($products)])->all(), 'product_id', 'price'); $storeEIT = ExportImportTable::find()->select(['entity_id'])->where(['entity' => 'city_store', 'export_val' => $storeGuid, 'export_id' => 1])->one();