]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Неопределённая переменная
authorAlexander Smirnov <fredeom@mail.ru>
Tue, 18 Jun 2024 06:44:46 +0000 (09:44 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Tue, 18 Jun 2024 06:44:46 +0000 (09:44 +0300)
erp24/modul/shipment/fields/division_ratio.php

index f58010679945f8ba5c6c7fd19a5263d1dcf20baa..1b90d1de2ad6c94099c7a9826d6e304b74f94184 100644 (file)
@@ -26,7 +26,7 @@ foreach($products as $productId => $name) {
 
     $html .="<br><b>$name</b>  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) {