42 if (empty($request->get(
'chprice_value_changing_price')))
47 if (!$this->rights->canEditPrices())
52 $ids = $request->getPost(
'ID');
59 if (empty($elementIds) && empty($sectionIds))
65 'PRICE_TYPE' => $request->get(
'chprice_id_price_type'),
66 'UNITS' => $request->get(
'chprice_units'),
67 'FORMAT_RESULTS' => $request->get(
'chprice_format_result'),
68 'INITIAL_PRICE_TYPE' => $request->get(
'chprice_initial_price_type'),
69 'RESULT_MASK' => $request->get(
'chprice_result_mask'),
70 'DIFFERENCE_VALUE' => $request->get(
'chprice_difference_value'),
71 'VALUE_CHANGING' => $request->get(
'chprice_value_changing_price'),
76 return $changePrice->updatePrices([
77 'SECTIONS' => $sectionIds,
78 'ELEMENTS' => $elementIds,