From: Alexander Smirnov Date: Tue, 18 Jun 2024 06:44:46 +0000 (+0300) Subject: Неопределённая переменная X-Git-Tag: 1.3~54^2~15 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=797910db80b724b496347b06659de86c1a2a5fae;p=erp24_rep%2Fyii-erp24%2F.git Неопределённая переменная --- diff --git a/erp24/modul/shipment/fields/division_ratio.php b/erp24/modul/shipment/fields/division_ratio.php index f5801067..1b90d1de 100644 --- a/erp24/modul/shipment/fields/division_ratio.php +++ b/erp24/modul/shipment/fields/division_ratio.php @@ -26,7 +26,7 @@ foreach($products as $productId => $name) { $html .="
$name division_auto_need_all=". ($FiledsDataArray["division_auto_need_all"][$productId][0] ?? 0)." Сумма потребности =".$division_auto_need_all." -Сумма получаено по факту ".$quantity_warehouseman_fact.""; +Сумма получаено по факту ".($quantity_warehouseman_fact ?? '').""; $division_ratio=1; if($division_auto_need_all > $quantity_warehouseman_fact) {