Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
fullprepaymentreturncashcheck.php
1
<?php
2
3
namespace
Bitrix\Sale\Cashbox
;
4
5
use
Bitrix\Main
;
6
7
Main\Localization\Loc::loadMessages(__FILE__);
8
13
class
FullPrepaymentReturnCashCheck
extends
FullPrepaymentCheck
14
{
18
public
static
function
getType
()
19
{
20
return
'fullprepaymentreturncash'
;
21
}
22
27
public
static
function
getCalculatedSign
()
28
{
29
return
static::CALCULATED_SIGN_CONSUMPTION;
30
}
31
35
public
static
function
getName
()
36
{
37
return
Main\Localization\Loc::getMessage(
'SALE_CASHBOX_FULLPREPAYMENT_RETURN_CASH_NAME'
);
38
}
39
43
protected
function
extractDataInternal
()
44
{
45
$result = parent::extractDataInternal();
46
47
if
(isset($result[
'PAYMENTS'
]))
48
{
49
foreach
($result[
'PAYMENTS'
] as $i => $payment)
50
{
51
$result[
'PAYMENTS'
][$i][
'IS_CASH'
] =
'Y'
;
52
$result[
'PAYMENTS'
][$i][
'TYPE'
] = static::PAYMENT_TYPE_CASH;
53
}
54
55
}
56
57
return
$result;
58
}
59
}
Bitrix\Sale\Cashbox\FullPrepaymentCheck
Definition
fullprepaymentcheck.php:15
Bitrix\Sale\Cashbox\FullPrepaymentReturnCashCheck
Definition
fullprepaymentreturncashcheck.php:14
Bitrix\Sale\Cashbox\FullPrepaymentReturnCashCheck\extractDataInternal
extractDataInternal()
Definition
fullprepaymentreturncashcheck.php:43
Bitrix\Sale\Cashbox\FullPrepaymentReturnCashCheck\getType
static getType()
Definition
fullprepaymentreturncashcheck.php:18
Bitrix\Sale\Cashbox\FullPrepaymentReturnCashCheck\getName
static getName()
Definition
fullprepaymentreturncashcheck.php:35
Bitrix\Sale\Cashbox\FullPrepaymentReturnCashCheck\getCalculatedSign
static getCalculatedSign()
Definition
fullprepaymentreturncashcheck.php:27
Bitrix\Main
Bitrix\Sale\Cashbox
Definition
abstractcheck.php:3
modules
sale
lib
cashbox
fullprepaymentreturncashcheck.php
Создано системой
1.10.0