{$meta_title}
{if $order_history ne 0}
{$smarty.const.ADMIN_PRODUCT_NAME} |
{$smarty.const.TABLE_PRODUCT_COST} |
{$smarty.const.TABLE_PRODUCT_QUANTITY} |
{$smarty.const.TABLE_PRODUCT_SUMM} |
{foreach name=horder from=$order_history item=order}
{$order.name} |
{$smarty.const.CONF_CURRENCY_ID_LEFT}{$order.Price|print_price}{$smarty.const.CONF_CURRENCY_ID_RIGHT} |
{$order.Quantity} |
{math assign="total" equation="x * y" x=$order.Price y=$order.Quantity}{$smarty.const.CONF_CURRENCY_ID_LEFT}{$total|print_price}{$smarty.const.CONF_CURRENCY_ID_RIGHT} |
{/foreach}
{elseif $history}
{$smarty.const.STRING_ORDER_ID} |
{$smarty.const.TABLE_ORDER_TIME} |
|
{$smarty.const.TABLE_ORDER_TOTAL} |
{foreach name=horder from=$history item=order}
{$order.orderID} |
{$order.order_time} |
|
{$order.summ} |
{/foreach}
{else}
Заказов нет!
{/if}