From: Alexander Smirnov Date: Tue, 1 Apr 2025 10:02:39 +0000 (+0300) Subject: [ERP-394] debug 3 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=d7892e57f240405d8afaa99cec6bf84dac492ff8;p=erp24_rep%2Fyii-erp24%2F.git [ERP-394] debug 3 --- diff --git a/erp24/modul/orders/delivery.php b/erp24/modul/orders/delivery.php index aab5dae5..74e15450 100644 --- a/erp24/modul/orders/delivery.php +++ b/erp24/modul/orders/delivery.php @@ -598,9 +598,12 @@ or $row["store"]=="") and $yes==0 and $row["payment_type_id"]!="Оплачен в магазине") { $ord=$db::getValue("SELECT order_id FROM sales WHERE order_id=? AND order_id > '0' order by date desc LIMIT 1",[$row["amo_id"]]); - -if(empty($create_check) and empty($ord) and !empty($seller_id)) +var_dump($create_check); +var_dump($ord); +var_dump($seller_id); + +if(empty($create_check) and empty($ord) and !empty($seller_id)) echo""; diff --git a/erp24/views/orders/delivery.php b/erp24/views/orders/delivery.php index d2172ee1..7145ac1c 100644 --- a/erp24/views/orders/delivery.php +++ b/erp24/views/orders/delivery.php @@ -244,9 +244,9 @@ $this->registerCss(' $orderAmo["payment_type_id"] != "Оплачен в магазине"): ?> 0 && $ords[$ind] && $seller_id[$ind]): ?>