From ff43caaebe8b514f3c6d1ad7e88abb681750cfce Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Mon, 20 May 2024 17:58:29 +0300 Subject: [PATCH] fix part 008 --- erp24/modul/shipment/fields/auto_purchase_formula.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.39.5