|
1C-Bitrix 25.700.0
|
Переменные | |
| $ORDER_ID = intval($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["ID"]) | |
| $pageWidth = 595.28 | |
| $pageHeight = 841.89 | |
| $background = '#ffffff' | |
| if(CSalePaySystemAction::GetParamValue('BACKGROUND', false)) | $margin |
| $width = $pageWidth - $margin['left'] - $margin['right'] | |
| if ( $_REQUEST[ 'PRINT']=='Y') =join('pt ', $margin) | |
| $buyerPhone = CSalePaySystemAction::GetParamValue("BUYER_PHONE", false) | |
| $buyerFax = CSalePaySystemAction::GetParamValue("BUYER_FAX", false) | |
| if($buyerPhone|| $buyerFax) if(CSalePaySystemAction::GetParamValue("BUYER_ADDRESS", false)) if(CSalePaySystemAction::GetParamValue("BUYER_DOGOVOR", false)) | $dbBasket |
| if($arBasket=$dbBasket->Fetch()) | $arCurFormat = CCurrencyLang::GetCurrencyFormat($GLOBALS['SALE_INPUT_PARAMS']['ORDER']['CURRENCY']) |
| $currency = trim(str_replace('#', '', $arCurFormat['FORMAT_STRING'])) | |
| if($vat<=0) | else =$currency |
| $rowsCnt = count($arCells) | |
| for ( $n=1;$n<=$rowsCnt;$n++) | |
| if ( $arBasket=$dbBasket->Fetch()) $arCurFormat = CCurrencyLang::GetCurrencyFormat($GLOBALS['SALE_INPUT_PARAMS']['ORDER']['CURRENCY']) |
| $buyerFax = CSalePaySystemAction::GetParamValue("BUYER_FAX", false) |
| $buyerPhone = CSalePaySystemAction::GetParamValue("BUYER_PHONE", false) |
| $currency = trim(str_replace('#', '', $arCurFormat['FORMAT_STRING'])) |
| if( $buyerPhone||$buyerFax) if(CSalePaySystemAction::GetParamValue("BUYER_ADDRESS", false)) if (CSalePaySystemAction::GetParamValue("BUYER_DOGOVOR", false)) $dbBasket |
| if (CSalePaySystemAction::GetParamValue( 'BACKGROUND', false)) $margin |
| $ORDER_ID = intval($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["ID"]) |
| for($n=1; $n<=$rowsCnt; $n++) | ( | $n = 1; $n <= $rowsCnt; $n++ | ) |
| if($vat > 0) else if(CSalePaySystemAction::GetParamValue("COMMENT1", false)||CSalePaySystemAction::GetParamValue("COMMENT2", false)) if(! $blank) if(! $blank) | ( | $_REQUEST[ 'PRINT'] = = 'Y' | ) | =join('pt ', $margin) |