{include header.html}
{include map.html}
{include account/sidebar.html}

{$html_title} #{$order['order_sn']} ({$order_status[$order['status']]})

{L:OrderID}:{$order['order_sn']} {L:Add time}:{$order['time']}
{L:Goods amount}:{$order['symbol']}{$order['goods_amount']} {L:Tax}:{$order['symbol']}{$order['tax_fee']}
{L:Shipping}:{$order['symbol']}{$order['shipping_fee']} {L:Total}:{$order['symbol']}{$order['total_amount']}
{L:Shipping method}:{$order['shipping_method']} {L:Payment method}:{$order['payment_method']}

{L:Shipping address}:

{$order['shipping_address']['firstname']} {$order['shipping_address']['lastname']}
{$order['shipping_address']['phone']}
{$order['shipping_address']['address']}
{if $order['shipping_address']['address2']}{$order['shipping_address']['address2']}
{/if} {$order['shipping_address']['postcode']} {$order['shipping_address']['state']} {$order['shipping_address']['country']}

{L:Billing address}:

{$order['billing_address']['firstname']} {$order['billing_address']['lastname']}
{$order['billing_address']['phone']}
{$order['billing_address']['address']}
{if $order['billing_address']['address2']}{$order['billing_address']['address2']}
{/if} {$order['billing_address']['postcode']} {$order['billing_address']['state']} {$order['billing_address']['country']}

{L:Goods}:

{foreach $order['goods'] as $v} {/foreach}
{L:Goods name} {L:Price} {L:Quantity} {L:Subtotal} {L:Shipping number}
{$v['goods_name']} {eval $options = json_decode($v['options'], true);} {if $options} {foreach $options as $op}
{$op['name']}:{$op['value']}
{/foreach} {/if}
{$order['symbol']}{$v['price']} {$v['quantity']} {$order['symbol']}{$v['subtotal']} {$v['shipping']}

{L:Order status}:

{foreach $order['status_list'] as $v} {/foreach}
{L:Status} {L:Remark} {L:Time}
{$order_status[$v['status']]} {$v['remark']} {$v['time']}
{L:Back}
{include footer.html}