From: Alexander Smirnov Date: Fri, 7 Jun 2024 14:14:47 +0000 (+0300) Subject: debug part 018 X-Git-Tag: 1.2^2~8^2~1 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=e6bd44f02aed00147aa648bf8ef5c2b56133e1aa;p=erp24_rep%2Fyii-erp24%2F.git debug part 018 --- diff --git a/erp24/modul/orders/collation.php b/erp24/modul/orders/collation.php index c9b554ac..33b2e7d9 100644 --- a/erp24/modul/orders/collation.php +++ b/erp24/modul/orders/collation.php @@ -430,7 +430,7 @@ echo" "; -if(!in_array($row["id"],$counter_no_check_array ?? []) and $check_vozvrat_cnt[$row["id"]]>=$check_sale_cnt[$row["id"]]) $conter_false_check++; +if(!in_array($row["id"],$counter_no_check_array ?? []) and ($check_vozvrat_cnt[$row["id"]] ?? 0)>=($check_sale_cnt[$row["id"]] ?? 0)) $conter_false_check++; }