{if isset($DISPLAY_LIST)}

{$LANG.customer.title_list}

{$LANG.customer.title_key_type} {$LANG.customer.title_key_registered} - {$LANG.customer.title_key_registered} {$LANG.customer.title_key_unregistered} - {$LANG.customer.title_key_unregistered}

{foreach from=$CUSTOMERS item=customer} {foreachelse} {/foreach}
{$THEAD.status} {$THEAD.type} {$THEAD.customer} {$THEAD.email} {$THEAD.registered} {$THEAD.no_orders}  
{if $customer.type==1} {$LANG.customer.title_key_registered} {elseif $customer.type==2} {$LANG.customer.title_key_unregistered} {/if} {$customer.last_name}, {$customer.first_name} {if !empty($customer.groups)}({$customer.groups}){/if} {$customer.email} {$customer.registered} {$customer.order_count} {$LANG.common.edit} {$LANG.common.delete}
{$LANG.form.none}
{if isset($CUSTOMER_EXPORT_LIST)} {foreach from=$CUSTOMER_EXPORT_LIST item=export} {/foreach} {/if}

{$LANG.customer.title_groups}

{$LANG.customer.title_groups_available} {if isset($CUSTOMER_GROUPS)} {foreach from=$CUSTOMER_GROUPS item=group}
{$LANG.common.delete} {$group.group_name}
{if !empty($group.group_description)} {$group.group_description} {else} {/if}
{/foreach} {else}
{$LANG.form.none}
{/if}
{$LANG.customer.title_groups_create}
{include file='templates/element.hook_form_content.php'}
{/if} {if isset($DISPLAY_CUSTOMER_FORM)}

{$ADD_EDIT_CUSTOMER}

{$LANG.common.details}
{$LANG.account.contact_details}
{$CUSTOMER.ip_address}
{$LANG.account.password}
{if isset($DISPLAY_ADDRESS_EDIT)}

{$LANG.address.address_edit}

{/if} {if isset($DISPLAY_ADDRESS_LIST)}

{$LANG.address.address_book}

{if isset($ADDRESS_LIST)} {foreach from=$ADDRESS_LIST item=address}
{$LANG.common.edit} {$LANG.common.delete} {$address.description} - {$address.title} {$address.first_name} {$address.last_name} {if !empty({$address.company_name})}({$address.company_name}){/if}
{$address.line1}, {if !empty($address.line2)}{$address.line2}, {/if}{$address.town}, {$address.state_name}, {$address.postcode}, {$address.country_name}
{/foreach} {else}
{$LANG.address.notify_address_none}
{/if}
{$LANG.address.address_add}
{/if}
{if isset($DISPLAY_CUSTOMER_GROUPS)}

{$LANG.customer.title_groups}

{$LANG.customer.title_groups_membership} {if isset($CUSTOMER_GROUPS)} {foreach from=$CUSTOMER_GROUPS item=group}
{$LANG.common.delete} {$group.group_name}
{/foreach} {/if}
{$LANG.customer.title_groups_membership_add}
{$LANG.common.add}
{/if} {include file='templates/element.hook_form_content.php'}
{/if}

{$LANG.address.address_add}

*
*
*
*
*
*
*
*