<td> <?php echo htmlspecialcharsbx($arBasket["NAME"]); ?> <?php if (is_array($arBasket["PROPS"]) && $_GET["PROPS_ENABLE"] == "Y") { foreach ($arBasket["PROPS"] as $vv) { if (strlen($vv["VALUE"]) > 0 && $vv["CODE"] != "CATALOG.XML_ID" && $vv["CODE"] != "PRODUCT.XML_ID") { echo "<div style=\"font-size:8pt\">" . $vv["NAME"] . ": " . $vv["VALUE"] . "</div>"; } } } ?> </td> <td align="center"><?php echo Bitrix\Sale\BasketItem::formatQuantity($arQuantities[$i]); ?> </td> <td align="right" nowrap><?php echo number_format($arBasket["PRICE"], 2, ',', ' '); ?> </td> <td align="right" nowrap><?php echo number_format($arBasket["PRICE"] * $arQuantities[$i], 2, ',', ' '); ?> </td> </tr> <?php $total_sum += $arBasket["PRICE"] * $arQuantities[$i]; $total_nds += $nds_val * $arQuantities[$i]; $i++;
} elseif (!$bUseVat) { $basket_tax = CSaleOrderTax::CountTaxes($b_AMOUNT, $arTaxList, $arOrder["CURRENCY"]); for ($i = 0; $i < count($arTaxList); $i++) { if ($arTaxList[$i]["IS_IN_PRICE"] == "Y") { $item_price -= $arTaxList[$i]["TAX_VAL"]; } } $nds_val = DoubleVal($iNds > -1 ? $arTaxList[$iNds]["TAX_VAL"] : 0); $taxRate = $iNds > -1 ? $arTaxList[$iNds]["VALUE"] : 0; } $total_nds += $nds_val * $arBasket["QUANTITY"]; ?> <tr class="tablebodyrow"> <td class="tablebodycol" valign="top" align="right"> <?php echo Bitrix\Sale\BasketItem::formatQuantity($arBasket["QUANTITY"]); ?> x </td> <td class="tablebodycol" valign="top"> <?php echo "[" . $arBasket["PRODUCT_ID"] . "] " . $arBasket["NAME"]; ?> </td> <td class="tablebodycol" align="right" valign="top"> <b><?php echo SaleFormatCurrency($item_price, $arOrder["CURRENCY"]); ?> </b> </td> <td class="tablebodycol" align="right" valign="top">
margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;text-align:center; line-height:133%'> </p> </td> <td valign=top style='width:40.0pt;border:solid windowtext 1.0pt; border-left:none;padding:0cm 2.0pt 0cm 2.0pt;height:11.0pt'> <p class=Normal align=center style='margin-top:1.0pt;margin-right:0cm; margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;text-align:center; line-height:133%'> </p> </td> <td valign=top style='width:40.0pt;border:solid windowtext 1.0pt; border-left:none;padding:0cm 2.0pt 0cm 2.0pt;height:11.0pt'> <p class=Normal align=center style='margin-top:1.0pt;margin-right:0cm; margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;text-align:center; line-height:133%'><?php echo Bitrix\Sale\BasketItem::formatQuantity($total_n); ?> </p> </td> <td valign=top style='width:60.0pt;border:solid windowtext 1.0pt; border-left:none;padding:0cm 2.0pt 0cm 2.0pt;height:11.0pt'> <p class=Normal align=center style='margin-top:1.0pt;margin-right:0cm; margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;text-align:center; line-height:133%'>X</p> </td> <td valign=top style='width:60.0pt;border:solid windowtext 1.0pt; border-left:none;padding:0cm 2.0pt 0cm 2.0pt;height:11.0pt'> <p class=Normal align=center style='margin-top:1.0pt;margin-right:0cm; margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;text-align:center; line-height:133%'><?php echo number_format($total_price, 2, ',', ' ');