From 0dc8ae5e8baa3df4235d145e3e27bee3bd58486e Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Tue, 18 Jun 2024 09:50:09 +0300 Subject: [PATCH] =?utf8?q?=D0=9D=D0=B5=D0=B8=D0=BD=D0=B8=D1=86=D0=B8=D0=B0?= =?utf8?q?=D0=BB=D0=B8=D0=B7=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=BD?= =?utf8?q?=D0=B0=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/modul/shipment/fields/division_ratio.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erp24/modul/shipment/fields/division_ratio.php b/erp24/modul/shipment/fields/division_ratio.php index 3af42632..05464663 100644 --- a/erp24/modul/shipment/fields/division_ratio.php +++ b/erp24/modul/shipment/fields/division_ratio.php @@ -18,6 +18,7 @@ foreach($dataF as $row) { $FiledsDataArray[$row["field_name"]][$row["product_id"]][$row["color"]] = (int)$row["value"]; } +$html = ''; //пробегаемся по всем продуктам foreach($products as $productId => $name) { $division_auto_need_all = $FiledsDataArray["division_auto_need_all"][$productId][0] ?? 0; @@ -26,7 +27,7 @@ foreach($products as $productId => $name) { $html .="
$name division_auto_need_all=". ($FiledsDataArray["division_auto_need_all"][$productId][0] ?? 0); $html .= "Сумма потребности =".$division_auto_need_all; - //$html .= "Сумма получено по факту ".($quantity_warehouseman_fact ?? '').""; + $html .= "Сумма получено по факту ".($quantity_warehouseman_fact ?? '').""; $division_ratio=1; if($division_auto_need_all > $quantity_warehouseman_fact) { -- 2.39.5