From: Vladimir Fomichev Date: Thu, 16 Oct 2025 15:31:10 +0000 (+0300) Subject: Логи X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=5642a7274b2131cc2109fde742e24e96eba74f71;p=erp24_rep%2Fyii-erp24%2F.git Логи --- 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',