1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
paymentinvoicebase.php
См. документацию.
1<?php
2
3namespace Bitrix\Sale\Exchange\Entity;
4
5
6use Bitrix\Crm\Invoice\EntityMarker;
7use Bitrix\Sale\Exchange\EntityType;
8use Bitrix\Sale\Order;
9
11{
17 protected function addMarker($invoice, $entity, $result)
18 {
19 EntityMarker::addMarker($invoice, $entity, $result);
20 }
21
26 protected function loadParentEntity(array $fields)
27 {
28 $entity = null;
29
30 if(!empty($fields['ID']))
31 {
33 $entity = \Bitrix\Crm\Invoice\Invoice::load($fields['ID']);
34 }
35 return $entity;
36 }
37
42 static public function resolveEntityTypeIdByCodeType($type)
43 {
44 switch($type)
45 {
46 case 'Y':
48 break;
49 case 'N':
51 break;
52 case 'A':
54 break;
55 default;
56 $resolveType = EntityType::UNDEFINED;
57 }
58 return $resolveType;
59 }
60}
$type
Определения options.php:106
addMarker($invoice, $entity, $result)
Определения paymentinvoicebase.php:17
const INVOICE_PAYMENT_CASH
Определения entitytype.php:18
const INVOICE_PAYMENT_CASH_LESS
Определения entitytype.php:19
const INVOICE_PAYMENT_CARD_TRANSACTION
Определения entitytype.php:20
const UNDEFINED
Определения entitytype.php:7
</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
$entity
$fields
Определения yandex_run.php:501