1C-Bitrix 25.700.0
|
Переменные | |
$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 = array() |
См. определение в файле template.php строка 417
$arColumnKeys = array_keys($arCols) |
См. определение в файле template.php строка 444
$background = '#ffffff' |
См. определение в файле template.php строка 31
$cells = array() |
См. определение в файле template.php строка 405
$cntBasketItem = 0 |
См. определение в файле template.php строка 414
$columnCount = count($arColumnKeys) |
См. определение в файле template.php строка 445
$columnList = array('NUMBER', 'NAME', 'QUANTITY', 'MEASURE', 'PRICE', 'SUM', 'VAT_RATE', 'VAT_SUM', 'TOTAL') |
См. определение в файле template.php строка 416
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 = (int)$currencyFormat['DECIMALS'] |
См. определение в файле template.php строка 396
if ( $params[ 'BILLBY_BACKGROUND']) $margin |
См. определение в файле template.php строка 65
$n = 0 |
См. определение в файле template.php строка 408
$pageHeight = 841.89 |
См. определение в файле template.php строка 29
$pageWidth = 595.28 |
См. определение в файле template.php строка 28
if ( $inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx( $totalVatSum $params[ 'CURRENCY'] |
См. определение в файле template.php строка 799
$params[ 'CURRENCY'] |
См. определение в файле template.php строка 806
if ( $inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx( $totalVatSum $precision = min($salePrecision, $currencyPrecision) |
См. определение в файле template.php строка 403
$props = array() |
См. определение в файле template.php строка 406
$rowsCnt = count($cells) |
См. определение в файле template.php строка 735
$salePrecision = (int)Bitrix\Main\Config\Option::get('sale', 'value_precision', 2) |
См. определение в файле template.php строка 399
$sellerBank = '' |
См. определение в файле template.php строка 102
$sellerInfoAddr = '' |
См. определение в файле template.php строка 156
$sellerInfoBank = '' |
См. определение в файле template.php строка 101
$sellerInfoName = '' |
См. определение в файле template.php строка 85
if ( $params[ 'BILLBY_HEADER_SHOW']=='Y') $sellerInfoRows = array() |
См. определение в файле template.php строка 84
$sellerInfoTaxId = '' |
См. определение в файле template.php строка 93
$sellerRs = '' |
См. определение в файле template.php строка 103
$sum = 0.00 |
См. определение в файле template.php строка 409
$totalRowIndex = -1 |
См. определение в файле template.php строка 622
foreach($params['BASKET_ITEMS'] as $basketItem) if ( $params[ 'DELIVERY_PRICE'] > 0) $totalRowIsLast = false |
См. определение в файле template.php строка 621
$totalSum = 0.00 |
См. определение в файле template.php строка 410
$totalSumWithVat = 0.00 |
См. определение в файле template.php строка 412
$totalVatSum = 0.00 |
См. определение в файле template.php строка 411
$vat = 0 |
См. определение в файле template.php строка 413
$vatRateColumn = 0 |
См. определение в файле template.php строка 418
См. определение в файле template.php строка 72
else |
См. определение в файле template.php строка 122
endfor |
См. определение в файле template.php строка 791
endforeach |
См. определение в файле template.php строка 731
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($inWords) echo htmlspecialcharsbx(Number2Word_Rus($totalSumWithVat | ( | $_REQUEST[ 'PRINT'] = = 'Y' | ) | =join('pt ', $margin) |
См. определение в файле template.php строка 76