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

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

Переменные

 $arPaySysAction ["ENCODING"] = ""
 $pdf = new CSalePdf('P', 'pt', 'A4')
if($params['BILLKZ_BACKGROUND']) $pageWidth = $pdf->GetPageWidth()
 $pageHeight = $pdf->GetPageHeight()
 $fontFamily = 'Font'
 $fontSize = 10.5
 $defaultLineWidth = 0.567
 $lineHeight = 15
 $margin
 $width = $pageWidth - $margin['left'] - $margin['right']
 $x0 = $pdf->GetX()
 $y0 = $pdf->GetY()
 $logoHeight = 0
 $logoWidth = 0
if($params['BILLKZ_HEADER_SHOW']=='Y') $sellerTitle = $sellerInfo = ''
 $buyerTitle = $buyerInfo = ''
if($params['BILLKZ_PAYER_SHOW']=='Y') $colInfo
 $y8 = $pdf->GetY()
 $text = CSalePdf::prepareToPdf($sellerTitle ?: ' ')
 $y9 = $pdf->GetY()
 $x1 = $x0 + $colInfo[0]['width']
 $y10 = $y9 + 9
 $y11 = $pdf->GetY()
 $y12 = $y11 + 9
 $arCurFormat = CCurrencyLang::GetCurrencyFormat($params['CURRENCY'])
 $currency = preg_replace('/(^|[^&])#/', '${1}', $arCurFormat['FORMAT_STRING'])
 $columnList = array('NUMBER', 'NAME', 'QUANTITY', 'MEASURE', 'PRICE', 'VAT_RATE', 'SUM')
 $arCols = array()
 $vatRateColumn = 0
 $arColumnKeys = array_keys($arCols)
 $columnCount = count($arColumnKeys)
 $k = 0
 do
 $y5 = $pdf->GetY()
 $rowsCnt = count($arCells)
if($params['BILLKZ_TOTAL_SHOW']=='Y') $y14 = $pdf->GetY()
if($params['BILLKZ_SIGN_SHOW']=='Y') $dest = 'I'
 $fileName
 $trFileName = CUtil::translit($fileName, 'ru', array('max_len' => 1024, 'safe_chars' => '.', 'replace_space' => '-'))

Переменные

◆ $arCols

$arCols = array()

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

◆ $arColumnKeys

$arColumnKeys = array_keys($arCols)

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

◆ $arCurFormat

$arCurFormat = CCurrencyLang::GetCurrencyFormat($params['CURRENCY'])

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

◆ $arPaySysAction

$arPaySysAction["ENCODING"] = ""

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

◆ $buyerTitle

$buyerTitle = $buyerInfo = ''

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

◆ $colInfo

if ( $params[ 'BILLKZ_PAYER_SHOW']=='Y') $colInfo
Инициализатор
array('prc' => 13),
array('prc' => 87)
)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804

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

◆ $columnCount

$columnCount = count($arColumnKeys)

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

◆ $columnList

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

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

◆ $currency

$currency = preg_replace('/(^|[^&])#/', '${1}', $arCurFormat['FORMAT_STRING'])

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

◆ $defaultLineWidth

$defaultLineWidth = 0.567

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

◆ $dest

if ( $params[ 'BILLKZ_SIGN_SHOW']=='Y') $dest = 'I'

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

◆ $fileName

$fileName
Инициализатор
= sprintf(
'Schet No %s ot %s.pdf',
str_replace(
chr(0), chr(1), chr(2), chr(3), chr(4), chr(5), chr(6), chr(7), chr(8), chr(9), chr(10), chr(11),
chr(12), chr(13), chr(14), chr(15), chr(16), chr(17), chr(18), chr(19), chr(20), chr(21), chr(22),
chr(23), chr(24), chr(25), chr(26), chr(27), chr(28), chr(29), chr(30), chr(31),
'"', '*', '/', ':', '<', '>', '?', '\\', '|'
),
'_',
strval($params["ACCOUNT_NUMBER"])
),
ConvertDateTime($params['PAYMENT_DATE_INSERT'], 'YYYY-MM-DD')
)
ConvertDateTime($datetime, $to_format=false, $from_site=false, $bSearchInSitesOnly=false)
Определения tools.php:724
if($inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx($totalVatSum $params['CURRENCY']
Определения template.php:799

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

◆ $fontFamily

$fontFamily = 'Font'

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

◆ $fontSize

$fontSize = 10.5

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

◆ $k

$k = 0

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

◆ $lineHeight

$lineHeight = 15

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

◆ $logoHeight

$logoHeight = 0

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

◆ $logoWidth

$logoWidth = 0

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

◆ $margin

$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
)

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

◆ $pageHeight

$pageHeight = $pdf->GetPageHeight()

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

◆ $pageWidth

if ( $params[ 'BILLKZ_BACKGROUND']) $pageWidth = $pdf->GetPageWidth()

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

◆ $pdf

$pdf = new CSalePdf('P', 'pt', 'A4')

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

◆ $rowsCnt

$rowsCnt = count($arCells)

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

◆ $sellerTitle

if ( $params[ 'BILLKZ_HEADER_SHOW']=='Y') $sellerTitle = $sellerInfo = ''

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

◆ $text

$text = CSalePdf::prepareToPdf($sellerTitle ?: ' ')

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

◆ $trFileName

$trFileName = CUtil::translit($fileName, 'ru', array('max_len' => 1024, 'safe_chars' => '.', 'replace_space' => '-'))

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

◆ $vatRateColumn

$vatRateColumn = 0

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

◆ $width

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

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

◆ $x0

if (count( $params[ 'BASKET_ITEMS']) > 0) $x0 = $pdf->GetX()

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

◆ $x1

$x1 = $x0 + $colInfo[0]['width']

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

◆ $y0

$y0 = $pdf->GetY()

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

◆ $y10

$y10 = $y9 + 9

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

◆ $y11

$y11 = $pdf->GetY()

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

◆ $y12

$y12 = $y11 + 9

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

◆ $y14

if ( $params[ 'BILLKZ_TOTAL_SHOW']=='Y') $y14 = $pdf->GetY()

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

◆ $y5

$y5 = $pdf->GetY()

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

◆ $y8

$y8 = $pdf->GetY()

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

◆ $y9

$y9 = $pdf->GetY()

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

◆ do

do
Инициализатор
{
$newLine = false

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