1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
handler.php
См. документацию.
1<?php
2
3namespace Sale\Handlers\PaySystem;
4
5use Bitrix\Main\Loader;
6use Bitrix\Main\Localization\Loc;
7use Bitrix\Sale;
8use Bitrix\Sale\Payment;
9use Bitrix\Sale\PaySystem;
10use Bitrix\Crm\Integration;
11
13Loc::loadMessages(__FILE__);
14
19class InvoiceDocumentHandler extends OrderDocumentHandler
20{
24 protected static function getDataProviderClass()
25 {
26 return Integration\DocumentGenerator\DataProvider\Invoice::class;
27 }
28
33 protected function getInvoiceNumber(Payment $payment)
34 {
35 $invoice = $payment->getOrder();
36
37 return $invoice->getField('ACCOUNT_NUMBER');
38 }
39
40}
static includeHandler($actionFile)
Определения manager.php:1045
$payment
Определения payment.php:14