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.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</style>
17</head>
18
19<?
20
21$pageWidth = 595.28;
22$pageHeight = 841.89;
23
24$background = '#ffffff';
26{
28 if (intval($path) > 0)
29 {
30 if ($arFile = CFile::GetFileArray($path))
31 $path = $arFile['SRC'];
32 }
33
34 $backgroundStyle = CSalePaySystemAction::GetParamValue('BACKGROUND_STYLE');
35 if (!in_array($backgroundStyle, array('none', 'tile', 'stretch')))
36 $backgroundStyle = 'none';
37
38 if ($path)
39 {
40 switch ($backgroundStyle)
41 {
42 case 'none':
43 $background = "url('" . $path . "') 0 0 no-repeat";
44 break;
45 case 'tile':
46 $background = "url('" . $path . "') 0 0 repeat";
47 break;
48 case 'stretch':
49 $background = sprintf(
50 "url('%s') 0 0 repeat-y; background-size: %.02fpt %.02fpt",
52 );
53 break;
54 }
55 }
56}
57
59 'top' => intval(CSalePaySystemAction::GetParamValue('MARGIN_TOP') ?: 15) * 72/25.4,
60 'right' => intval(CSalePaySystemAction::GetParamValue('MARGIN_RIGHT') ?: 15) * 72/25.4,
61 'bottom' => intval(CSalePaySystemAction::GetParamValue('MARGIN_BOTTOM') ?: 15) * 72/25.4,
62 'left' => intval(CSalePaySystemAction::GetParamValue('MARGIN_LEFT') ?: 20) * 72/25.4
63);
64
65$width = $pageWidth - $margin['left'] - $margin['right'];
66
67?>
68
69<body
70 style="margin: 0pt; padding: <?=join('pt ', $margin); ?>pt; width: <?=$width; ?>pt; background: <?=$background; ?>"
71 <? if ($_REQUEST['PRINT'] == 'Y') { ?>
72 onload="setTimeout(window.print, 0);"
73 <? } ?>
74>
75
78 0, 0,
79 'style="float: left; padding-right: 5pt; "'
80); ?>
81
82<div style="float: left; ">
83 <b><?=CSalePaySystemAction::GetParamValue("SELLER_NAME"); ?></b><br>
84 <? if (CSalePaySystemAction::GetParamValue("SELLER_ADDRESS")) { ?>
85 <b><?=CSalePaySystemAction::GetParamValue("SELLER_ADDRESS"); ?></b><br>
86 <? } ?>
87 <? if (CSalePaySystemAction::GetParamValue("SELLER_PHONE")) { ?>
88 <b><?=sprintf("Tel.: %s", CSalePaySystemAction::GetParamValue("SELLER_PHONE")); ?></b><br>
89 <? } ?>
90 <br>
91</div>
92<div style="clear: both; height: 5pt; "></div>
93
94<br>
95
96<div style="text-align: center; font-size: 2em"><b>Invoice</b></div>
97
98<br>
99<br>
100
101<table width="100%">
102 <tr>
103 <? if (CSalePaySystemAction::GetParamValue("BUYER_NAME")) { ?>
104 <td>
105 <b>To</b><br>
106 <?=CSalePaySystemAction::GetParamValue("BUYER_NAME"); ?><br>
107 <? if (CSalePaySystemAction::GetParamValue("BUYER_ADDRESS")) { ?>
108 <?=CSalePaySystemAction::GetParamValue("BUYER_ADDRESS"); ?>
109 <? } ?>
110 </td>
111 <? } ?>
112 <td align="right">
113 <table class="inv">
114 <tr align="right">
115 <td><b>Invoice #&nbsp;</b></td>
116 <td><?=htmlspecialcharsbx($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["ACCOUNT_NUMBER"]); ?></td>
117 </tr>
118 <tr align="right">
119 <td><b>Issue Date:&nbsp;</b></td>
120 <td><?=CSalePaySystemAction::GetParamValue("DATE_INSERT"); ?></td>
121 </tr>
122 <? if (CSalePaySystemAction::GetParamValue("DATE_PAY_BEFORE")) { ?>
123 <tr align="right">
124 <td><b>Due Date:&nbsp;</b></td>
125 <td><?=ConvertDateTime(CSalePaySystemAction::GetParamValue("DATE_PAY_BEFORE"), FORMAT_DATE); ?></td>
126 </tr>
127 <? } ?>
128 </table>
129 </td>
130 </tr>
131</table>
132
133<br>
134<br>
135<br>
136
137<?
138
140 array("NAME" => "ASC"),
141 array("ORDER_ID" => $ORDER_ID)
142);
143if ($arBasket = $dbBasket->Fetch())
144{
145 $arCells = array();
146 $arProps = array();
147
148 $n = 0;
149 $sum = 0.00;
150 $vat = 0;
151 $vats = array();
152 do
153 {
154 // props in busket product
155 $arProdProps = array();
156 $dbBasketProps = CSaleBasket::GetPropsList(
157 array("SORT" => "ASC", "ID" => "DESC"),
158 array(
159 "BASKET_ID" => $arBasket["ID"],
160 "!CODE" => array("CATALOG.XML_ID", "PRODUCT.XML_ID")
161 ),
162 false,
163 false,
164 array("ID", "BASKET_ID", "NAME", "VALUE", "CODE", "SORT")
165 );
166 while ($arBasketProps = $dbBasketProps->GetNext())
167 {
168 if (!empty($arBasketProps) && $arBasketProps["VALUE"] != "")
169 $arProdProps[] = $arBasketProps;
170 }
171 $arBasket["PROPS"] = $arProdProps;
172
173 // @TODO: replace with real vatless price
174 $arBasket["VATLESS_PRICE"] = roundEx($arBasket["PRICE"] / (1 + $arBasket["VAT_RATE"]), SALE_VALUE_PRECISION);
175
176 $arCells[++$n] = array(
177 1 => $n,
178 htmlspecialcharsbx($arBasket["NAME"]),
179 roundEx($arBasket["QUANTITY"], SALE_VALUE_PRECISION),
180 'pcs',
181 SaleFormatCurrency($arBasket["VATLESS_PRICE"], $arBasket["CURRENCY"], true),
182 roundEx($arBasket["VAT_RATE"]*100, SALE_VALUE_PRECISION) . "%",
184 $arBasket["VATLESS_PRICE"] * $arBasket["QUANTITY"],
185 $arBasket["CURRENCY"],
186 true
187 )
188 );
189
190 $arProps[$n] = array();
191 foreach ($arBasket["PROPS"] as $vv)
192 $arProps[$n][] = htmlspecialcharsbx(sprintf("%s: %s", $vv["NAME"], $vv["VALUE"]));
193
194 $sum += doubleval($arBasket["VATLESS_PRICE"] * $arBasket["QUANTITY"]);
195 $vat = max($vat, $arBasket["VAT_RATE"]);
196 if ($arBasket["VAT_RATE"] > 0)
197 {
198 if (!isset($vats[$arBasket["VAT_RATE"]]))
199 $vats[$arBasket["VAT_RATE"]] = 0;
200 $vats[$arBasket["VAT_RATE"]] += ($arBasket["PRICE"] - $arBasket["VATLESS_PRICE"]) * $arBasket["QUANTITY"];
201 }
202 }
203 while ($arBasket = $dbBasket->Fetch());
204
205 if (DoubleVal($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["PRICE_DELIVERY"]) > 0)
206 {
207 $arDelivery_tmp = CSaleDelivery::GetByID($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["DELIVERY_ID"]);
208
209 $sDeliveryItem = "Shipping";
210 if (strlen($arDelivery_tmp["NAME"]) > 0)
211 $sDeliveryItem .= sprintf(" (%s)", $arDelivery_tmp["NAME"]);
212 $arCells[++$n] = array(
213 1 => $n,
214 htmlspecialcharsbx($sDeliveryItem),
215 1,
216 '',
218 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["PRICE_DELIVERY"] / (1 + $vat),
219 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"],
220 true
221 ),
224 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["PRICE_DELIVERY"] / (1 + $vat),
225 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"],
226 true
227 )
228 );
229
230 $sum += roundEx(
231 doubleval($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["PRICE_DELIVERY"] / (1 + $vat)),
233 );
234
235 if ($vat > 0)
236 $vats[$vat] += roundEx(
237 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["PRICE_DELIVERY"] * $vat / (1 + $vat),
239 );
240 }
241
242 $items = $n;
243
244 if ($sum < $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["PRICE"])
245 {
246 $arCells[++$n] = array(
247 1 => null,
248 null,
249 null,
250 null,
251 null,
252 "Subtotal:",
253 SaleFormatCurrency($sum, $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"], true)
254 );
255 }
256
257 if (!empty($vats))
258 {
259 // @TODO: remove on real vatless price implemented
260 $delta = intval(roundEx(
261 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["PRICE"] - $sum - array_sum($vats),
263 ) * pow(10, SALE_VALUE_PRECISION));
264 if ($delta)
265 {
266 $vatRates = array_keys($vats);
267 rsort($vatRates);
268
269 while (abs($delta) > 0)
270 {
271 foreach ($vatRates as $vatRate)
272 {
273 $vats[$vatRate] += abs($delta)/$delta / pow(10, SALE_VALUE_PRECISION);
274 $delta -= abs($delta)/$delta;
275
276 if ($delta == 0)
277 break 2;
278 }
279 }
280 }
281
282 foreach ($vats as $vatRate => $vatSum)
283 {
284 $arCells[++$n] = array(
285 1 => null,
286 null,
287 null,
288 null,
289 null,
290 sprintf(
291 "Sales Tax (%s%%):",
292 roundEx($vatRate * 100, SALE_VALUE_PRECISION)
293 ),
295 $vatSum,
296 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"],
297 true
298 )
299 );
300 }
301 }
302 else
303 {
304 $dbTaxList = CSaleOrderTax::GetList(
305 array("APPLY_ORDER" => "ASC"),
306 array("ORDER_ID" => $ORDER_ID)
307 );
308
309 while ($arTaxList = $dbTaxList->Fetch())
310 {
311 $arCells[++$n] = array(
312 1 => null,
313 null,
314 null,
315 null,
316 null,
317 htmlspecialcharsbx(sprintf(
318 "%s%s%s:",
319 ($arTaxList["IS_IN_PRICE"] == "Y") ? "Included " : "",
320 $arTaxList["TAX_NAME"],
321 sprintf(' (%s%%)', roundEx($arTaxList["VALUE"],SALE_VALUE_PRECISION))
322 )),
324 $arTaxList["VALUE_MONEY"],
325 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"],
326 true
327 )
328 );
329 }
330 }
331
332 if (DoubleVal($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["SUM_PAID"]) > 0)
333 {
334 $arCells[++$n] = array(
335 1 => null,
336 null,
337 null,
338 null,
339 null,
340 "Payment made:",
342 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["SUM_PAID"],
343 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"],
344 true
345 )
346 );
347 }
348
349 if (DoubleVal($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["DISCOUNT_VALUE"]) > 0)
350 {
351 $arCells[++$n] = array(
352 1 => null,
353 null,
354 null,
355 null,
356 null,
357 "Discount:",
359 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["DISCOUNT_VALUE"],
360 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"],
361 true
362 )
363 );
364 }
365
366 $arCells[++$n] = array(
367 1 => null,
368 null,
369 null,
370 null,
371 null,
372 "Total:",
374 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["SHOULD_PAY"],
375 $GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"],
376 true
377 )
378 );
379}
380
381?>
382<table class="it" width="100%">
383 <tr>
384 <td><nobr>#</nobr></td>
385 <td><nobr>Item / Description</nobr></td>
386 <td><nobr>Qty</nobr></td>
387 <td><nobr>Units</nobr></td>
388 <td><nobr>Unit Price</nobr></td>
389 <? if ($vat > 0) { ?>
390 <td><nobr>Tax</nobr></td>
391 <? } ?>
392 <td><nobr>Total</nobr></td>
393 </tr>
394<?
395
397for ($n = 1; $n <= $rowsCnt; $n++)
398{
399 $accumulated = 0;
400
401?>
402 <tr valign="top">
403 <? if (!is_null($arCells[$n][1])) { ?>
404 <td align="center"><?=$arCells[$n][1]; ?></td>
405 <? } else {
406 $accumulated++;
407 } ?>
408 <? if (!is_null($arCells[$n][2])) { ?>
409 <td align="left"
410 <? if ($accumulated) {
411 ?> style="border-width: 0pt 1pt 0pt 0pt" colspan="<?=($accumulated+1); ?>"<? $accumulated = 0;
412 } ?>>
413 <?=$arCells[$n][2]; ?>
414 <? if (isset($arProps[$n]) && is_array($arProps[$n])) { ?>
415 <? foreach ($arProps[$n] as $property) { ?>
416 <br>
417 <small><?=$property; ?></small>
418 <? } ?>
419 <? } ?>
420 </td>
421 <? } else {
422 $accumulated++;
423 } ?>
424 <? for ($i = 3; $i <= 7; $i++) { ?>
425 <? if (!is_null($arCells[$n][$i])) { ?>
426 <? if ($i != 6 || $vat > 0 || is_null($arCells[$n][2])) { ?>
427 <td align="right"
428 <? if ($accumulated) { ?>
429 style="border-width: 0pt 1pt 0pt 0pt"
430 colspan="<?=(($i == 6 && $vat <= 0) ? $accumulated : $accumulated+1); ?>"
431 <? $accumulated = 0; } ?>>
432 <nobr><?=$arCells[$n][$i]; ?></nobr>
433 </td>
434 <? }
435 } else {
436 $accumulated++;
437 }
438 } ?>
439 </tr>
440<?
441
442}
443
444?>
445</table>
446<br>
447<br>
448<br>
449<br>
450
452<b>Terms & Conditions</b>
453<br>
454 <? if (CSalePaySystemAction::GetParamValue("COMMENT1")) { ?>
455 <?=nl2br(HTMLToTxt(preg_replace(
456 array('#</div>\s*<div[^>]*>#i', '#</?div>#i'), array('<br>', '<br>'),
458 ), '', array(), 0)); ?>
459 <br>
460 <br>
461 <? } ?>
462 <? if (CSalePaySystemAction::GetParamValue("COMMENT2")) { ?>
463 <?=nl2br(HTMLToTxt(preg_replace(
464 array('#</div>\s*<div[^>]*>#i', '#</?div>#i'), array('<br>', '<br>'),
466 ), '', array(), 0)); ?>
467 <br>
468 <br>
469 <? } ?>
470<? } ?>
471
472<br>
473<br>
474<br>
475
479
480<table class="sign" style="width: 100%; ">
481 <tr>
482 <td style="width: 50%; ">
483
484 <? if ($bankAccNo && $bankRouteNo && $bankSwift) { ?>
485
486 <b>Bank Details</b>
487 <br>
488
489 <? if (CSalePaySystemAction::GetParamValue("SELLER_NAME")) { ?>
490 Account Name: <?=CSalePaySystemAction::GetParamValue("SELLER_NAME"); ?>
491 <br>
492 <? } ?>
493
494 Account #: <?=$bankAccNo; ?>
495 <br>
496
497 <? $bank = CSalePaySystemAction::GetParamValue("SELLER_BANK"); ?>
498 <? $bankAddr = CSalePaySystemAction::GetParamValue("SELLER_BANK_ADDR"); ?>
499 <? $bankPhone = CSalePaySystemAction::GetParamValue("SELLER_BANK_PHONE"); ?>
500
501 <? if ($bank || $bankAddr || $bankPhone) { ?>
502 Bank Name and Address: <? if ($bank) { ?><?=$bank; ?><? } ?>
503 <br>
504
505 <? if ($bankAddr) { ?>
506 <?=$bankAddr; ?>
507 <br>
508 <? } ?>
509
510 <? if ($bankPhone) { ?>
511 <?=$bankPhone; ?>
512 <br>
513 <? } ?>
514 <? } ?>
515
516 Bank's routing number: <?=$bankRouteNo; ?>
517 <br>
518
519 Bank SWIFT: <?=$bankSwift; ?>
520 <br>
521 <? } ?>
522
523 </td>
524 <td style="width: 50%; ">
525
526 <div style="position: relative; "><?=CFile::ShowImage(
527 CSalePaySystemAction::GetParamValue("PATH_TO_STAMP"),
528 0, 0,
529 'style="position: absolute; left: 30pt; "'
530 ); ?></div>
531
532 <table style="width: 100%; position: relative; ">
533 <colgroup>
534 <col width="0">
535 <col width="100%">
536 </colgroup>
537 <? if (CSalePaySystemAction::GetParamValue("SELLER_DIR") || CSalePaySystemAction::GetParamValue("SELLER_DIR_SIGN")) { ?>
538 <? if (CSalePaySystemAction::GetParamValue("SELLER_DIR")) { ?>
539 <tr><td>&nbsp;</td></tr>
540 <tr>
541 <td colspan="2"><?=CSalePaySystemAction::GetParamValue("SELLER_DIR"); ?></td>
542 </tr>
543 <? } ?>
544 <? if (CSalePaySystemAction::GetParamValue("SELLER_DIR_SIGN")) { ?>
545 <tr><td>&nbsp;</td></tr>
546 <tr>
547 <td><nobr>The Director</nobr></td>
548 <td style="border-bottom: 1pt solid #000000; text-align: center; ">
549 <span style="position: relative; ">&nbsp;<?=CFile::ShowImage(
550 CSalePaySystemAction::GetParamValue("SELLER_DIR_SIGN"),
551 200, 50,
552 'style="position: absolute; margin-left: -75pt; bottom: 0pt; "'
553 ); ?></span>
554 </td>
555 </tr>
556 <? } ?>
557 <? } ?>
558 <? if (CSalePaySystemAction::GetParamValue("SELLER_ACC") || CSalePaySystemAction::GetParamValue("SELLER_ACC_SIGN")) { ?>
559 <? if (CSalePaySystemAction::GetParamValue("SELLER_ACC")) { ?>
560 <tr><td>&nbsp;</td></tr>
561 <tr>
562 <td colspan="2"><?=CSalePaySystemAction::GetParamValue("SELLER_ACC"); ?></td>
563 </tr>
564 <? } ?>
565 <? if (CSalePaySystemAction::GetParamValue("SELLER_ACC_SIGN")) { ?>
566 <tr><td>&nbsp;</td></tr>
567 <tr>
568 <td><nobr>The Accountant</nobr></td>
569 <td style="border-bottom: 1pt solid #000000; text-align: center; ">
570 <span style="position: relative; ">&nbsp;<?=CFile::ShowImage(
571 CSalePaySystemAction::GetParamValue("SELLER_ACC_SIGN"),
572 200, 50,
573 'style="position: absolute; margin-left: -75pt; bottom: 0pt; "'
574 ); ?></span>
575 </td>
576 </tr>
577 <? } ?>
578 <? } ?>
579 </table>
580
581 </td>
582 </tr>
583</table>
584
585</body>
586</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 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
$vatRates
Определения yandex_detail.php:156