From: Alexander Smirnov Date: Fri, 7 Jun 2024 13:43:07 +0000 (+0300) Subject: debug part 007 X-Git-Tag: 1.2^2~8^2~12 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=130efa0f8923d206b0e2bb1a771a5784d59f9f21;p=erp24_rep%2Fyii-erp24%2F.git debug part 007 --- diff --git a/erp24/modul/orders/collation.php b/erp24/modul/orders/collation.php index 6901078d..66b12d68 100644 --- a/erp24/modul/orders/collation.php +++ b/erp24/modul/orders/collation.php @@ -137,6 +137,7 @@ foreach($_REQUEST["statuses"] ?? [] as $is =>$idf) { $data= $db::getRows("SELECT amo_id, name, date, delivery_date, admin_id, status FROM orders_cheking WHERE date>=NOW()::date- INTERVAL '17 day'"); +$orders_cheking_status_array = []; foreach($data as $row) { $orders_cheking_array[$row["amo_id"]]=" ".$row["name"]." ".$row["date"]." ".$row["delivery_date"]." ".$users_arr[$row["admin_id"]]." ".$row["status"]." "; $orders_cheking_status_array[$row["amo_id"]]=$row["status"];