From: Aleksey Filippov Date: Thu, 25 Sep 2025 07:34:09 +0000 (+0300) Subject: Отключение типа цены "Розничные цены" согласовано на собрании так как 1с програмист... X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=efac81a4095c83aa11482f5dd1cf0c8939857550;p=erp24_rep%2Fyii-erp24%2F.git Отключение типа цены "Розничные цены" согласовано на собрании так как 1с програмист просил больше не спраширать этот тип цены --- 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" => [