From: Alexander Smirnov Date: Mon, 20 May 2024 14:58:29 +0000 (+0300) Subject: fix part 008 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=ff43caaebe8b514f3c6d1ad7e88abb681750cfce;p=yii-erp24%2F.git fix part 008 --- diff --git a/erp24/modul/shipment/fields/auto_purchase_formula.php b/erp24/modul/shipment/fields/auto_purchase_formula.php index 5db8cc1..22a1d52 100644 --- a/erp24/modul/shipment/fields/auto_purchase_formula.php +++ b/erp24/modul/shipment/fields/auto_purchase_formula.php @@ -64,7 +64,7 @@ else { if($zakaz<0) $zakaz=0; //округлить до минимального лота деления $ceil=ceilCoef($zakaz,$min_lot); -echo"".$storesOrderArray[$storeId]."$quantity$quantity_fact$sale_7day +echo"".($storesOrderArray[$storeId] ?? '')."$quantity$quantity_fact$sale_7day $sale_2day $entrance_cnt_7days"; if(!empty($ceil)) echo"$ceil";