{config_load file="$language.conf" section="view_orders_summary"}
    <!--

  {#turnover#} {$turnover}
{$number_of_orders}
<br/>---
<br/>

  {#last_order#}

  {if $order->info.order_id} {#order_id#} #{$order->info.order_id}
  {if $order->info.date_purchased}
  ({$order->info.date_purchased})
  {/if}
  {/if}

  {if $order->info.last_modified}
  {#change_date#}
  {$order->info.last_modified}
  {/if}

  {assign var=temp value=$order->info.orders_status}

  {if $temp}
  {#order_status#} {$order_statuses.$temp}
  {/if}

  {if $order->totals[0].value}
  {#order_turnover#} {$order->totals[0].text}
  {/if}

  {if $number_of_products}
  {#number_of_products#}{$order->number_of_products}
  {/if}

-->
    
    
{config_load file="$language.conf" section="orders"}
{foreach from=$orders item=order name=orders}
<div style="border-bottom: 1px solid #e9e9e9; padding-top: 7px; padding-bottom: 7px;cursor: pointer;
" onClick="return openBeezDeskDialog('{$LA_CONTEXT_VIEW_URL}&view_page=details&order_id={$order.order.order_id}')">
  <div style="width: 165px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline;
        float: right;
        ">
    <abbr class="timeago" style="float: right" title="{$order.date_purchased}">{$order.date_purchased_short}</abbr>
    #{$order.orders_id} {$order.orders_profiling}
    <br style="clear: right"/>
    <div style="float: right">
      {$order.order_price}
    </div>
    {$order.orders_status_name}

    <!--{$order.amount_articles} {#text_products#}-->
  </div>

  <img src="{$module_path}icon_36.png" class="icon {if $order.info.order_usage_cnt > 0}highlighted_green{elseif $order.info.order_appliable_by_customer}highlighted{/if}" style="width: 24px; {if $order.info.order_expired}opacity: 0.5{/if}" alt="{$order.order.module}">

</div>

{if $smarty.foreach.orders.last}
  {if $more_orders > 0}
    <div style="cursor: pointer; font: inherit" onclick="return openBeezDeskDialog('{$LA_CONTEXT_VIEW_URL}');">
    + {$more_orders} {if $more_orders > 1}{#more_orders#}{else}{#more_order#}{/if}
    </div>
  {/if}
{/if}
{foreachelse}

<p><br>{#no_order#}</p>

{/foreach}
    