From efac81a4095c83aa11482f5dd1cf0c8939857550 Mon Sep 17 00:00:00 2001 From: Aleksey Filippov Date: Thu, 25 Sep 2025 10:34:09 +0300 Subject: [PATCH] =?utf8?q?=D0=9E=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D0=B5=D0=BD?= =?utf8?q?=D0=B8=D0=B5=20=D1=82=D0=B8=D0=BF=D0=B0=20=D1=86=D0=B5=D0=BD?= =?utf8?q?=D1=8B=20"=D0=A0=D0=BE=D0=B7=D0=BD=D0=B8=D1=87=D0=BD=D1=8B=D0=B5?= =?utf8?q?=20=D1=86=D0=B5=D0=BD=D1=8B"=20=D1=81=D0=BE=D0=B3=D0=BB=D0=B0?= =?utf8?q?=D1=81=D0=BE=D0=B2=D0=B0=D0=BD=D0=BE=20=D0=BD=D0=B0=20=D1=81?= =?utf8?q?=D0=BE=D0=B1=D1=80=D0=B0=D0=BD=D0=B8=D0=B8=20=D1=82=D0=B0=D0=BA?= =?utf8?q?=20=D0=BA=D0=B0=D0=BA=201=D1=81=20=D0=BF=D1=80=D0=BE=D0=B3=D1=80?= =?utf8?q?=D0=B0=D0=BC=D0=B8=D1=81=D1=82=20=D0=BF=D1=80=D0=BE=D1=81=D0=B8?= =?utf8?q?=D0=BB=20=D0=B1=D0=BE=D0=BB=D1=8C=D1=88=D0=B5=20=D0=BD=D0=B5=20?= =?utf8?q?=D1=81=D0=BF=D1=80=D0=B0=D1=88=D0=B8=D1=80=D0=B0=D1=82=D1=8C=20?= =?utf8?q?=D1=8D=D1=82=D0=BE=D1=82=20=D1=82=D0=B8=D0=BF=20=D1=86=D0=B5?= =?utf8?q?=D0=BD=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/commands/CronController.php | 6 +++--- erp24/controllers/CronController.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/erp24/commands/CronController.php b/erp24/commands/CronController.php index 121a1ae7..f54f2f57 100644 --- a/erp24/commands/CronController.php +++ b/erp24/commands/CronController.php @@ -168,15 +168,15 @@ class CronController extends Controller public function actionOneCSellers() { $req_id = time(); - $json_post = '{"request_id": "' . $req_id . '","nomenclature":true,"sellers":true, "prices":{"type_price":"Розничная цена"}, "balances":true, "payment_types":true}'; + $json_post = '{"request_id": "' . $req_id . '","nomenclature":true,"sellers":true, "balances":true, "payment_types":true}'; $this->setApiCron($req_id, $json_post); return 'ok'; } - //cron/one-c-price-msk - public function actionOneCPriceMsk() + //cron/one-c-price + public function actionOneCPrice() { $req_id = time(); $json_post = '{"request_id": "' . $req_id . '","nomenclature":true,"sellers":true, "prices":{"type_price":"Розничная Маг на Московск"}, "balances":true, "payment_types":true}'; diff --git a/erp24/controllers/CronController.php b/erp24/controllers/CronController.php index 8dfea03f..b495b90f 100644 --- a/erp24/controllers/CronController.php +++ b/erp24/controllers/CronController.php @@ -22,7 +22,7 @@ class CronController extends Controller "balances" => ["name" => "Складские остатки"], "counteragents" => ["name" => "Контрагенты"], "employee" => ["name" => "Физ лица в 1с - продавцы"], - "prices" => ["name" => "Типы цен", "array" => ["type_price" => "Розничная цена"]], + "prices" => ["name" => "Типы цен", "array" => ["type_price" => "Розничная Маг на Московск"]], "checks_dell" => ["name" => "Удаление чеков"], "analysts_business_operations" => ["name" => "Аналитика хозяйственных операций"], "checks" => [ -- 2.39.5