From 5642a7274b2131cc2109fde742e24e96eba74f71 Mon Sep 17 00:00:00 2001 From: Vladimir Fomichev Date: Thu, 16 Oct 2025 18:31:10 +0300 Subject: [PATCH] =?utf8?q?=D0=9B=D0=BE=D0=B3=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/services/UploadService.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/erp24/services/UploadService.php b/erp24/services/UploadService.php index 7a5bbd7c..483687ec 100644 --- a/erp24/services/UploadService.php +++ b/erp24/services/UploadService.php @@ -1150,7 +1150,7 @@ class UploadService { SalesItems::deleteAll(['check_id' => $arr["id"]]); SalesProducts::deleteAll(['check_id' => $arr["id"]]); } - + LogService::apiErrorLog(json_encode(["error_id" => 121, "error" => __LINE__], JSON_UNESCAPED_UNICODE)); // проверяем стутс чека - вносим только Архивные и пробитые // if (!empty($arr["status"])) { // $salesUpdate = new SalesUpdate; @@ -1219,7 +1219,7 @@ class UploadService { // } // } // } - + LogService::apiErrorLog(json_encode(["error_id" => 121, "error" => __LINE__], JSON_UNESCAPED_UNICODE)); if ($update) { LogService::apiErrorLog(json_encode(["error_id" => 121, "error" => __LINE__], JSON_UNESCAPED_UNICODE)); $sales2 = new Sales; @@ -1345,6 +1345,7 @@ class UploadService { } } } + LogService::apiErrorLog(json_encode(["error_id" => 121, "error" => __LINE__], JSON_UNESCAPED_UNICODE)); } elseif (!empty($result['checks'])) { LogService::apiErrorLog(json_encode(["error_id" => 121, "error" => __LINE__], JSON_UNESCAPED_UNICODE)); file_put_contents(self::OUT_DIR . '/error_upload.txt', -- 2.39.5