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

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

Переменные

 $pageWidth = 595.28
 $pageHeight = 841.89
 $background = '#ffffff'
if($params['BILLBY_BACKGROUND']) $margin
 $width = $pageWidth - $margin['left'] - $margin['right']
 if ( $_REQUEST[ 'PRINT']=='Y') =join('pt ', $margin)
if($params['BILLBY_HEADER_SHOW']=='Y') $sellerInfoRows = array()
 $sellerInfoName = ''
 $sellerInfoTaxId = ''
 $sellerInfoBank = ''
 $sellerBank = ''
 $sellerRs = ''
if($params["SELLER_COMPANY_BANK_NAME"]) else
 $sellerInfoAddr = ''
if($params["BILLBY_PATH_TO_LOGO"]) endif = $sellerInfo
if($params["BILLBY_ORDER_SUBJECT"]) if( $params["PAYMENT_DATE_PAY_BEFORE"]) if($params['BILLBY_PAYER_SHOW']=='Y') $currencyFormat = CCurrencyLang::GetFormatDescription($params['CURRENCY'])
 $currencyPrecision = (int)$currencyFormat['DECIMALS']
 $salePrecision = (int)Bitrix\Main\Config\Option::get('sale', 'value_precision', 2)
 $precision = min($salePrecision, $currencyPrecision)
 $cells = array()
 $props = array()
 $n = 0
 $sum = 0.00
 $totalSum = 0.00
 $totalVatSum = 0.00
 $totalSumWithVat = 0.00
 $vat = 0
 $cntBasketItem = 0
 $columnList = array('NUMBER', 'NAME', 'QUANTITY', 'MEASURE', 'PRICE', 'SUM', 'VAT_RATE', 'VAT_SUM', 'TOTAL')
 $arCols = array()
 $vatRateColumn = 0
 $arColumnKeys = array_keys($arCols)
 $columnCount = count($arColumnKeys)
foreach( $params[ 'BASKET_ITEMS'] as $basketItem) if($params['DELIVERY_PRICE'] > 0) $totalRowIsLast = false
 $totalRowIndex = -1
if( $params[ 'BILLBY_TOTAL_SHOW']=='Y') foreach($arCols as $columnId=> $col) endforeach
 $rowsCnt = count($cells)
 endfor
if($inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx($totalVatSum $params ['CURRENCY']
 $params ['CURRENCY']

Переменные

◆ $arCols

$arCols = array()

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

◆ $arColumnKeys

$arColumnKeys = array_keys($arCols)

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

◆ $background

$background = '#ffffff'

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

◆ $cells

$cells = array()

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

◆ $cntBasketItem

$cntBasketItem = 0

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

◆ $columnCount

$columnCount = count($arColumnKeys)

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

◆ $columnList

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

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

◆ $currencyFormat

if( $params["BILLBY_ORDER_SUBJECT"]) if($params["PAYMENT_DATE_PAY_BEFORE"]) if ( $params[ 'BILLBY_PAYER_SHOW']=='Y') $currencyFormat = CCurrencyLang::GetFormatDescription($params['CURRENCY'])

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

◆ $currencyPrecision

$currencyPrecision = (int)$currencyFormat['DECIMALS']

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

◆ $margin

if ( $params[ 'BILLBY_BACKGROUND']) $margin
Инициализатор
'top' => intval($params['BILLBY_MARGIN_TOP'] ?: 15) * 72/25.4,
'right' => intval($params['BILLBY_MARGIN_RIGHT'] ?: 15) * 72/25.4,
'bottom' => intval($params['BILLBY_MARGIN_BOTTOM'] ?: 15) * 72/25.4,
'left' => intval($params['BILLBY_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 строка 65

◆ $n

$n = 0

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

◆ $pageHeight

$pageHeight = 841.89

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

◆ $pageWidth

$pageWidth = 595.28

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

◆ $params [1/2]

if ( $inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx( $totalVatSum $params[ 'CURRENCY']

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

◆ $params [2/2]

$params[ 'CURRENCY']

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

◆ $precision

if ( $inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx( $totalVatSum $precision = min($salePrecision, $currencyPrecision)

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

◆ $props

$props = array()

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

◆ $rowsCnt

$rowsCnt = count($cells)

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

◆ $salePrecision

$salePrecision = (int)Bitrix\Main\Config\Option::get('sale', 'value_precision', 2)

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

◆ $sellerBank

$sellerBank = ''

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

◆ $sellerInfoAddr

$sellerInfoAddr = ''

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

◆ $sellerInfoBank

$sellerInfoBank = ''

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

◆ $sellerInfoName

$sellerInfoName = ''

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

◆ $sellerInfoRows

if ( $params[ 'BILLBY_HEADER_SHOW']=='Y') $sellerInfoRows = array()

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

◆ $sellerInfoTaxId

$sellerInfoTaxId = ''

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

◆ $sellerRs

$sellerRs = ''

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

◆ $sum

$sum = 0.00

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

◆ $totalRowIndex

$totalRowIndex = -1

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

◆ $totalRowIsLast

foreach($params['BASKET_ITEMS'] as $basketItem) if ( $params[ 'DELIVERY_PRICE'] > 0) $totalRowIsLast = false

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

◆ $totalSum

$totalSum = 0.00

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

◆ $totalSumWithVat

$totalSumWithVat = 0.00

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

◆ $totalVatSum

$totalVatSum = 0.00

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

◆ $vat

$vat = 0

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

◆ $vatRateColumn

$vatRateColumn = 0

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

◆ $width

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

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

◆ else

else
Инициализатор
{
$rsPattern = '/\s*\d{10,100}\s*/'

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

◆ endfor

endfor

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

◆ endforeach

endforeach

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

◆ endif

if($params["BILLBY_COMMENT1"]|| $params["BILLBY_COMMENT2"]) if( $params[ 'BILLBY_SIGN_SHOW']=='Y')(! $blank) if($params["SELLER_COMPANY_DIRECTOR_POSITION"]) if ( $params["SELLER_COMPANY_ACCOUNTANT_POSITION"]) endif = $sellerInfo

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

◆ if

if($inWords) echo htmlspecialcharsbx(Number2Word_Rus($totalSumWithVat ( $_REQUEST[ 'PRINT'] = = 'Y') =join('pt ', $margin)

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