1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Файл template.php

См. исходные тексты.

Переменные

 $pageWidth = 595.28
 $pageHeight = 841.89
 $background = '#ffffff'
if($params['BILLKZ_BACKGROUND']) $margin
 $width = $pageWidth - $margin['left'] - $margin['right']
 if ( $_REQUEST[ 'PRINT']=='Y') =join('pt ', $margin)
if( $params[ 'BILLKZ_HEADER_SHOW']=='Y')( $params["BILLKZ_PATH_TO_LOGO"]||$params["BILLKZ_COMMENT1"]||$params["BILLKZ_COMMENT2"]) if($params["SELLER_COMPANY_BANK_NAME"]) else
 $sellerBank = trim(preg_replace($rsPattern, ' ', $params["SELLER_COMPANY_BANK_IIK"]))
 $sellerRs = trim($matches[0])
 endif =Loc::getMessage('SALE_HPS_BILLKZ_SELLER_TITLE', array('#PAYMENT_NUM#' => htmlspecialcharsbx($params["ACCOUNT_NUMBER"]), '#PAYMENT_DATE#' => htmlspecialcharsbx($dateValue)))
 $sellerTitle = $sellerInfo = ''
 $buyerTitle = $buyerInfo = ''
if( $params[ 'BILLKZ_PAYER_SHOW']=='Y') if($params['BILLKZ_PAYER_SHOW']=='Y')</td ></tr >< tr >< td ><?=!empty( $buyerTitle) ? htmlspecialcharsbx( $buyerTitle) :'&nbsp' ?></td >< td ><?=!empty( $buyerInfo) ? htmlspecialcharsbx( $buyerInfo) :'&nbsp' ?></td ></tr ><? endif;?><? if( $params[ 'BUYER_PERSON_COMPANY_DOGOVOR']):?>< tr >< td colspan="2" style="padding: 0; line-height: 7pt;"> & nbsp = !empty($sellerInfo) ? htmlspecialcharsbx($sellerInfo) : '&nbsp'
</td ></tr >< tr >< td ><?=Loc::getMessage( 'SALE_HPS_BILLKZ_BUYER_DOGOVOR') ?> $cells = array()
 $props = array()
 $n = 0
 $sum = 0.00
 $vat = 0
 $cntBasketItem = 0
 $columnList = array('NUMBER', 'NAME', 'QUANTITY', 'MEASURE', 'PRICE', 'VAT_RATE', 'SUM')
 $arCols = array()
 $arColumnKeys = array_keys($arCols)
 $columnCount = count($arColumnKeys)
foreach($params['BASKET_ITEMS'] as $basketItem) if( $vat<=0) if($params['PRICE'] > 0) if( $params[ 'BILLKZ_TOTAL_SHOW']=='Y') foreach($arCols as $columnId=> $col) endforeach
 $rowsCnt = count($cells)
 endfor
if($params['BILLKZ_SIGN_SHOW']=='Y') $signParamName = ''

Переменные

◆ $arCols

$arCols = array()

См. определение в файле template.php строка 351

◆ $arColumnKeys

$arColumnKeys = array_keys($arCols)

См. определение в файле template.php строка 376

◆ $background

$background = '#ffffff'

См. определение в файле template.php строка 34

◆ $buyerTitle

$buyerTitle = $buyerInfo = ''

См. определение в файле template.php строка 266

◆ $cells

</td></tr><tr><td><?= Loc::getMessage('SALE_HPS_BILLKZ_BUYER_DOGOVOR') ?> $cells = array()

См. определение в файле template.php строка 342

◆ $cntBasketItem

$cntBasketItem = 0

См. определение в файле template.php строка 348

◆ $columnCount

$columnCount = count($arColumnKeys)

См. определение в файле template.php строка 377

◆ $columnList

$columnList = array('NUMBER', 'NAME', 'QUANTITY', 'MEASURE', 'PRICE', 'VAT_RATE', 'SUM')

См. определение в файле template.php строка 350

◆ $margin

if ( $params[ 'BILLKZ_BACKGROUND']) $margin
Инициализатор
'top' => intval($params['BILLKZ_MARGIN_TOP'] ?: 15) * 72/25.4,
'right' => intval($params['BILLKZ_MARGIN_RIGHT'] ?: 15) * 72/25.4,
'bottom' => intval($params['BILLKZ_MARGIN_BOTTOM'] ?: 15) * 72/25.4,
'left' => intval($params['BILLKZ_MARGIN_LEFT'] ?: 20) * 72/25.4
)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
if($inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx($totalVatSum $params['CURRENCY']
Определения template.php:799

См. определение в файле template.php строка 68

◆ $n

$n = 0

См. определение в файле template.php строка 345

◆ $pageHeight

$pageHeight = 841.89

См. определение в файле template.php строка 32

◆ $pageWidth

$pageWidth = 595.28

См. определение в файле template.php строка 31

◆ $props

$props = array()

См. определение в файле template.php строка 343

◆ $rowsCnt

$rowsCnt = count($cells)

См. определение в файле template.php строка 568

◆ $sellerBank

$sellerBank = trim(preg_replace($rsPattern, ' ', $params["SELLER_COMPANY_BANK_IIK"]))

См. определение в файле template.php строка 145

◆ $sellerRs

$sellerRs = trim($matches[0])

См. определение в файле template.php строка 148

◆ $sellerTitle

$sellerTitle = $sellerInfo = ''

См. определение в файле template.php строка 231

◆ $signParamName

if ( $params[ 'BILLKZ_SIGN_SHOW']=='Y') $signParamName = ''

См. определение в файле template.php строка 667

◆ $sum

$sum = 0.00

См. определение в файле template.php строка 346

◆ $vat

$vat = 0

См. определение в файле template.php строка 347

◆ $width

$width = $pageWidth - $margin['left'] - $margin['right']

См. определение в файле template.php строка 75

◆ else

if($params['SELLER_COMPANY_ACCOUNTANT_NAME']) else if( $params[ 'SELLER_COMPANY_DIRECTOR_NAME']) else if($params['SELLER_COMPANY_ACCOUNTANT_POSITION']) else if ( $params[ 'SELLER_COMPANY_DIRECTOR_POSITION']) else
Инициализатор
{
$rsPattern = '/\s*\d{10,100}\s*/'

См. определение в файле template.php строка 141

◆ endfor

endfor

См. определение в файле template.php строка 630

◆ endforeach

endforeach

См. определение в файле template.php строка 564

◆ endif

if (! $blank) endif =Loc::getMessage('SALE_HPS_BILLKZ_SELLER_TITLE', array('#PAYMENT_NUM#' => htmlspecialcharsbx($params["ACCOUNT_NUMBER"]), '#PAYMENT_DATE#' => htmlspecialcharsbx($dateValue)))

См. определение в файле template.php строка 193

◆ if

if( $params[ 'BILLKZ_HEADER']) if($dateValue instanceof \Bitrix\Main\Type\Date|| $dateValue instanceof \Bitrix\Main\Type\DateTime) else if(is_string($dateValue)) ( $_REQUEST[ 'PRINT'] = = 'Y') =join('pt ', $margin)

См. определение в файле template.php строка 79

◆ nbsp

if($params['BILLKZ_PAYER_SHOW']=='Y') if ( $params[ 'BILLKZ_PAYER_SHOW']=='Y')</td></tr><tr><td><?= !empty($buyerTitle) ? htmlspecialcharsbx($buyerTitle) : '&nbsp' ?></td><td><?= !empty($buyerInfo) ? htmlspecialcharsbx($buyerInfo) : '&nbsp' ?></td></tr><? endif; ?><? if ($params['BUYER_PERSON_COMPANY_DOGOVOR']): ?><tr><td colspan="2" style="padding: 0; line-height: 7pt;"> & nbsp = !empty($sellerInfo) ? htmlspecialcharsbx($sellerInfo) : '&nbsp'

См. определение в файле template.php строка 333