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>Factura</title>
10<meta http-equiv="Content-Type" content="text/html; charset=<?=LANG_CHARSET?>">
11<style>
12 table { border-collapse: collapse; }
13 table.it td { border: 1pt solid #000000; padding: 0pt 3pt; }
14 table.inv td, table.sign td { padding: 0pt; }
15 table.sign td { vertical-align: top; }
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; ">
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("Tel.: %s", CSalePaySystemAction::GetParamValue("SELLER_PHONE", false)); ?></b><br>
93 <? } ?>
94 </td>
95 </tr>
96</table>
97<br>
98
99<div style="text-align: center; font-size: 2em"><b>Factura</b></div>
100
101<br>
102<br>
103
104<table width="100%">
105 <tr>
106 <? if (CSalePaySystemAction::GetParamValue("BUYER_NAME", false)) { ?>
107 <td>
108 <b>Para</b><br>
109 <?=CSalePaySystemAction::GetParamValue("BUYER_NAME", false); ?><br>
110 <? if (CSalePaySystemAction::GetParamValue("BUYER_ADDRESS", false)) { ?>
111 <?=CSalePaySystemAction::GetParamValue("BUYER_ADDRESS", false); ?>
112 <? } ?>
113 </td>
114 <? } ?>
115 <td align="right">
116 <table class="inv">
117 <tr align="right">
118 <td><b>Factura #&nbsp;</b></td>
119 <td><?=htmlspecialcharsbx($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["ACCOUNT_NUMBER"]); ?></td>
120 </tr>
121 <tr align="right">
122 <td><b>Girada el:&nbsp;</b></td>
123 <td><?=CSalePaySystemAction::GetParamValue("DATE_INSERT", false); ?></td>
124 </tr>
125 <? if (CSalePaySystemAction::GetParamValue("DATE_PAY_BEFORE", false)) { ?>
126 <tr align="right">
127 <td><b>Para pagarse el:&nbsp;</b></td>
128 <td><?=(
130 ?: CSalePaySystemAction::GetParamValue("DATE_PAY_BEFORE", false)
131 ); ?></td>
132 </tr>
133 <? } ?>
134 </table>
135 </td>
136 </tr>
137</table>
138
139<br>
140<br>
141<br>
142
143<?
144
146 array("DATE_INSERT" => "ASC", "NAME" => "ASC"),
147 array("ORDER_ID" => $ORDER_ID),
148 false, false,
149 array("ID", "PRICE", "CURRENCY", "QUANTITY", "NAME", "VAT_RATE", "MEASURE_NAME")
150);
151if ($arBasket = $dbBasket->Fetch())
152{
153 $arCells = array();
154 $arProps = array();
155
156 $n = 0;
157 $sum = 0.00;
158 $vat = 0;
159 $vats = array();
160 do
161 {
162 // props in product basket
163 $arProdProps = array();
164 $dbBasketProps = CSaleBasket::GetPropsList(
165 array("SORT" => "ASC", "ID" => "DESC"),
166 array(
167 "BASKET_ID" => $arBasket["ID"],
168 "!CODE" => array("CATALOG.XML_ID", "PRODUCT.XML_ID")
169 ),
170 false,
171 false,
172 array("ID", "BASKET_ID", "NAME", "VALUE", "CODE", "SORT")
173 );
174 while ($arBasketProps = $dbBasketProps->GetNext())
175 {
176 if (!empty($arBasketProps) && $arBasketProps["VALUE"] != "")
177 $arProdProps[] = $arBasketProps;
178 }
179 $arBasket["PROPS"] = $arProdProps;
180
181 // @TODO: replace with real vatless price
182 if (isset($arBasket['VAT_INCLUDED']) && $arBasket['VAT_INCLUDED'] === 'Y')
183 $arBasket["VATLESS_PRICE"] = roundEx($arBasket["PRICE"] / (1 + $arBasket["VAT_RATE"]), SALE_VALUE_PRECISION);
184 else
185 $arBasket["VATLESS_PRICE"] = $arBasket["PRICE"];
186
187 $productName = $arBasket["NAME"];
188 if ($productName == "OrderDelivery")
189 $productName = "Envo";
190 else if ($productName == "OrderDiscount")
191 $productName = "Descuento";
192
193 $arCells[++$n] = array(
194 1 => $n,
195 htmlspecialcharsbx($productName),
196 roundEx($arBasket["QUANTITY"], SALE_VALUE_PRECISION),
197 $arBasket["MEASURE_NAME"] ? htmlspecialcharsbx($arBasket["MEASURE_NAME"]) : 'pza',
198 SaleFormatCurrency($arBasket["VATLESS_PRICE"], $arBasket["CURRENCY"], false),
199 roundEx($arBasket["VAT_RATE"]*100, SALE_VALUE_PRECISION) . "%",
201 $arBasket["VATLESS_PRICE"] * $arBasket["QUANTITY"],
202 $arBasket["CURRENCY"],
203 false
204 )
205 );
206
207 $arProps[$n] = array();
208 foreach ($arBasket["PROPS"] as $vv)
209 $arProps[$n][] = htmlspecialcharsbx(sprintf("%s: %s", $vv["NAME"], $vv["VALUE"]));
210
211 $sum += doubleval($arBasket["VATLESS_PRICE"] * $arBasket["QUANTITY"]);
212 $vat = max($vat, $arBasket["VAT_RATE"]);
213 if ($arBasket["VAT_RATE"] > 0)
214 {
215 if (!isset($vats[$arBasket["VAT_RATE"]]))
216 $vats[$arBasket["VAT_RATE"]] = 0;
217 $vats[$arBasket["VAT_RATE"]] += ($arBasket["PRICE"] - $arBasket["VATLESS_PRICE"]) * $arBasket["QUANTITY"];
218 }
219 }
220 while ($arBasket = $dbBasket->Fetch());
221
222 if (DoubleVal($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["PRICE_DELIVERY"]) > 0)
223 {
224 $arDelivery_tmp = CSaleDelivery::GetByID($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["DELIVERY_ID"]);
225
226 $sDeliveryItem = "Envo";
227 if ($arDelivery_tmp["NAME"] <> '')
228 $sDeliveryItem .= sprintf(" (%s)", $arDelivery_tmp["NAME"]);
229 $arCells[++$n] = array(
230 1 => $n,
231 htmlspecialcharsbx($sDeliveryItem),
232 1,
233 '',
235 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["PRICE_DELIVERY"] / (1 + $vat),
236 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"],
237 false
238 ),
241 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["PRICE_DELIVERY"] / (1 + $vat),
242 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"],
243 false
244 )
245 );
246
247 $sum += roundEx(
248 doubleval($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["PRICE_DELIVERY"] / (1 + $vat)),
250 );
251
252 if ($vat > 0)
253 $vats[$vat] += roundEx(
254 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["PRICE_DELIVERY"] * $vat / (1 + $vat),
256 );
257 }
258
259 $items = $n;
260
261 if ($sum < $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["PRICE"])
262 {
263 $arCells[++$n] = array(
264 1 => null,
265 null,
266 null,
267 null,
268 null,
269 "Sub Total:",
270 SaleFormatCurrency($sum, $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"], false)
271 );
272 }
273
274 if (!empty($vats))
275 {
276 // @TODO: remove on real vatless price implemented
277 $delta = intval(roundEx(
278 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["PRICE"] - $sum - array_sum($vats),
280 ) * pow(10, SALE_VALUE_PRECISION));
281 if ($delta)
282 {
283 $vatRates = array_keys($vats);
284 rsort($vatRates);
285
286 while (abs($delta) > 0)
287 {
288 foreach ($vatRates as $vatRate)
289 {
290 $vats[$vatRate] += abs($delta)/$delta / pow(10, SALE_VALUE_PRECISION);
291 $delta -= abs($delta)/$delta;
292
293 if ($delta == 0)
294 break 2;
295 }
296 }
297 }
298
299 foreach ($vats as $vatRate => $vatSum)
300 {
301 $arCells[++$n] = array(
302 1 => null,
303 null,
304 null,
305 null,
306 null,
307 sprintf(
308 "Impuesto (%s%%):",
309 roundEx($vatRate * 100, SALE_VALUE_PRECISION)
310 ),
312 $vatSum,
313 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"],
314 false
315 )
316 );
317 }
318 }
319 else
320 {
321 $dbTaxList = CSaleOrderTax::GetList(
322 array("APPLY_ORDER" => "ASC"),
323 array("ORDER_ID" => $ORDER_ID)
324 );
325
326 while ($arTaxList = $dbTaxList->Fetch())
327 {
328 $arCells[++$n] = array(
329 1 => null,
330 null,
331 null,
332 null,
333 null,
334 htmlspecialcharsbx(sprintf(
335 "%s%s%s:",
336 ($arTaxList["IS_IN_PRICE"] == "Y") ? "Incluido " : "",
337 $arTaxList["TAX_NAME"],
338 sprintf(' (%s%%)', roundEx($arTaxList["VALUE"],SALE_VALUE_PRECISION))
339 )),
341 $arTaxList["VALUE_MONEY"],
342 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"],
343 false
344 )
345 );
346 }
347 }
348
349 if (DoubleVal($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["SUM_PAID"]) > 0)
350 {
351 $arCells[++$n] = array(
352 1 => null,
353 null,
354 null,
355 null,
356 null,
357 "Pago hecho:",
359 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["SUM_PAID"],
360 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"],
361 false
362 )
363 );
364 }
365
366 if (DoubleVal($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["DISCOUNT_VALUE"]) > 0)
367 {
368 $arCells[++$n] = array(
369 1 => null,
370 null,
371 null,
372 null,
373 null,
374 "Descuento:",
376 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["DISCOUNT_VALUE"],
377 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"],
378 false
379 )
380 );
381 }
382
383 $arCells[++$n] = array(
384 1 => null,
385 null,
386 null,
387 null,
388 null,
389 "Total:",
391 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["SHOULD_PAY"],
392 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"],
393 false
394 )
395 );
396}
397
398?>
399<table class="it" width="100%">
400 <tr>
401 <td><nobr>#</nobr></td>
402 <td><nobr>Artculo / Descripcin</nobr></td>
403 <td><nobr>Cant</nobr></td>
404 <td><nobr>Unidades</nobr></td>
405 <td><nobr>Precio unitario</nobr></td>
406 <? if ($vat > 0) { ?>
407 <td><nobr>Tasa impositiva</nobr></td>
408 <? } ?>
409 <td><nobr>Total</nobr></td>
410 </tr>
411<?
412
414for ($n = 1; $n <= $rowsCnt; $n++)
415{
416 $accumulated = 0;
417
418?>
419 <tr valign="top">
420 <? if (!is_null($arCells[$n][1])) { ?>
421 <td align="center"><?=$arCells[$n][1]; ?></td>
422 <? } else {
423 $accumulated++;
424 } ?>
425 <? if (!is_null($arCells[$n][2])) { ?>
426 <td align="left"
427 style="word-break: break-word; word-wrap: break-word; <? if ($accumulated) {?>border-width: 0pt 1pt 0pt 0pt; <? } ?>"
428 <? if ($accumulated) { ?>colspan="<?=($accumulated+1); ?>"<? $accumulated = 0; } ?>>
429 <?=$arCells[$n][2]; ?>
430 <? if (isset($arProps[$n]) && is_array($arProps[$n])) { ?>
431 <? foreach ($arProps[$n] as $property) { ?>
432 <br>
433 <small><?=$property; ?></small>
434 <? } ?>
435 <? } ?>
436 </td>
437 <? } else {
438 $accumulated++;
439 } ?>
440 <? for ($i = 3; $i <= 7; $i++) { ?>
441 <? if (!is_null($arCells[$n][$i])) { ?>
442 <? if ($i != 6 || $vat > 0 || is_null($arCells[$n][2])) { ?>
443 <td align="right"
444 <? if ($accumulated) { ?>
445 style="border-width: 0pt 1pt 0pt 0pt"
446 colspan="<?=(($i == 6 && $vat <= 0) ? $accumulated : $accumulated+1); ?>"
447 <? $accumulated = 0; } ?>>
448 <nobr><?=$arCells[$n][$i]; ?></nobr>
449 </td>
450 <? }
451 } else {
452 $accumulated++;
453 }
454 } ?>
455 </tr>
456<?
457
458}
459
460?>
461</table>
462<br>
463<br>
464<br>
465<br>
466
467<? if (CSalePaySystemAction::GetParamValue("COMMENT1", false) || CSalePaySystemAction::GetParamValue("COMMENT2", false)) { ?>
468<b>Trminos y Condiciones</b>
469<br>
470 <? if (CSalePaySystemAction::GetParamValue("COMMENT1", false)) { ?>
471 <?=nl2br(HTMLToTxt(preg_replace(
472 array('#</div>\s*<div[^>]*>#i', '#</?div>#i'), array('<br>', '<br>'),
474 ), '', array(), 0)); ?>
475 <br>
476 <br>
477 <? } ?>
478 <? if (CSalePaySystemAction::GetParamValue("COMMENT2", false)) { ?>
479 <?=nl2br(HTMLToTxt(preg_replace(
480 array('#</div>\s*<div[^>]*>#i', '#</?div>#i'), array('<br>', '<br>'),
482 ), '', array(), 0)); ?>
483 <br>
484 <br>
485 <? } ?>
486<? } ?>
487
488<br>
489<br>
490<br>
491
492<? $bankAccNo = CSalePaySystemAction::GetParamValue("SELLER_BANK_ACCNO", false); ?>
493<? $bankRouteNo = CSalePaySystemAction::GetParamValue("SELLER_BANK_ROUTENO", false); ?>
494<? $bankSwift = CSalePaySystemAction::GetParamValue("SELLER_BANK_SWIFT", false); ?>
495
496<table class="sign" style="width: 100%; ">
497 <tr>
498 <td style="width: 50%; ">
499
500 <? if ($bankAccNo && $bankRouteNo && $bankSwift) { ?>
501
502 <b>Detalles bancarios</b>
503 <br>
504
505 <? if (CSalePaySystemAction::GetParamValue("SELLER_NAME", false)) { ?>
506 Nombre de la cuenta: <?=CSalePaySystemAction::GetParamValue("SELLER_NAME", false); ?>
507 <br>
508 <? } ?>
509
510 # de la Cuenta: <?=$bankAccNo; ?>
511 <br>
512
513 <? $bank = CSalePaySystemAction::GetParamValue("SELLER_BANK", false); ?>
514 <? $bankAddr = CSalePaySystemAction::GetParamValue("SELLER_BANK_ADDR", false); ?>
515 <? $bankPhone = CSalePaySystemAction::GetParamValue("SELLER_BANK_PHONE", false); ?>
516
517 <? if ($bank || $bankAddr || $bankPhone) { ?>
518 Nombre y direccin del banco: <? if ($bank) { ?><?=$bank; ?><? } ?>
519 <br>
520
521 <? if ($bankAddr) { ?>
522 <?=$bankAddr; ?>
523 <br>
524 <? } ?>
525
526 <? if ($bankPhone) { ?>
527 <?=$bankPhone; ?>
528 <br>
529 <? } ?>
530 <? } ?>
531
532 Nmero de enrutamiento del banco: <?=$bankRouteNo; ?>
533 <br>
534
535 SWIFT del banco: <?=$bankSwift; ?>
536 <br>
537 <? } ?>
538
539 </td>
540 <td style="width: 50%; ">
541
542 <? if (!$blank) { ?>
543 <div style="position: relative; "><?=CFile::ShowImage(
544 CSalePaySystemAction::GetParamValue("PATH_TO_STAMP", false),
545 160, 160,
546 'style="position: absolute; left: 30pt; "'
547 ); ?></div>
548 <? } ?>
549
550 <table style="width: 100%; position: relative; ">
551 <colgroup>
552 <col width="0">
553 <col width="100%">
554 </colgroup>
555 <? if (CSalePaySystemAction::GetParamValue("SELLER_DIR_POS", false)) { ?>
556 <? if (CSalePaySystemAction::GetParamValue("SELLER_DIR", false) || CSalePaySystemAction::GetParamValue("SELLER_DIR_SIGN", false)) { ?>
557 <? if (CSalePaySystemAction::GetParamValue("SELLER_DIR", false)) { ?>
558 <tr><td>&nbsp;</td></tr>
559 <tr>
560 <td colspan="2"><?=CSalePaySystemAction::GetParamValue("SELLER_DIR", false); ?></td>
561 </tr>
562 <? } ?>
563 <tr><td>&nbsp;</td></tr>
564 <tr>
565 <td><nobr><?=CSalePaySystemAction::GetParamValue("SELLER_DIR_POS", false); ?></nobr></td>
566 <td style="border-bottom: 1pt solid #000000; text-align: center; ">
567 <? if (!$blank && CSalePaySystemAction::GetParamValue("SELLER_DIR_SIGN", false)) { ?>
568 <span style="position: relative; ">&nbsp;<?=CFile::ShowImage(
569 CSalePaySystemAction::GetParamValue("SELLER_DIR_SIGN", false),
570 200, 50,
571 'style="position: absolute; margin-left: -75pt; bottom: 0pt; "'
572 ); ?></span>
573 <? } ?>
574 </td>
575 </tr>
576 <? } ?>
577 <? } ?>
578 <? if (CSalePaySystemAction::GetParamValue("SELLER_ACC_POS", false)) { ?>
579 <? if (CSalePaySystemAction::GetParamValue("SELLER_ACC", false) || CSalePaySystemAction::GetParamValue("SELLER_ACC_SIGN", false)) { ?>
580 <? if (CSalePaySystemAction::GetParamValue("SELLER_ACC", false)) { ?>
581 <tr><td>&nbsp;</td></tr>
582 <tr>
583 <td colspan="2"><?=CSalePaySystemAction::GetParamValue("SELLER_ACC", false); ?></td>
584 </tr>
585 <? } ?>
586 <tr><td>&nbsp;</td></tr>
587 <tr>
588 <td><nobr><?=CSalePaySystemAction::GetParamValue("SELLER_ACC_POS", false); ?></nobr></td>
589 <td style="border-bottom: 1pt solid #000000; text-align: center; ">
590 <? if (!$blank && CSalePaySystemAction::GetParamValue("SELLER_ACC_SIGN", false)) { ?>
591 <span style="position: relative; ">&nbsp;<?=CFile::ShowImage(
592 CSalePaySystemAction::GetParamValue("SELLER_ACC_SIGN", false),
593 200, 50,
594 'style="position: absolute; margin-left: -75pt; bottom: 0pt; "'
595 ); ?></span>
596 <? } ?>
597 </td>
598 </tr>
599 <? } ?>
600 <? } ?>
601 </table>
602
603 </td>
604 </tr>
605</table>
606
607</div>
608
609</body>
610</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
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
$delta
Определения prolog_main_admin.php:363
<? 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
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
$bankSwift
Определения html.php:594
if(CSalePaySystemAction::GetParamValue("DATE_PAY_BEFORE", false)) $dbBasket
Определения html.php:162
if(!empty($sellerData)) $bankAccNo
Определения html.php:591
$bank
Определения html.php:595
if(CSalePaySystemAction::GetParamValue('BACKGROUND', false)) $margin
Определения html.php:61
$pageHeight
Определения html.php:25
$vat
Определения template.php:273
$bankRouteNo
Определения template.php:566
$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
$GLOBALS['_____370096793']
Определения update_client.php:1
$n
Определения update_log.php:107
$blank
Определения template_pdf.php:11
$vatRates
Определения yandex_detail.php:156