{if $ordered_products} {assign var=any_product_exists value=false}
{assign var=columns_count value=5} {assign var=total_qty value=0} {if $may_cancel} {assign var=columns_count value=$columns_count+1} {/if} {if $CONFIG.modules.prod_options.avail eq 'Y'} {assign var=columns_count value=$columns_count+1} {/if} {foreach from=$ordered_products item=product name=ordered_prods} {if $smarty.foreach.ordered_prods.index % 2 ne 0} {assign var=class value="row"} {else} {assign var=class value="row dark"} {/if} {if $may_cancel} {/if} {if $CONFIG.modules.prod_options.avail eq 'Y'} {/if} {assign var=total_qty value=$total_qty+$product.product_qty} {/foreach} {if $order_info.discount_per gt 0} {/if} {if $CONFIG.modules.shippings.avail eq 'Y' or $order_info.discount_per gt 0} {/if} {if $CONFIG.modules.shippings.avail eq 'Y'} {/if}
{$LABEL.lbl_designation} {$LABEL.lbl_sku}{$LABEL.lbl_options}{$LABEL.lbl_category} {if $order_info.tax gt 0}*{/if}{$LABEL.lbl_price}, {$SHOP_CURRENCY.short_name} {$LABEL.lbl_qty2}
{if $product.cancelled ne 'Y'} {else}   {/if} {if $product.prod_id > 0} {assign var=any_product_exists value=true} {$product.product_caption} {else} {$product.product_caption} {/if} {if $product.product_egood_pin_code and ($order_info.status_id eq 4 or $order_info.status_id eq 5)} ({$LABEL.lbl_pin_code|lower}: {$product.product_egood_pin_code}) {/if} {if $product.cancelled eq 'Y'}
({$LABEL.lbl_order_cancelled}) {/if}
{$product.product_sku|default:" "} {$product.product_options|default:" "} {if $product.cat_id > 0} {$product.product_cat} {else} {$product.product_cat} {/if} {$product.product_price} {$product.product_qty} {$product.product_unit}
{$LABEL.lbl_discount}{if $order_info.discount_coupon} ({$LABEL.lbl_including_coupon} {$order_info.discount_coupon}){/if}: {$order_info.discount_per} %  
{$LABEL.lbl_summary}: {$order_info.sum} {$total_qty} {$order_info.total_qty_unit}
{$LABEL.lbl_shipping_cost}{if $order_info.shipping_method} ({$order_info.shipping_method}){/if}: {$order_info.shipping_cost}  
{$LABEL.lbl_total_sum}: {$order_info.total_sum} {$total_qty} {$order_info.total_qty_unit}
{if $order_info.tax gt 0}

* {$LABEL.lbl_order_sums}

{/if}

{$LABEL.lbl_payment_method}: {$order_info.payment_method} {if $payment.name eq 'sberbank'} ({$LABEL.lbl_download_sberbank_receipt} {include file="_system_/helptip.html" id="sberbank_receipt" text=$LABEL.tip_download_sberbank_receipt}) {elseif $payment.name eq 'russian_bill'} ({$LABEL.link_print_bill}) {elseif $payment.name eq 'kupivkredit'} {include file="payments/kupivkredit/widget2.html"} ({$LABEL.link_credit_app}) {/if}

{if $order_info.comment} {$LABEL.lbl_comment}: {$order_info.comment} {/if} {if $may_cancel} {assign var='order_id' value=$order_info.id}

{include file="_system_/button.html" title=$LABEL.link_cancel_order_selected_prods disabled=true id="sv-order-`$order_id`-button-disabled"}

{/if} {if $any_product_exists}

{include file="_system_/button.html" js="AccountRepeatOrder(`$order_info.id`);" title=$LABEL.link_repeat_order}

{/if} {else}
{$LABEL.lbl_empty_list}
{/if}