1<?
if (!defined(
"B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !==
true)
die();?><!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
2<?
if (!defined(
"B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !==
true)
die();?><!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
3<html xmlns:v=
"urn:schemas-microsoft-com:vml"
4xmlns:o=
"urn:schemas-microsoft-com:office:office"
5xmlns:w=
"urn:schemas-microsoft-com:office:word"
6xmlns=
"http://www.w3.org/TR/REC-html40">
9<meta
http-equiv=Content-Type content=
"text/html; charset=<?=LANG_CHARSET?>">
13.header{font-
size:17px; font-family:Tahoma;padding-
left:8px;}
14.sub_header{font-
size:13px; font-family:Tahoma;padding-
left:8px;}
15.date{font-
style:italic; font-family:Tahoma;padding-
left:8px;}
16.number{font-
size:24px;font-family:Tahoma;font-
style:italic;padding-
left:8px;}
17.user{font-
size:12px;font-family:Tahoma;font-weight:bold;padding-
left:8px;}
18.summa{font-
size:12px;font-family:Tahoma;font-weight:bold;padding-
left:15px;}
25 border:0.5pt solid windowtext;
31<body bgcolor=white
lang=RU
style=
'tab-interval:35.4pt'>
36<table
height=
"920" align=
"center" border=
"0" cellpadding=
"0" cellspacing=
"0">
39 <!-- Верхний колонтитул
height=
"109" -->
44 <table cellpadding=
"0" cellspacing=
"0" border=
"0" width=
"595" align=
"center">
45 <tr><td><br><br></td></tr>
47 <td
width=
"180"><font
class=
"header">ТОВАРНЫЙ ЧЕК №</font></td>
48 <td
style=
"border-bottom : 1px solid Black;" nowrap>
49 <font
class=
"number"><?echo $arOrder[
"ACCOUNT_NUMBER"];?></font>
50 <!--- <input
size=
"30" style=
"border:1px;font-size:24px;font-style:italic;" type=
"text" value=
"<?echo $page;?>">-->
56 <td
width=
"180"><font
class=
"sub_header">ДАТА:</font></td>
57 <td
style=
"border-bottom : 1px solid Black;">
58 <input
class=
"date" size=
"30" style=
"border:0px solid #000000;" type=
"text" value=
"<?echo $arOrder["DATE_INSERT_FORMAT
"];?>">
64 <td
width=
"180"><font
class=
"sub_header">КОМУ:</font></td>
65 <td
style=
"border-bottom : 1px solid Black;">
77 <input
class=
"user" size=
"50" style=
"border:0px solid #000000;" type=
"text" value=
"<?=$userName?> ">
82 <tr><td><br></td></tr>
87 if (
count($arBasketIDs)>0)
94 <td
align=
"center">№</td>
95 <td
align=
"center">Наименование</td>
96 <td
align=
"center">Количество</td>
104 for (
$i = 0, $countBasketIds =
count($arBasketIDs);
$i < $countBasketIds;
$i++)
108 if (floatval($arBasketTmp[
"VAT_RATE"]) > 0 )
111 $priceTotal += $arBasketTmp[
"PRICE"]*$arBasketTmp[
"QUANTITY"];
113 $arBasketTmp[
"PROPS"] =
array();
114 if (isset($_GET[
"PROPS_ENABLE"]) && $_GET[
"PROPS_ENABLE"] ==
"Y")
117 array(
"SORT" =>
"ASC",
"NAME" =>
"ASC"),
118 array(
"BASKET_ID" => $arBasketTmp[
"ID"]),
121 array(
"ID",
"BASKET_ID",
"NAME",
"VALUE",
"CODE",
"SORT")
123 while ($arBasketProps = $dbBasketProps->GetNext())
124 $arBasketTmp[
"PROPS"][$arBasketProps[
"ID"]] = $arBasketProps;
131 if (floatval($arOrder[
"DISCOUNT_VALUE"]) > 0)
159 if (floatval($arQuantities[
$i]) <= 0)
160 $arQuantities[
$i] = DoubleVal($arBasket[
"QUANTITY"]);
162 $b_AMOUNT = DoubleVal($arBasket[
"PRICE"]);
167 if(DoubleVal($arBasket[
"VAT_RATE"]) > 0)
171 $taxRate = $arBasket[
"VAT_RATE"]*100;
188 <td><?echo
$i+1;?></td>
192 if (is_array($arBasket[
"PROPS"]) && $_GET[
"PROPS_ENABLE"] ==
"Y")
194 foreach($arBasket[
"PROPS"] as $vv)
196 if($vv[
"VALUE"] <>
'' && $vv[
"CODE"] !=
"CATALOG.XML_ID" && $vv[
"CODE"] !=
"PRODUCT.XML_ID")
197 echo
"<div style=\"font-size:8pt\">".$vv[
"NAME"].
": ".$vv[
"VALUE"].
"</div>";
207 if (empty($arBasket[
'SET_PARENT_ID']))
217 <td
align=
"right" colspan=
"4">
220 <td
align=
"right" nowrap>
226 if (
$bUseVat || $arOrder[
'DELIVERY_VAT_RATE'] <= 0)
233 <td
align=
"right" colspan=
"4">
235 if ($ar_tax_list[
"IS_IN_PRICE"]==
"Y")
240 if ($ar_tax_list[
"IS_PERCENT"]==
"Y")
242 echo
" (".(int)$ar_tax_list[
"VALUE"].
"%)";
246 <td
align=
"right" nowrap>
256 <td
align=
"right" colspan=
"4">
257 Итого (без стоимости доставки):
259 <td
align=
"right" nowrap>
static formatQuantity($quantity)
static CountTaxes($Price, &$arTaxList, $DefCurrency)
static CurrencyFormat($price, $currency, $useTemplate=true)
static GetCurrencyFormat($currency, $lang=LANGUAGE_ID)
static GetPropsList($arOrder=array(), $arFilter=array(), $arGroupBy=false, $arNavStartParams=false, $arSelectFields=array())
static GetList($arOrder=array("TAX_NAME"=> "ASC"), $arFilter=array(), $arGroupBy=false, $arNavStartParams=false, $arSelectFields=array())
CurrencyFormat($price, $currency)
hidden PROPERTY[<?=$propertyIndex?>][CODE]<?=htmlspecialcharsEx( $propertyCode)?> height
bx popup label bx width30 PAGE_NEW_MENU_NAME text width
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
<? 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
hidden mSiteList<?=htmlspecialcharsbx(serialize( $siteList))?><?=htmlspecialcharsbx( $siteList[ $j]["ID"])?> _Propery<? if(((COption::GetOptionString( $module_id, "different_set", "N")=="Y") &&( $j !=0))||(COption::GetOptionString( $module_id, "different_set", "N")=="N")) echo "display: none;"?> top adm detail content cell l top adm detail content cell r heading center center ID left
htmlspecialcharsbx($string, $flags=ENT_COMPAT, $doubleEncode=true)
global_menu_<?echo $menu["menu_id"]?> adm main menu item icon adm main menu item text text adm main menu hover adm submenu menucontainer menu_id menu_id items_id items_id desktop menu_id block none adm global submenu<?=($subMenuDisplay=="block" ? " adm-global-submenu-active" :"")?> global_submenu_<?echo $menu["menu_id"]?> text MAIN_PR_ADMIN_FAV items adm submenu items wrap adm submenu items stretch wrap BX adminMenu itemsStretchScroll()"> <table class if (!empty( $menu["items"])) elseif ( $menu[ 'menu_id']=='desktop') if ( $menu[ 'menu_id']=='desktop') endforeach
if( $daysToExpire >=0 &&$daysToExpire< 60 elseif)( $daysToExpire< 0)
<? endif;?> window document title
foreach($arBasketOrder as $arBasket) $taxRate
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
if($arParams["BUYER_PHONE"]<> '') echo "<br>Телефон<?=$currency;?></td><td nowrap align="center" style="border:1pt solid #000000;"> Сумма
</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."%"