Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
orderpayment.php
1
<?php
2
3
namespace
Bitrix\Sale\Helpers\Admin\Blocks\Archive\TypeFirst
;
4
5
use
Bitrix\Sale\Helpers\Admin\Blocks\OrderPayment
as Block,
6
Bitrix\Sale\Helpers\Admin\Blocks\Archive\Template
;
7
8
class
OrderPayment
extends
Template
9
{
10
protected
$name
=
"payment"
;
11
15
public
function
buildBlock
()
16
{
17
$result =
""
;
18
$index = 0;
19
$paymentCollection = $this->order->getPaymentCollection();
20
21
foreach
($paymentCollection as $payment)
22
{
23
$result .=
Block::getView
($payment, $index++,
"archive"
);
24
}
25
26
return
$result;
27
}
28
}
Bitrix\Sale\Helpers\Admin\Blocks\Archive\Template
Definition
template.php:7
Bitrix\Sale\Helpers\Admin\Blocks\Archive\TypeFirst\OrderPayment
Definition
orderpayment.php:9
Bitrix\Sale\Helpers\Admin\Blocks\Archive\TypeFirst\OrderPayment\buildBlock
buildBlock()
Definition
orderpayment.php:15
Bitrix\Sale\Helpers\Admin\Blocks\Archive\TypeFirst\OrderPayment\$name
$name
Definition
orderpayment.php:10
Bitrix\Sale\Helpers\Admin\Blocks\OrderPayment
Definition
orderpayment.php:30
Bitrix\Sale\Helpers\Admin\Blocks\OrderPayment\getView
static getView($payment, $index=1, $form='')
Definition
orderpayment.php:248
Bitrix\Sale\Helpers\Admin\Blocks\Archive\TypeFirst
Definition
orderadditional.php:3
modules
sale
lib
helpers
admin
blocks
archive
typefirst
orderpayment.php
Создано системой
1.10.0