]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
[ERP-258] спрятал товары без остатков в 1с
authorAlexander Smirnov <fredeom@mail.ru>
Thu, 5 Dec 2024 12:42:37 +0000 (15:42 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Thu, 5 Dec 2024 12:42:37 +0000 (15:42 +0300)
erp24/controllers/ShiftTransferController.php

index 68cfeca2ec3a06908abdfcc41c6f89f7fef2b0e9..96b75e4c1a9d2871d1110247aeca1ce84697ceed 100644 (file)
@@ -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();