1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
html.php
См. документацию.
1<?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die();?><?
2$ORDER_ID = intval($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["ID"]);
3if (!is_array($arOrder))
4 $arOrder = CSaleOrder::GetByID($ORDER_ID);
5?>
6<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
7<html>
8<head>
9<title>Счет</title>
10<meta http-equiv="Content-Type" content="text/html; charset=<?=LANG_CHARSET?>">
11<style>
12 table { border-collapse: collapse; }
13 table.acc td { border: 1pt solid #000000; padding: 0pt 3pt; line-height: 21pt; }
14 table.it td { border: 1pt solid #000000; padding: 0pt 3pt; }
15 table.sign td { font-weight: bold; vertical-align: bottom; }
16 table.header td { padding: 0pt; vertical-align: top; }
17</style>
18</head>
19
20<?
21
22if ($_REQUEST['BLANK'] == 'Y')
23 $blank = true;
24
25$pageWidth = 595.28;
26$pageHeight = 841.89;
27
28$background = '#ffffff';
29if (CSalePaySystemAction::GetParamValue('BACKGROUND', false))
30{
31 $path = CSalePaySystemAction::GetParamValue('BACKGROUND', false);
32 if (intval($path) > 0)
33 {
34 if ($arFile = CFile::GetFileArray($path))
35 $path = $arFile['SRC'];
36 }
37
38 $backgroundStyle = CSalePaySystemAction::GetParamValue('BACKGROUND_STYLE', false);
39 if (!in_array($backgroundStyle, array('none', 'tile', 'stretch')))
40 $backgroundStyle = 'none';
41
42 if ($path)
43 {
44 switch ($backgroundStyle)
45 {
46 case 'none':
47 $background = "url('" . $path . "') 0 0 no-repeat";
48 break;
49 case 'tile':
50 $background = "url('" . $path . "') 0 0 repeat";
51 break;
52 case 'stretch':
53 $background = sprintf(
54 "url('%s') 0 0 repeat-y; background-size: %.02fpt %.02fpt",
56 );
57 break;
58 }
59 }
60}
61
63 'top' => intval(CSalePaySystemAction::GetParamValue('MARGIN_TOP', false) ?: 15) * 72/25.4,
64 'right' => intval(CSalePaySystemAction::GetParamValue('MARGIN_RIGHT', false) ?: 15) * 72/25.4,
65 'bottom' => intval(CSalePaySystemAction::GetParamValue('MARGIN_BOTTOM', false) ?: 15) * 72/25.4,
66 'left' => intval(CSalePaySystemAction::GetParamValue('MARGIN_LEFT', false) ?: 20) * 72/25.4
67);
68
69$width = $pageWidth - $margin['left'] - $margin['right'];
70
71?>
72
73<body style="margin: 0pt; padding: 0pt;"<? if ($_REQUEST['PRINT'] == 'Y') { ?> onload="setTimeout(window.print, 0);"<? } ?>>
74
75<div style="margin: 0pt; padding: <?=join('pt ', $margin); ?>pt; width: <?=$width; ?>pt; background: <?=$background; ?>">
76
77<table class="header">
78 <tr>
79 <? if (CSalePaySystemAction::GetParamValue("PATH_TO_LOGO", false)) { ?>
80 <td style="padding-right: 5pt; padding-bottom: 5pt; ">
81 <? $imgParams = CFile::_GetImgParams(CSalePaySystemAction::GetParamValue('PATH_TO_LOGO', false)); ?>
82 <? $imgWidth = $imgParams['WIDTH'] * 96 / (intval(CSalePaySystemAction::GetParamValue('LOGO_DPI', false)) ?: 96); ?>
83 <img src="<?=$imgParams['SRC']; ?>" width="<?=$imgWidth; ?>" />
84 </td>
85 <? } ?>
86 <td>
87 <b><?=CSalePaySystemAction::GetParamValue("SELLER_NAME", false); ?></b><br>
88 <? if (CSalePaySystemAction::GetParamValue("SELLER_ADDRESS", false)) { ?>
89 <b><?=CSalePaySystemAction::GetParamValue("SELLER_ADDRESS", false); ?></b><br>
90 <? } ?>
91 <? if (CSalePaySystemAction::GetParamValue("SELLER_PHONE", false)) { ?>
92 <b><?=sprintf("Тел.: %s", CSalePaySystemAction::GetParamValue("SELLER_PHONE", false)); ?></b><br>
93 <? } ?>
94 </td>
95 </tr>
96</table>
97
98<?
99
100if (CSalePaySystemAction::GetParamValue("SELLER_BANK", false))
101{
102 $sellerBank = sprintf(
103 "%s %s",
104 CSalePaySystemAction::GetParamValue("SELLER_BANK", false),
105 CSalePaySystemAction::GetParamValue("SELLER_BCITY", false)
106 );
108}
109else
110{
111 $rsPattern = '/\s*\d{10,100}\s*/';
112
113 $sellerBank = trim(preg_replace($rsPattern, ' ', CSalePaySystemAction::GetParamValue("SELLER_RS", false)));
114
115 preg_match($rsPattern, CSalePaySystemAction::GetParamValue("SELLER_RS", false), $matches);
116 $sellerRs = trim($matches[0]);
117}
118
119?>
120<table class="acc" width="100%">
121 <colgroup>
122 <col width="29%">
123 <col width="29%">
124 <col width="10%">
125 <col width="32%">
126 </colgroup>
127 <tr>
128 <td>
129 <? if (CSalePaySystemAction::GetParamValue("SELLER_INN", false)) { ?>
130 <?=sprintf("ИНН %s", CSalePaySystemAction::GetParamValue("SELLER_INN", false)); ?>
131 <? } else { ?>
132 &nbsp;
133 <? } ?>
134 </td>
135 <td>
136 <? if (CSalePaySystemAction::GetParamValue("SELLER_KPP", false)) { ?>
137 <?=sprintf("КПП %s", CSalePaySystemAction::GetParamValue("SELLER_KPP", false)); ?>
138 <? } else { ?>
139 &nbsp;
140 <? } ?>
141 </td>
142 <td rowspan="2">
143 <br>
144 <br>
145 Сч. №
146 </td>
147 <td rowspan="2">
148 <br>
149 <br>
150 <?=$sellerRs; ?>
151 </td>
152 </tr>
153 <tr>
154 <td colspan="2">
155 Получатель<br>
156 <?=CSalePaySystemAction::GetParamValue("SELLER_NAME", false); ?>
157 </td>
158 </tr>
159 <tr>
160 <td colspan="2">
161 Банк получателя<br>
162 <?=$sellerBank; ?>
163 </td>
164 <td>
165 БИК<br>
166 Сч. №
167 </td>
168 <td>
169 <?=CSalePaySystemAction::GetParamValue("SELLER_BIK", false); ?><br>
170 <?=CSalePaySystemAction::GetParamValue("SELLER_KS", false); ?>
171 </td>
172 </tr>
173</table>
174
175<br>
176<br>
177
178<table width="100%">
179 <colgroup>
180 <col width="50%">
181 <col width="0">
182 <col width="50%">
183 </colgroup>
184 <tr>
185 <td></td>
186 <td style="font-size: 2em; font-weight: bold; text-align: center"><nobr><?=sprintf(
187 "СЧЕТ № %s от %s",
188 htmlspecialcharsbx($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["ACCOUNT_NUMBER"]),
189 CSalePaySystemAction::GetParamValue("DATE_INSERT", false)
190 ); ?></nobr></td>
191 <td></td>
192 </tr>
193<? if (CSalePaySystemAction::GetParamValue("ORDER_SUBJECT", false)) { ?>
194 <tr>
195 <td></td>
196 <td><?=CSalePaySystemAction::GetParamValue("ORDER_SUBJECT", false); ?></td>
197 <td></td>
198 </tr>
199<? } ?>
200<? if (CSalePaySystemAction::GetParamValue("DATE_PAY_BEFORE", false)) { ?>
201 <tr>
202 <td></td>
203 <td><?=sprintf(
204 "Срок оплаты %s",
206 ?: CSalePaySystemAction::GetParamValue("DATE_PAY_BEFORE", false)
207 ); ?></td>
208 <td></td>
209 </tr>
210<? } ?>
211</table>
212
213<br>
214<?
215
216if (CSalePaySystemAction::GetParamValue("BUYER_NAME", false)) {
217
218 echo sprintf(
219 "Плательщик: %s",
220 CSalePaySystemAction::GetParamValue("BUYER_NAME", false)
221 );
222 if (CSalePaySystemAction::GetParamValue("BUYER_INN", false))
223 echo sprintf(" ИНН %s", CSalePaySystemAction::GetParamValue("BUYER_INN", false));
224 if (CSalePaySystemAction::GetParamValue("BUYER_ADDRESS", false))
225 echo sprintf(", %s", CSalePaySystemAction::GetParamValue("BUYER_ADDRESS", false));
226 if (CSalePaySystemAction::GetParamValue("BUYER_PHONE", false))
227 echo sprintf(", %s", CSalePaySystemAction::GetParamValue("BUYER_PHONE", false));
228 if (CSalePaySystemAction::GetParamValue("BUYER_FAX", false))
229 echo sprintf(", %s", CSalePaySystemAction::GetParamValue("BUYER_FAX", false));
230 if (CSalePaySystemAction::GetParamValue("BUYER_PAYER_NAME", false))
231 echo sprintf(", %s", CSalePaySystemAction::GetParamValue("BUYER_PAYER_NAME", false));
232}
233
234?>
235
236<br>
237<br>
238
239<?
240
242if(!is_array($arBasketItems))
243{
246 array("DATE_INSERT" => "ASC", "NAME" => "ASC"),
247 array("ORDER_ID" => $ORDER_ID),
248 false, false,
249 array("ID", "PRICE", "CURRENCY", "QUANTITY", "NAME", "VAT_RATE", "MEASURE_NAME")
250 );
251 while ($arBasket = $dbBasket->Fetch())
252 {
253 // props in product basket
254 $arProdProps = array();
255 $dbBasketProps = CSaleBasket::GetPropsList(
256 array("SORT" => "ASC", "ID" => "DESC"),
257 array(
258 "BASKET_ID" => $arBasket["ID"],
259 "!CODE" => array("CATALOG.XML_ID", "PRODUCT.XML_ID")
260 ),
261 false,
262 false,
263 array("ID", "BASKET_ID", "NAME", "VALUE", "CODE", "SORT")
264 );
265 while ($arBasketProps = $dbBasketProps->GetNext())
266 {
267 if (!empty($arBasketProps) && $arBasketProps["VALUE"] != "")
268 $arProdProps[] = $arBasketProps;
269 }
270 $arBasket["PROPS"] = $arProdProps;
271 $arBasketItems[] = $arBasket;
272 }
273}
274
275if (!empty($arBasketItems))
276{
277 $arCells = array();
278 $arProps = array();
279
280 $n = 0;
281 $sum = 0.00;
282 $vat = 0;
283 foreach($arBasketItems as &$arBasket)
284 {
285 $productName = $arBasket["NAME"];
286 if ($productName == "OrderDelivery")
287 $productName = "Доставка";
288 else if ($productName == "OrderDiscount")
289 $productName = "Скидка";
290
291 $arCells[++$n] = array(
292 1 => $n,
293 htmlspecialcharsbx($productName),
294 roundEx($arBasket["QUANTITY"], SALE_VALUE_PRECISION),
295 $arBasket["MEASURE_NAME"] ? htmlspecialcharsbx($arBasket["MEASURE_NAME"]) : 'шт.',
296 SaleFormatCurrency($arBasket["PRICE"], $arBasket["CURRENCY"], true),
297 roundEx($arBasket["VAT_RATE"]*100, SALE_VALUE_PRECISION) . "%",
299 $arBasket["PRICE"] * $arBasket["QUANTITY"],
300 $arBasket["CURRENCY"],
301 true
302 )
303 );
304
305 if(isset($arBasket["PROPS"]))
306 {
307 $arProps[$n] = array();
308 foreach ($arBasket["PROPS"] as $vv)
309 $arProps[$n][] = htmlspecialcharsbx(sprintf("%s: %s", $vv["NAME"], $vv["VALUE"]));
310 }
311
312 $sum += doubleval($arBasket["PRICE"] * $arBasket["QUANTITY"]);
313 $vat = max($vat, $arBasket["VAT_RATE"]);
314 }
315 unset($arBasket);
316
317 if (DoubleVal($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["PRICE_DELIVERY"]) > 0)
318 {
319 $arDelivery_tmp = CSaleDelivery::GetByID($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["DELIVERY_ID"]);
320
321 $sDeliveryItem = "Доставка";
322 if ($arDelivery_tmp["NAME"] <> '')
323 $sDeliveryItem .= sprintf(" (%s)", $arDelivery_tmp["NAME"]);
324 $arCells[++$n] = array(
325 1 => $n,
326 htmlspecialcharsbx($sDeliveryItem),
327 1,
328 '',
330 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["PRICE_DELIVERY"],
331 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"],
332 true
333 ),
336 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["PRICE_DELIVERY"],
337 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"],
338 true
339 )
340 );
341
342 $sum += doubleval($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["PRICE_DELIVERY"]);
343 }
344
345 $items = $n;
346
347 if ($sum < $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["PRICE"])
348 {
349 $arCells[++$n] = array(
350 1 => null,
351 null,
352 null,
353 null,
354 null,
355 "Подытог:",
356 SaleFormatCurrency($sum, $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"], true)
357 );
358 }
359
360 $taxes = false;
361 $dbTaxList = CSaleOrderTax::GetList(
362 array("APPLY_ORDER" => "ASC"),
363 array("ORDER_ID" => $ORDER_ID)
364 );
365
366 while ($arTaxList = $dbTaxList->Fetch())
367 {
368 $taxes = true;
369
370 $arCells[++$n] = array(
371 1 => null,
372 null,
373 null,
374 null,
375 null,
376 htmlspecialcharsbx(sprintf(
377 "%s%s%s:",
378 ($arTaxList["IS_IN_PRICE"] == "Y") ? "В том числе " : "",
379 $arTaxList["TAX_NAME"],
380 ($vat <= 0 && $arTaxList["IS_PERCENT"] == "Y")
381 ? sprintf(' (%s%%)', roundEx($arTaxList["VALUE"],SALE_VALUE_PRECISION))
382 : ""
383 )),
385 $arTaxList["VALUE_MONEY"],
386 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"],
387 true
388 )
389 );
390 }
391
392 if (!$taxes)
393 {
394 $arCells[++$n] = array(
395 1 => null,
396 null,
397 null,
398 null,
399 null,
400 htmlspecialcharsbx("НДС:"),
401 htmlspecialcharsbx("Без НДС")
402 );
403 }
404
405 if (DoubleVal($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["SUM_PAID"]) > 0)
406 {
407 $arCells[++$n] = array(
408 1 => null,
409 null,
410 null,
411 null,
412 null,
413 "Уже оплачено:",
415 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["SUM_PAID"],
416 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"],
417 true
418 )
419 );
420 }
421
422 if (DoubleVal($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["DISCOUNT_VALUE"]) > 0)
423 {
424 $arCells[++$n] = array(
425 1 => null,
426 null,
427 null,
428 null,
429 null,
430 "Скидка:",
432 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["DISCOUNT_VALUE"],
433 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"],
434 true
435 )
436 );
437 }
438
439 $arCells[++$n] = array(
440 1 => null,
441 null,
442 null,
443 null,
444 null,
445 "Итого:",
447 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["SHOULD_PAY"],
448 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"],
449 true
450 )
451 );
452}
453
454$arCurFormat = CCurrencyLang::GetCurrencyFormat($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"]);
455$currency = trim(str_replace('#', '', $arCurFormat['FORMAT_STRING']));
456?>
457<table class="it" width="100%">
458 <tr>
459 <td><nobr>№</nobr></td>
460 <td><nobr>Наименование товара</nobr></td>
461 <td><nobr>Кол-во</nobr></td>
462 <td><nobr>Ед.</nobr></td>
463 <td><nobr>Цена, <?=$currency; ?></nobr></td>
464 <? if ($vat > 0) { ?>
465 <td><nobr>Ставка НДС</nobr></td>
466 <? } ?>
467 <td><nobr>Сумма, <?=$currency; ?></nobr></td>
468 </tr>
469<?
470
472for ($n = 1; $n <= $rowsCnt; $n++)
473{
474 $accumulated = 0;
475
476?>
477 <tr valign="top">
478 <? if (!is_null($arCells[$n][1])) { ?>
479 <td align="center"><?=$arCells[$n][1]; ?></td>
480 <? } else {
481 $accumulated++;
482 } ?>
483 <? if (!is_null($arCells[$n][2])) { ?>
484 <td align="left"
485 style="word-break: break-word; word-wrap: break-word; <? if ($accumulated) {?>border-width: 0pt 1pt 0pt 0pt; <? } ?>"
486 <? if ($accumulated) { ?>colspan="<?=($accumulated+1); ?>"<? $accumulated = 0; } ?>>
487 <?=$arCells[$n][2]; ?>
488 <? if (isset($arProps[$n]) && is_array($arProps[$n])) { ?>
489 <? foreach ($arProps[$n] as $property) { ?>
490 <br>
491 <small><?=$property; ?></small>
492 <? } ?>
493 <? } ?>
494 </td>
495 <? } else {
496 $accumulated++;
497 } ?>
498 <? for ($i = 3; $i <= 7; $i++) { ?>
499 <? if (!is_null($arCells[$n][$i])) { ?>
500 <? if ($i != 6 || $vat > 0 || is_null($arCells[$n][2])) { ?>
501 <td align="right"
502 <? if ($accumulated) { ?>
503 style="border-width: 0pt 1pt 0pt 0pt"
504 colspan="<?=(($i == 6 && $vat <= 0) ? $accumulated : $accumulated+1); ?>"
505 <? $accumulated = 0; } ?>>
506 <nobr><?=$arCells[$n][$i]; ?></nobr>
507 </td>
508 <? }
509 } else {
510 $accumulated++;
511 }
512 } ?>
513 </tr>
514<?
515
516}
517
518?>
519</table>
520<br>
521
522<?=sprintf(
523 "Всего наименований %s, на сумму %s",
524 $items,
526 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["SHOULD_PAY"],
527 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"],
528 false
529 )
530); ?>
531<br>
532
533<b>
534<?
535
536if (in_array($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"], array("RUR", "RUB")))
537{
538 echo Number2Word_Rus($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["SHOULD_PAY"]);
539}
540else
541{
543 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["SHOULD_PAY"],
544 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"],
545 false
546 );
547}
548
549?>
550</b>
551
552<br>
553<br>
554
555<? if (CSalePaySystemAction::GetParamValue("COMMENT1", false) || CSalePaySystemAction::GetParamValue("COMMENT2", false)) { ?>
556<b>Условия и комментарии</b>
557<br>
558 <? if (CSalePaySystemAction::GetParamValue("COMMENT1", false)) { ?>
559 <?=nl2br(HTMLToTxt(preg_replace(
560 array('#</div>\s*<div[^>]*>#i', '#</?div>#i'), array('<br>', '<br>'),
562 ), '', array(), 0)); ?>
563 <br>
564 <br>
565 <? } ?>
566 <? if (CSalePaySystemAction::GetParamValue("COMMENT2", false)) { ?>
567 <?=nl2br(HTMLToTxt(preg_replace(
568 array('#</div>\s*<div[^>]*>#i', '#</?div>#i'), array('<br>', '<br>'),
570 ), '', array(), 0)); ?>
571 <br>
572 <br>
573 <? } ?>
574<? } ?>
575
576<br>
577<br>
578
579<? if (!$blank) { ?>
580<div style="position: relative; "><?=CFile::ShowImage(
581 CSalePaySystemAction::GetParamValue("PATH_TO_STAMP", false),
582 160, 160,
583 'style="position: absolute; left: 40pt; "'
584); ?></div>
585<? } ?>
586
587<div style="position: relative">
588 <table class="sign">
589 <? if (CSalePaySystemAction::GetParamValue("SELLER_DIR_POS", false)) { ?>
590 <tr>
591 <td style="width: 150pt; "><?=CSalePaySystemAction::GetParamValue("SELLER_DIR_POS", false); ?></td>
592 <td style="width: 160pt; border: 1pt solid #000000; border-width: 0pt 0pt 1pt 0pt; text-align: center; ">
593 <? if (!$blank) { ?>
594 <?=CFile::ShowImage(CSalePaySystemAction::GetParamValue("SELLER_DIR_SIGN", false), 200, 50); ?>
595 <? } ?>
596 </td>
597 <td>
598 <? if (CSalePaySystemAction::GetParamValue("SELLER_DIR", false)) { ?>
599 (<?=CSalePaySystemAction::GetParamValue("SELLER_DIR", false); ?>)
600 <? } ?>
601 </td>
602 </tr>
603 <tr><td colspan="3">&nbsp;</td></tr>
604 <? } ?>
605 <? if (CSalePaySystemAction::GetParamValue("SELLER_ACC_POS", false)) { ?>
606 <tr>
607 <td style="width: 150pt; "><?=CSalePaySystemAction::GetParamValue("SELLER_ACC_POS", false); ?></td>
608 <td style="width: 160pt; border: 1pt solid #000000; border-width: 0pt 0pt 1pt 0pt; text-align: center; ">
609 <? if (!$blank) { ?>
610 <?=CFile::ShowImage(CSalePaySystemAction::GetParamValue("SELLER_ACC_SIGN", false), 200, 50); ?>
611 <? } ?>
612 </td>
613 <td>
614 <? if (CSalePaySystemAction::GetParamValue("SELLER_ACC", false)) { ?>
615 (<?=CSalePaySystemAction::GetParamValue("SELLER_ACC", false); ?>)
616 <? } ?>
617 </td>
618 </tr>
619 <? } ?>
620 </table>
621</div>
622
623</div>
624
625</body>
626</html>
$path
Определения access_edit.php:21
$sum
Определения checkout.php:6
static GetByID($ID)
Определения delivery.php:249
static GetParamValue($key, $defaultValue=null)
Определения pay_system_action.php:76
static ShowImage($strImage, $iMaxW=0, $iMaxH=0, $sParams=null, $strImageUrl="", $bPopup=false, $sPopupTitle=false, $iSizeWHTTP=0, $iSizeHHTTP=0, $strImageUrlTemplate="")
Определения file.php:1805
static _GetImgParams($strImage, $iSizeWHTTP=0, $iSizeHHTTP=0)
Определения file.php:1726
static GetList($arOrder=array(), $arFilter=array(), $arGroupBy=false, $arNavStartParams=false, $arSelectFields=array())
Определения basket.php:33
static GetPropsList($arOrder=array(), $arFilter=array(), $arGroupBy=false, $arNavStartParams=false, $arSelectFields=array())
Определения basket.php:317
static GetList($arOrder=array("TAX_NAME"=> "ASC"), $arFilter=array(), $arGroupBy=false, $arNavStartParams=false, $arSelectFields=array())
Определения order_tax.php:7
collapse(node)
Определения ebay_mip_setup.php:316
& nbsp
Определения epilog_main_admin.php:38
hidden PROPERTY[<?=$propertyIndex?>][CODE]<?=htmlspecialcharsEx( $propertyCode)?> height
Определения file_new.php:759
bx popup label bx width30 PAGE_NEW_MENU_NAME text width
Определения file_new.php:677
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
bx_acc_lim_group_list limitGroupList[] multiple<?=$group[ 'ID']?> ID selected margin top
Определения file_new.php:657
<? if( $useEditor3):?>< tr class="heading">< td colspan="2"><? echo GetMessage("FILEMAN_OPTION_SPELL_SET");?></td ></tr ><? if(function_exists( 'pspell_config_create')):$use_pspell_checked=(COption::GetOptionString( $module_id, "use_pspell", "Y")=="Y") ? "checked" :"";?>< tr >< td valign="top">< label for="use_pspell"><?echo GetMessage("FILEMAN_OPTION_USE_PSPELL");?></label >< br >< a title="<?echo GetMessage("FILEMAN_OPTION_ADDISH_DICS_TITLE");?> http
Определения options.php:1473
$_REQUEST["admin_mnu_menu_id"]
Определения get_menu.php:8
const FORMAT_DATE
Определения include.php:63
ConvertDateTime($datetime, $to_format=false, $from_site=false, $bSearchInSitesOnly=false)
Определения tools.php:724
roundEx($value, $prec=0)
Определения tools.php:4635
htmlspecialcharsback($str)
Определения tools.php:2693
HTMLToTxt($str, $strSiteUrl="", $aDelete=[], $maxlen=70)
Определения tools.php:2587
htmlspecialcharsbx($string, $flags=ENT_COMPAT, $doubleEncode=true)
Определения tools.php:2701
<? endif;?> window document title
Определения prolog_main_admin.php:76
die
Определения quickway.php:367
for( $i=0, $max=count( $arBasketIDs);$i< $max;$i++) if($arOrder['DELIVERY_VAT_RATE'] > 0) if(is_array( $arBasketOrder) &&!empty( $arBasketOrder)) if(floatval($arOrder["DISCOUNT_VALUE"]) > 0) $arTaxList
Определения factura.php:640
$i
Определения factura.php:643
if($arParams["BUYER_PHONE"]<> '') echo "<br>Телефон<?=$currency;?></td><td nowrap align="center" style="border:1pt solid #000000;"> Сумма
Определения invoice.php:127
font style
Определения invoice.php:442
</p ></td >< td valign=top style='border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0cm 2.0pt 0cm 2.0pt;height:9.0pt'>< p class=Normal align=center style='margin:0cm;margin-bottom:.0001pt;text-align:center;line-height:normal'>< a name=ТекстовоеПоле54 ></a ><?=($taxRate > count( $arTaxList) > 0) ? $taxRate."%"
Определения waybill.php:936
$background
Определения html.php:27
$ORDER_ID
Определения html.php:2
$pageWidth
Определения html.php:24
if( $arBasket=$dbBasket->Fetch()) if($vat > 0) $rowsCnt
Определения html.php:430
$width
Определения html.php:68
if(CSalePaySystemAction::GetParamValue("DATE_PAY_BEFORE", false)) $dbBasket
Определения html.php:162
if(CSalePaySystemAction::GetParamValue('BACKGROUND', false)) $margin
Определения html.php:61
$pageHeight
Определения html.php:25
$currency
Определения template.php:266
$arCurFormat
Определения template.php:265
$sellerBank
Определения template.php:134
$vat
Определения template.php:273
$sellerRs
Определения template.php:137
$arCells
Определения template.php:223
$items
Определения template.php:224
text align
Определения template.php:556
SaleFormatCurrency($fSum, $strCurrency, $OnlyValue=false, $withoutFormat=false)
Определения include.php:142
const SALE_VALUE_PRECISION
Определения include.php:46
Number2Word_Rus($source, $IS_MONEY="Y", $currency="")
Определения include.php:2
if(CSalePaySystemAction::GetParamValue("ORDER_SUBJECT", false)) if(CSalePaySystemAction::GetParamValue("DATE_PAY_BEFORE", false)) if(CSalePaySystemAction::GetParamValue("BUYER_NAME", false)) $arBasketItems
Определения html.php:241
$matches
Определения index.php:22
$GLOBALS['_____370096793']
Определения update_client.php:1
$n
Определения update_log.php:107
$taxes
Определения template_pdf.php:444
$blank
Определения template_pdf.php:11