1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
fullprepaymentreturncheck.php
См. документацию.
1<?php
2
3namespace Bitrix\Sale\Cashbox;
4
5use Bitrix\Main;
6
8
14{
18 public static function getType()
19 {
20 return 'fullprepaymentreturn';
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_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'] = 'N';
52 $result['PAYMENTS'][$i]['TYPE'] = static::PAYMENT_TYPE_CASHLESS;
53 }
54
55 }
56
57 return $result;
58 }
59}
static loadMessages($file)
Определения loc.php:65
static getMessage($code, $replace=null, $language=null)
Определения loc.php:30
$result
Определения get_property_values.php:14
$payment
Определения payment.php:14
$i
Определения factura.php:643