]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Отключение типа цены "Розничные цены" согласовано на собрании так как 1с програмист...
authorAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Thu, 25 Sep 2025 07:34:09 +0000 (10:34 +0300)
committerAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Thu, 25 Sep 2025 07:34:09 +0000 (10:34 +0300)
erp24/commands/CronController.php
erp24/controllers/CronController.php

index 121a1ae73b14a250d248c05e5b50f042a7098350..f54f2f57daed6ec62b28c0f0a33da3bf2b17ad7a 100644 (file)
@@ -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}';
index 8dfea03f7329e19a26ad4e2c2dcf9d0cae005b4e..b495b90ff13e109d7005529d451904f847ff8792 100644 (file)
@@ -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" => [