|
| $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) |
if(CSalePaySystemAction::GetParamValue("SELLER_ADDRESS", false)) if(CSalePaySystemAction::GetParamValue("SELLER_PHONE", false)) if(CSalePaySystemAction::GetParamValue("SELLER_BANK", false)) | else |
| $sellerBank = trim(preg_replace($rsPattern, ' ', CSalePaySystemAction::GetParamValue("SELLER_RS", false))) |
| $sellerRs = trim($matches[0]) |
if(CSalePaySystemAction::GetParamValue("ORDER_SUBJECT", false)) if(CSalePaySystemAction::GetParamValue("DATE_PAY_BEFORE", false)) if(CSalePaySystemAction::GetParamValue("BUYER_NAME", false)) | $arBasketItems = CSalePaySystemAction::GetParamValue("BASKET_ITEMS", false) |
if(!is_array( $arBasketItems)) if(!empty($arBasketItems)) | $arCurFormat = CCurrencyLang::GetCurrencyFormat($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"]) |
| $currency = trim(str_replace('#', '', $arCurFormat['FORMAT_STRING'])) |
| $rowsCnt = count($arCells) |
| for ( $n=1;$n<=$rowsCnt;$n++) |