{assign var=meth value=':'|explode:$VAR._page} {$method->exe($meth.0,$meth.1)} {if ($method->result == false)} {$block->display('core:method_error')} {else} {include file='file:../core/view_pre.tpl'} {if $form_validation} {$block->display('core:alert_fields')} {/if}
{include file='file:../core/view_tr_submit_delete.tpl'}
{osb f=tt} {$record.id}
{if $record.date_next_invoice > 0}{t}Recurring Details{/t} |{/if} {if $record.type == 'group' || $record.type == 'host_group' || $record.type == 'product_group'}{t}Group Details{/t} |{/if} {if $record.type == 'domain'}{t}Domain Details{/t} |{/if} {if $record.type == 'host' || $record.type == 'host_group'}{t}Hosting Details{/t} |{/if} {if $record.type == 'product' || $record.type == 'product_group'}{t}Product Plugin{/t} |{/if} {t}Memos{/t}
{if $record.invoice} {/if}
{osb f=tf field=account_id} {osb f=tf field=sku}
  {osb f=html_select_account name='service_account_id' default=$record.account_id}  
{osb f=tf field=date_orig} {osb f=tf field=active}
  {$list->date_time($record.date_orig)}   {$list->bool('service_active',$record.active,'" onchange="submit()')}
{osb f=tf field=date_last} {osb f=tf field=queue}
  {$list->date_time($record.date_last)}   {$list->menu_staticlist('servicequeue','service_queue','service_queue',$record.queue,'form_menu',true)}
{foreach from=$record.invoice item=invoice} {/foreach}
{t}Invoice Overview{/t}
  {if $invoice.process_status == '1'} {else} {/if} {$invoice.id} {$list->date($invoice.date_orig)} {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}     
{t}All invoices for this service{/t}
{if $record.date_next_invoice > 0}
{t}Recurring Details{/t}
{if $record.recur_type == 1} {/if} {if $record.account_billing_id > 0} {/if}
{osb f=tf field=date_last_invoice} {osb f=tf field=date_next_invoice}
{$list->calender_view('service_date_last_invoice',$record.date_last_invoice,'form_field')} {$list->calender_view('service_date_next_invoice',$record.date_next_invoice,'form_field')}
{osb f=tf field=recur_schedule} {osb f=tf field=taxable}
{if $recur_price} {else} {$list->menu_staticlist('recur_schedule','service_recur_schedule','service_recur_schedule',$record.recur_schedule,'form_menu" onchange="adminChangeSchedule(this)')} {/if} {$list->bool('service_taxable',$record.taxable,'" onchange="document.getElementById(\'view\').submit()')}
{osb f=tf field=price} {osb f=tf field=recur_type}
{$list->currency_iso('')} {$list->menu_staticlist('recur_type','','service_recur_type',$record.recur_type,'form_menu',true)}
{osb f=tf field=recur_weekday} (1-28)
{osb f=tf field=recur_schedule_change} {$list->bool('service_recur_schedule_change',$record.recur_schedule_change,'" onchange="document.getElementById(\'view\').submit()')}
{osb f=tf field=recur_cancel} {$list->bool('service_recur_cancel',$record.recur_cancel,'" onchange="document.getElementById(\'view\').submit()')}
{osb f=tf field=recur_modify} {$list->bool('service_recur_modify',$record.recur_modify,'" onchange="document.getElementById(\'view\').submit()')}
{osb f=tf field=suspend_billing} {$list->bool('service_suspend_billing',$record.suspend_billing,'" onchange="document.getElementById(\'view\').submit()')}
{osb f=tf field=account_billing_id} {$list->menu_cc_admin('service_account_billing_id',$record.account_id,$record.account_billing_id,'form_menu')}
{/if}
{if $record.type == 'group' || $record.type == 'host_group' || $record.type == 'product_group'}
{t}Group Details{/t}
{t}Grant access for specified amount of days:{/t}
{t}Grant access while associated subscription is active{/t}
{t}Grant access forerver{/t}
{/if}
{if $record.type == 'domain'}
{t}Domain Details{/t}
{osb f=tf field=domain_name} {osb f=tf field=domain_term} {osb f=tf field=domain_date_expire}
{$record.domain_name|upper}.{$record.domain_tld|upper} Resend Invoice {$record.domain_term} Year(s) {translate module=cart}renew{/translate} {$list->calender_view('service_domain_date_expire',$record.domain_date_expire,'form_field',$record.id)}
{osb f=tf field=domain_type} {osb f=tf field=domain_host_registrar_id} {osb f=tf field=domain_host_tld_id}
{translate module=cart}{$record.domain_type}{/translate} {$list->menu('','service_domain_host_registrar_id','host_registrar_plugin','name',$record.domain_host_registrar_id,'form_menu')} {$list->menu('','service_domain_host_tld_id','host_tld','name',$record.domain_host_tld_id,'form_menu')}
{/if}
{if $record.type == 'host' || $record.type == 'host_group'}
{t}Hosting Details{/t}
{if $record.host_ip != ''} {/if}
{osb f=tf field=domain_name} {$record.domain_name|upper}.{$record.domain_tld|upper} Resend Invoice
{osb f=tf field=host_server_id} {$list->menu('','disabled','host_server','name',$record.host_server_id,'" disabled')}
{osb f=tf field=host_ip} {$record.host_ip}
{osb f=tf field=host_username}
{osb f=tf field=host_password}
{if ($list->smarty_array('host_server','provision_plugin','','plugin'))} {foreach from=$plugin item=arr} {if $record.host_server_id == $arr.id} {assign var='product' value=$service} {assign var='afile' value=$arr.provision_plugin} {assign var='ablock' value='host_provision_plugin:plugin_prod_'} {assign var='blockfile' value="$ablock$afile"} {$block->display($blockfile)} {/if} {/foreach} {/if}
{/if}
{if $record.type == 'product' || $record.type == 'product_group'}
{t}Product Plugin{/t}
{translate module=service}product_plugin{/translate} {$record.prod_plugin_name}
{assign var='product' value=$service} {assign var='afile' value=$record.prod_plugin_name} {assign var='ablock' value='product_plugin:plugin_prod_'} {assign var='blockfile' value="$ablock$afile"} {$block->display($blockfile)}
{/if}
{include file='file:../core/view_post.tpl'}
{/if}