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}';
"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" => [