1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
userprofilecontactcompany.php
См. документацию.
1<?php
2
3
4namespace Bitrix\Sale\Exchange\Entity;
5
6
7use Bitrix\Crm\Order\Matcher\EntityMatchManager;
8use Bitrix\Crm\Order\Order;
9use Bitrix\Sale\Exchange\EntityType;
10use Bitrix\Sale\Result;
11
13{
14 public function getOwnerTypeId()
15 {
17 }
18
19 public function add(array $params)
20 {
21 $result = new Result();
22
23 $r = parent::add($params);
24 if($r->isSuccess())
25 {
26 $userId = $this->getEntity()->getField('ID');
27 $property = $params["ORDER_PROP"];
28
30 $order->getPropertyCollection()->setValuesFromPost(['PROPERTIES'=>$property], []);
31
32 EntityMatchManager::getInstance()->match($order);
33 }
34 return $result;
35 }
36}
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
Определения check_mail.php:18
const USER_PROFILE_CONTACT_COMPANY
Определения entitytype.php:15
static create($siteId, $userId=null, $currency=null)
Определения orderbase.php:195
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$result
Определения get_property_values.php:14
$order
Определения payment.php:8
if($inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx($totalVatSum $params['CURRENCY']
Определения template.php:799