From f40afc2845cd37c6861806a085c08c002cb4aa01 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Fri, 7 Jun 2024 16:59:06 +0300 Subject: [PATCH] debug part 013 --- erp24/modul/orders/collation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/modul/orders/collation.php b/erp24/modul/orders/collation.php index c12eaea3..1a025c23 100644 --- a/erp24/modul/orders/collation.php +++ b/erp24/modul/orders/collation.php @@ -338,7 +338,7 @@ or $row["store"]=="") and $yes==0 and $row["payment_type_id"]!="Оплачен echo""; */ -if(($store_arr[$row["store_id"]]=="ул. Аэродромная 28 (к-р Москва)" or $row["store"]=="ул. Аэродромная, 28" or $row["store"]=="") +if((($store_arr[$row["store_id"]]??"")=="ул. Аэродромная 28 (к-р Москва)" or $row["store"]=="ул. Аэродромная, 28" or $row["store"]=="") and $yes==1 and $row["payment_type_id"]!="Оплачен в магазине") { if($check_vozvrat_cnt[$row["id"]]>=$check_sale_cnt[$row["id"]] ) { -- 2.39.5