{* $Id: orders_list.tpl,v 1.8.2.5.2.1 2012/10/21 12:58:56 aim Exp $ vim: set ts=2 sw=2 sts=2 et: *} {assign var="total" value=0.00} {assign var="total_paid" value=0.00} {if $orders ne ""} {capture name=dialog}
{include file="buttons/button.tpl" button_title=$lng.lbl_search_again href="orders.php"}
{include file="main/navigation.tpl"} {include file="main/check_all_row.tpl" form="processorderform" prefix="orderids"}
{assign var="colspan" value=6} {if $usertype eq "A" and $single_mode eq ""} {assign var="colspan" value=7} {/if} {section name=oid loop=$orders} {inc value=$total inc=$orders[oid].total assign="total"} {if $orders[oid].status eq "P" or $orders[oid].status eq "C"} {inc value=$total_paid inc=$orders[oid].total assign="total_paid"} {/if} {if $usertype eq "A" and $single_mode eq ""} {/if} {/section}
  {if $search_prefilled.sort_field eq "orderid"}{include file="buttons/sort_pointer.tpl" dir=$search_prefilled.sort_direction} {/if}# {if $search_prefilled.sort_field eq "status"}{include file="buttons/sort_pointer.tpl" dir=$search_prefilled.sort_direction} {/if}{$lng.lbl_status} {if $search_prefilled.sort_field eq "customer"}{include file="buttons/sort_pointer.tpl" dir=$search_prefilled.sort_direction} {/if}{$lng.lbl_customer}{if $search_prefilled.sort_field eq "provider"}{include file="buttons/sort_pointer.tpl" dir=$search_prefilled.sort_direction} {/if}{$lng.lbl_provider}{if $search_prefilled.sort_field eq "date"}{include file="buttons/sort_pointer.tpl" dir=$search_prefilled.sort_direction} {/if}{$lng.lbl_date} {if $search_prefilled.sort_field eq "total"}{include file="buttons/sort_pointer.tpl" dir=$search_prefilled.sort_direction} {/if}{$lng.lbl_total}
#{$orders[oid].orderid} {if $is_admin_user} {if $orders[oid].goid ne ""} {assign var="is_gcheckout_orders" value="1"} {include file="main/order_status.tpl" status=$orders[oid].status mode="select" name="order_status[`$orders[oid].orderid`]" extra="disabled='disabled' class='ui-state-disabled'"} {elseif $orders[oid].status_blocked} {include file="main/order_status.tpl" status=$orders[oid].status mode="select" name="order_status[`$orders[oid].orderid`]" extra="disabled='disabled' class='ui-state-disabled'"} {else} {include file="main/order_status.tpl" status=$orders[oid].status mode="select" name="order_status[`$orders[oid].orderid`]"} {/if} {else} {include file="main/order_status.tpl" status=$orders[oid].status mode="static"} {/if} {if $active_modules.Stop_List ne '' and $orders[oid].blocked eq 'Y'} {$lng.lbl_blocked}:{$orders[oid].ip} {/if} {if $is_admin_user and $current_membership_flag ne 'FS' and $orders[oid].existing_userid eq $orders[oid].userid} {$orders[oid].firstname|default:$orders[oid].b_firstname} {$orders[oid].lastname|default:$orders[oid].b_lastname} {else} {$orders[oid].firstname|default:$orders[oid].b_firstname} {$orders[oid].lastname|default:$orders[oid].b_lastname} {if $orders[oid].existing_userid ne $orders[oid].userid and $orders[oid].userid gt 0} {$lng.lbl_deleted} {elseif $orders[oid].userid eq 0} ({$lng.lbl_anonymous}) {/if} {/if} {include file="gmap.tpl" address=$orders[oid].gmap.address description=$orders[oid].gmap.description} {if $orders[oid].provider_login ne ''}{$orders[oid].provider_login}{elseif $orders[oid].provider gt 0} {$lng.lbl_deleted} ({$lng.lbl_userid}: {$orders[oid].provider}){else}{$lng.txt_not_available}{/if}{$orders[oid].date|date_format:$config.Appearance.datetime_format} {currency value=$orders[oid].total}
{$lng.lbl_gross_total}: {currency value=$total}
{$lng.lbl_total_paid}: {currency value=$total_paid}

{include file="main/navigation.tpl"} {if $is_admin_user and $is_gcheckout_orders eq "1"} {$lng.txt_gcheckout_order_list_status_note}

{/if} {if $is_admin_user}

{/if}      {if $usertype ne "C"}      {/if} {if $is_admin_user}      {/if} {if $active_modules.Shipping_Label_Generator ne '' and ($usertype eq 'A' or $usertype eq 'P')}


{$lng.txt_shipping_labels_note}

{/if} {if $usertype ne "C"}


{include file="main/subheader.tpl" title=$lng.lbl_export_orders} {$lng.txt_export_all_found_orders_text}

{$lng.lbl_export_file_format}:


    {/if}
{/capture} {include file="dialog.tpl" title=$lng.lbl_search_results content=$smarty.capture.dialog extra='width="100%"'} {/if}