[tmp page_title]__COMPANY__ -- [L]Order History[/L][/tmp] [tmp members_only]1[/tmp] [tmp display_class]leftonly[/tmp] [control reset=1] [control-set] [component]product_tree[/component] [show_categories]1[/show_categories] [output]left[/output] [/control-set] [control-set] [component]cart_tiny[/component] [/control-set] [control reset=1] @_TOP_@ [wdisplay]

[L]Date[/L] | [L]Order ID[/L] | [L]Qty[/L] | [L]Payment Method[/L] | [L]Subtotal[/L] | [L]Shipping[/L] | [L]TOTAL[/L] | [L]Status[/L]
--- | --- | --- | --- | --- | --- | --- | ---
[query list=1 sql="select * from transactions where username = '[data session username]' order by order_date"]
[convert-date fmt="%B %e, %Y %H:%M"][sql-param order_date][/convert-date] | [sql-param order_number] | [sql-param nitems] | [sql-param payment_method] | [currency][sql-param subtotal][/currency] | [currency][sql-param shipping][/currency] [if-sql-param handling > 0] (handling [sql-param handling]) [/if-sql-param] | [currency][sql-param total_cost][/currency] | [display table=transactions type=display col=status key="[sql-code]" applylocale=1]
[/query]

@_BOTTOM_@