{assign var=meth value=':'|explode:$VAR._page} {$method->exe($meth.0,$meth.1)} {if ($method->result == false)} {$block->display('core:method_error')} {else} {if $form_validation} {$block->display('core:alert_fields')} {/if}
{include file='file:../core/view_tr_submit_delete.tpl'}
{osb f=tt}
{t}Account Overview{/t} | {t}Login & Contact Details{/t} | {t}Account Settings{/t} | {t}Notes{/t} {if $record.static_var}| {t}Custom Fields{/t}{/if}
{t}Account Overview{/t}
  {$record.first_name} {$record.middle_name} {$record.last_name}
  {$record.address1} {if $record.address2 != ''}, {$record.address2}{/if}
  {$record.city}, {$record.state} {$record.zip}
  {$record.email}
{osb f=tf field=date_orig}
  {$list->date_time($record.date_orig)}
{osb f=tf field=date_last}
  {$list->date_time($record.date_last)}
{t module=account}last_activity{/t}
  {if $record.last_activity}{$list->date_time($record.last_activity)}{else}{t module=account}none{/t}{/if}
  {if $record.last_ip != ''} {$record.last_ip}   [ ? ] {/if}
{if $record.invoice} {foreach from=$record.invoice item=invoice} {/foreach} {/if} {if $record.service} {foreach from=$record.service item=service} {/foreach} {/if}
 
{t}Invoice Overview{/t}
  {if $invoice.process_status == '1'} {else} {/if} {$invoice.id} {if $invoice.due > 0} {$list->format_currency_num($invoice.total_amt,'')} {else} {$list->format_currency_num($invoice.total_amt,'')} {/if} {if $invoice.due > 0} {$list->format_currency_num($invoice.due,'')} {else} {$list->format_currency_num('0','')} {/if}     {$list->date($invoice.date_orig)}

{t}Service Overview{/t}
  {if $service.active == '1'} {else} {/if} {$service.id} {$list->format_currency_num($service.price,'')} {$service.sku|truncate:18:'...'}      {if $service.type == 'domain'} {$service.domain_name|lower}.{$service.domain_tld|lower} {else} {t module=service}{$service.type}{/t} {/if}
{if $record.duesoon} {foreach from=$record.duesoon item=service} {/foreach} {/if}
 

{t}Invoices Due Soon{/t}
  {if $service.active == '1'} {else} {/if} {$service.sid} {$list->format_currency_num($service.price,'')} {$service.sku|truncate:18:'...'}      {if $service.type == 'domain'} {$service.domain_name|lower}.{$service.domain_tld|lower} {else} {t module=service}{$service.type}{/t} {/if}     {$list->date($service.date_next_invoice)}     {$list->date($service.bill_date)}
{osb f=tf field=username} {osb f=tf field=password} {osb f=tf field=email}
{osb f=tf field=first_name} {osb f=tf field=middle_name} {osb f=tf field=last_name}
{osb f=tf field=title} {osb f=tf field=address1} {osb f=tf field=address2}
{$list->menu_staticlist('nametitle','account_title','account_title',$record.title,'form_menu',true)}
{osb f=tf field=city} {osb f=tf field=state} {osb f=tf field=zip}
{osb f=tf field=country_id} {osb f=tf field=status} {osb f=tf field=company}
{$list->menu('no','account_country_id','country','name',$record.country_id,'" onchange="submit()')} {$list->bool('account_status',$record.status,'" onchange="submit()')}
{$method->exe_noauth('tax','get_tax_ids')} {if $tax_ids} {foreach from=$tax_ids item=tax} {/foreach}
{$tax.tax_id_name}
{/if}
{osb f=tf field=currency_id} {osb f=tf field=language_id} {osb f=tf field=date_expire}
{$list->menu('no','account_currency_id','currency','name',$record.currency_id,'" onchange="submit()')} {$list->menu_files('','account_language_id',$record.language_id,'language','','_core.xml',"\" onchange=\"document.getElementById('view').submit()")} {$list->calender_view('account_date_expire',$record.date_expire,'form_field')}
{t}authorized_groups{/t}
{$list->select_groups($record.groups,'groups','form_field','10',$record.own_account)}
{if $record.parent_id == 0 || $record.parent_id == ''} {/if}
{osb f=tf field=email_type} {osb f=tf field=theme_id}
{$list->bool('account_email_type',$record.email_type,'" onchange="submit()')} {$list->menu_files('','account_theme_id',$record.theme_id,'theme','','.user_theme','onchange="submit()"')}
{if $list->is_installed('affiliate')}{osb f=tf field=affiliate_id}{/if} {if $list->is_installed('campaign')}{osb f=tf field=campaign_id}{/if}
{if $list->is_installed('affiliate')}{osb f=autoselect module=account return=id field=account_affiliate_id default=$record.affiliate_id}{/if} {if $list->is_installed('campaign')}{$list->menu('no','account_campaign_id','campaign','name',$record.campaign_id,'" onchange="submit()"',true)}{/if}
{osb f=tf field=invoice_delivery} {osb f=tf field=invoice_show_itemized}
{$list->menu_staticlist('invoice_delivery','account_invoice_delivery','account_invoice_delivery',$record.invoice_delivery,'form_menu','')} {$list->menu_staticlist('invoice_show_itemized','account_invoice_show_itemized','account_invoice_show_itemized',$record.invoice_show_itemized,'form_menu','')}
{osb f=tf field=invoice_grace} {osb f=tf field=invoice_advance_gen}
{osb f=tf field=parent_id}  
{osb f=autoselect module=account return=id field=account_parent_id default=$record.parent_id}  
{osb f=tf field=max_child}  
 
{if $record.static_var} {foreach from=$record.static_var item=custom} {/foreach}
{$custom.name} {$custom.html}
{/if}
{include file='file:../core/view_post.tpl'}
{/if}