Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
taxcomofd.php
1
<?php
2
3
namespace
Bitrix\Sale\Cashbox
;
4
5
use
Bitrix\Main\Localization
;
6
use
Bitrix\Main
;
7
8
Localization\Loc::loadMessages(__FILE__);
9
14
class
TaxcomOfd
extends
Ofd
15
{
16
const
ACTIVE_URL
=
'https://receipt.taxcom.ru/v01/show?'
;
17
21
protected
function
getUrl
()
22
{
23
return
static::ACTIVE_URL;
24
}
25
30
public
static
function
getName
()
31
{
32
return
Localization\Loc::getMessage(
'SALE_CASHBOX_TAXCOM_OFD_NAME'
);
33
}
34
38
protected
function
getLinkParamsMap
()
39
{
40
return
array(
41
'fp'
=>
Check::PARAM_FISCAL_DOC_ATTR
,
42
's'
=>
Check::PARAM_DOC_SUM
43
);
44
}
45
50
public
function
generateCheckLink
($data)
51
{
52
$url = parent::generateCheckLink($data);
53
$url .=
'&sf=False&sfn=False'
;
54
55
return
$url;
56
}
57
58
}
Bitrix\Sale\Cashbox\AbstractCheck\PARAM_FISCAL_DOC_ATTR
const PARAM_FISCAL_DOC_ATTR
Definition
abstractcheck.php:24
Bitrix\Sale\Cashbox\AbstractCheck\PARAM_DOC_SUM
const PARAM_DOC_SUM
Definition
abstractcheck.php:30
Bitrix\Sale\Cashbox\Ofd
Definition
ofd.php:15
Bitrix\Sale\Cashbox\TaxcomOfd
Definition
taxcomofd.php:15
Bitrix\Sale\Cashbox\TaxcomOfd\getName
static getName()
Definition
taxcomofd.php:30
Bitrix\Sale\Cashbox\TaxcomOfd\ACTIVE_URL
const ACTIVE_URL
Definition
taxcomofd.php:16
Bitrix\Sale\Cashbox\TaxcomOfd\generateCheckLink
generateCheckLink($data)
Definition
taxcomofd.php:50
Bitrix\Sale\Cashbox\TaxcomOfd\getUrl
getUrl()
Definition
taxcomofd.php:21
Bitrix\Sale\Cashbox\TaxcomOfd\getLinkParamsMap
getLinkParamsMap()
Definition
taxcomofd.php:38
Bitrix\Main\Localization
Definition
culture.php:8
Bitrix\Main
Bitrix\Sale\Cashbox
Definition
abstractcheck.php:3
modules
sale
lib
cashbox
taxcomofd.php
Создано системой
1.10.0