{* 90f887473f85a3590756e3235f64ed48131fe383, v9 (xcart_4_7_6), 2016-05-18 10:43:45, orders_list.tpl, aim vim: set ts=2 sw=2 sts=2 et: *} {assign var="total" value=0.00} {assign var="total_paid" value=0.00} {capture name=dialog} {if $mode eq "search"}
{if $total_items gte "1"} {$lng.txt_N_results_found|substitute:"items":$total_items}, {$lng.txt_displaying_X_Y_results|substitute:"first_item":$first_item:"last_item":$last_item} {else} {$lng.txt_N_results_found|substitute:"items":0} {/if}
{/if} {include file="customer/main/navigation.tpl" bottom=true noswitcher=true} {include file="customer/check_all_row.tpl" form="processorderform" prefix="orderids"}
{foreach from=$orders item=order name=orders} {inc value=$total inc=$order.total assign="total"} {if $order.status eq "P" or $order.status eq "C"} {inc value=$total_paid inc=$order.total assign="total_paid"} {/if} {/foreach}
  {include file="customer/table_head_cell.tpl" url="orders.php?mode=search" column="orderid" title="#"} {include file="customer/table_head_cell.tpl" url="orders.php?mode=search" column="status" title=$lng.lbl_status} {include file="customer/table_head_cell.tpl" url="orders.php?mode=search" column="date" title=$lng.lbl_date} {include file="customer/table_head_cell.tpl" url="orders.php?mode=search" column="total" title=$lng.lbl_total}
#{$order.orderid} {include file="main/order_status.tpl" status=$order.status mode="static"} {if $active_modules.Stop_List and $order.blocked eq 'Y'} {$lng.lbl_blocked|wm_remove}:{$order.ip} {/if} {$order.date|date_format:$config.Appearance.datetime_format} {currency value=$order.total}
{$lng.lbl_gross_total}: {currency value=$total}
{$lng.lbl_total_paid}: {currency value=$total_paid}
{include file="customer/main/navigation.tpl" bottom=true noswitcher=true} {include file="customer/buttons/button.tpl" button_title=$lng.lbl_invoices_for_selected|capitalize href="javascript: if (!checkMarks(document.processorderform, new RegExp('orderids\[[0-9]+\]', 'gi'))) return false; document.processorderform.target = 'invoices'; submitForm(this, 'invoice'); document.processorderform.target = '';" additional_button_class="btn-light border mb-1" button_fa_icon="print"} {include file="customer/buttons/button.tpl" button_title=$lng.lbl_search_again|capitalize href="orders.php" additional_button_class="btn-light border mb-1" button_fa_icon="search"}
{/capture} {include file="customer/dialog.tpl" title=$lng.lbl_search_results|capitalize content=$smarty.capture.dialog heading="1" icon="search"}