{* $Id: orders.tpl,v 1.19.2.5 2003/03/28 13:59:24 svowl Exp $ *}
{ include file="location.tpl" last_location=$lng.lbl_search_orders }
{assign var="total" value="0"}
{assign var="total_paid" value="0"}
{$lng.txt_search_orders_header}
{$lng.lbl_status_codes}:
I - {$lng.lbl_not_finished},
Q - {$lng.lbl_queued},
P - {$lng.lbl_processed},
B - {$lng.lbl_backordered},
D - {$lng.lbl_declined},
F - {$lng.lbl_failed},
C - {$lng.lbl_complete}.
{capture name=dialog}
{if $smarty.get.mode eq "deleted"}
{$lng.lbl_all_orders_deleted}
{elseif $smarty.server.QUERY_STRING ne "" and $items_count ge "0"}
{if $items_count gt "1"}
{$total_items} {$lng.lbl_orders_found}
{$lng.lbl_displaying}: {$first_item} - {$last_item} {$lng.lbl_orders}
{else}
{$items_count} {$lng.lbl_orders_found}
{/if}
{/if}
{if $orders ne ""}
{capture name=dialog} { include file="customer/main/navigation.tpl" }
{ include file="customer/main/navigation.tpl" } {/capture} {include file="dialog.tpl" title=$lng.lbl_search_results content=$smarty.capture.dialog extra="width=100%"} {/if}