{if !$order_detailed} {* new orders list *}

{$smarty.const.ADMIN_ABOUT_PRICES}

:
{if $order_statuses}
: {section name=i loop=$order_statuses}
{/section}
{/if}

{if $orders} {if $offset} {/if} {if $show_all} {/if} {if $navigator} {/if} {section name=i loop=$orders} {/section}
{$navigator}
{$orders[i].orderID} {$orders[i].order_time} {$orders[i].billing_firstname}
{$orders[i].billing_lastname}
{if $orders[i].customerID} ( {$smarty.const.ADMIN_ABOUT_CUSTOMER} ) {/if}
{$orders[i].payment_type} {$orders[i].shipping_type}{if $orders[i].shippingServiceInfo} ({$orders[i].shippingServiceInfo}){/if} {$orders[i].order_amount} {$orders[i].OrderStatus}

{else} {if $order_search_type != null}

{$smarty.const.STRING_ORDERS_ARE_NOT_SEARCHED} {/if} {/if} {else}

{if $urlToReturn} << {$smarty.const.ADMIN_ORDER_LIST_GO_BACK} {/if}

{$smarty.const.STRING_ORDER} #{$order.orderID}

{if $orderContent} {else} {/if} {if $order_status_report} {/if} {if $order.statusID == $cancledOrderStatus} {/if}

{$smarty.const.STRING_ORDER}

{$smarty.const.STRING_PAYMENT_TYPE}

{$smarty.const.STRING_SHIPPING_TYPE}

{section name=i loop=$order.reg_fields_values} {/section} {if $order.customers_comment} {/if}
{$smarty.const.ADMIN_ORDER_NUMBER}: {$order.orderID}
{$smarty.const.TABLE_ORDER_TIME}: {$order.order_time}
{$smarty.const.TABLE_CUSTOMER}: {$order.customer_firstname|replace:"<":"<"} {$order.customer_lastname|replace:"<":"<"}
{$smarty.const.CUSTOMER_EMAIL} {if $smarty.const.CONF_BACKEND_SAFEMODE eq 0}{$order.customer_email|replace:"<":"<"}{else}{$smarty.const.ADMIN_SAFEMODE_BLOCKED}{/if}
{$order.reg_fields_values[i].reg_field_name}: {$order.reg_fields_values[i].reg_field_value|replace:"<":"<"}
{$smarty.const.ADMIN_IP_ADDRESS}: {$order.customer_ip}
{$smarty.const.STRING_ORDER_STATUS}: {$order.status_name}
{$smarty.const.TABLE_ORDER_COMMENTS}: {$order.customers_comment|replace:"<":"<"}
{if $order.cc_number || $order.cc_holdername || $order.cc_expires || $order.cc_expires} {if $https_connection_flag} {else} {/if} {/if}
{$smarty.const.STRING_PAYMENT_TYPE}: {$order.payment_type}
{$smarty.const.ADMIN_PAYER}: {$order.billing_firstname|replace:"<":"<"} {$order.billing_lastname|replace:"<":"<"}
{$smarty.const.STRING_BILLING_ADDRESS}:
{if $order.billing_address ne ""}{$order.billing_address|replace:"<":"<"}
{/if} {if $order.billing_city ne ""}{$order.billing_city|replace:"<":"<"}{/if} {if $order.billing_state ne ""}{$order.billing_state|replace:"<":"<"}{/if} {if $order.billing_zip ne ""}{$order.billing_zip|replace:"<":"<"}
{/if}{if $order.billing_country ne ""}{$order.billing_country|replace:"<":"<"}{/if}
{$smarty.const.ADMIN_CC_INFO}
{$smarty.const.ADMIN_CC_NUMBER}: {$order.cc_number|replace:"<":"<"}
{$smarty.const.ADMIN_CC_HOLDER_NAME}: {$order.cc_holdername|replace:"<":"<"}
{$smarty.const.ADMIN_CC_EXPIRES}: {$order.cc_expires|replace:"<":"<"}
{$smarty.const.ADMIN_CC_CVV}: {$order.cc_cvv|replace:"<":"<"}
{$smarty.const.ADMIN_INFO_CAN_BE_SHOWN_WHEN_HTTPS_IS_USED}
{$smarty.const.STRING_SHIPPING_TYPE}: {$order.shipping_type} {if $order.shippingServiceInfo}({$order.shippingServiceInfo}){/if}
{$smarty.const.STRING_RECEIVER}: {$order.shipping_firstname|replace:"<":"<"} {$order.shipping_lastname|replace:"<":"<"}
{$smarty.const.STRING_SHIPPING_ADDRESS}:
{if $order.shipping_address ne ""}{$order.shipping_address|replace:"<":"<"}
{/if} {if $order.shipping_city ne ""}{$order.shipping_city|replace:"<":"<"}{/if} {if $order.shipping_state ne ""}{$order.shipping_state|replace:"<":"<"}{/if} {if $order.shipping_zip ne ""}{$order.shipping_zip|replace:"<":"<"}
{/if}{if $order.shipping_country ne ""}{$order.shipping_country|replace:"<":"<"}{/if}

{$smarty.const.ADMIN_ORDERED_PRODUCTS}

{section name=i loop=$orderContent} {/section}
{$orderContent[i].name} {$orderContent[i].Quantity} {if $orderContent[i].tax != null} {$orderContent[i].tax} % {/if} {$orderContent[i].PriceToShow}
< {$smarty.const.ADMIN_NO_RECORD_FOUND} >
{$smarty.const.STRING_PRED_TOTAL}: {$order.clear_total_priceToShow}
{$smarty.const.ADMIN_DISCOUNT}: {$order.order_discount}
{$smarty.const.ADMIN_SHIPPING_COST}: {$order.shipping_costToShow}
{$smarty.const.TABLE_TOTAL} {$order.order_amountToShow}

{$smarty.const.ADMIN_ORDER_EXECUTING}

{section name=i loop=$order_status_report} {/section}
{$order_status_report[i].status_change_time} {$order_status_report[i].status_comment} {if $order_status_report[i].status_name != 'STRING_CANCELED_ORDER_STATUS'} {$order_status_report[i].status_name} {else} {$smarty.const.STRING_CANCELED_ORDER_STATUS} {/if}
{$smarty.const.ADMIN_CHANGE_STATUS}:  


{$smarty.const.STRING_ADMIN_COMMENT}:
 

{/if}