{if $smarty.const.SESS_LOGGED == false} {$block->display("account:login")} {else} { $method->exe("service","user_view") } { if ($method->result == FALSE) } { $block->display("core:method_error") } {else} {foreach from=$service item=service} {if $form_validation} { $block->display("core:alert_fields") } {/if}
{translate module=service}title_view{/translate}
{if $service.account_billing_id > 0} {/if} {if $service.prod_plugin_name eq "VOIP"} {/if}
{translate module=service} field_date_orig {/translate} {translate module=service} field_date_last {/translate} {translate module=service} field_invoice_id {/translate}
{$list->date_time($service.date_orig)} {$list->date_time($service.date_last)} {$service.invoice_id}
{translate module=service} field_active {/translate} {translate module=service} field_sku {/translate} {translate module=service} field_type {/translate}
{if $service.active == 1} {translate} true {/translate} {else} {translate} false{/translate} {/if} {$service.sku} {translate module=service} {$service.type} {/translate}
{translate module=service} field_price {/translate} {translate module=service} field_price_type {/translate} {translate module=service} field_taxable {/translate}
{$list->format_currency_num($service.price, '')} {if $service.price_type == "0"} {translate module=product} price_type_one {/translate} {/if} {if $service.price_type == "1"} {translate module=product} price_type_recurr {/translate} {/if} {if $service.taxable == 1} {translate} true {/translate} {else} {translate} false {/translate} {/if}
{translate module=service} field_account_billing_id {/translate} {translate} view {/translate}  
{translate module=service} field_service_did {/translate}    
{voip_did service_id=$service.id}    
{if $service.active == 1 } {if $service.recur_modify == 1 && $service.suspend_billing != 1}
{translate module=service} title_modify {/translate}
{translate module=service id=$service.id} modify_explain {/translate}
{/if} {if $service.date_next_invoice > 0 && $service.suspend_billing == 1 }
{translate module=service} title_suspended_billing {/translate}
{translate module=service} suspended_billing_explain {/translate}{$list->date($service.date_next_invoice)}     {translate module=service}reactivate{/translate}
{elseif $service.date_next_invoice > 0 && $service.suspend_billing != 1 }
{translate module=service} title_recurring {/translate}
{translate module=service} field_date_last_invoice {/translate} {translate module=service} field_date_next_invoice {/translate}
{$list->date($service.date_last_invoice)} {$list->date($service.date_next_invoice)}
{translate module=service} field_recur_schedule {/translate}
{if $recur_price } {else} {if $service.recur_schedule == "0"} {translate module=product} recurr_week {/translate} {/if} {if $service.recur_schedule == "1"} {translate module=product} recurr_month {/translate} {/if} {if $service.recur_schedule == "2"} {translate module=product} recurr_quarter {/translate} {/if} {if $service.recur_schedule == "3"} {translate module=product} recurr_semianual {/translate} {/if} {if $service.recur_schedule == "4"} {translate module=product} recurr_anual {/translate} {/if} {if $service.recur_schedule == "5"} {translate module=product} recurr_twoyear {/translate} {/if} {if $service.recur_schedule == "6"} {translate module=product} recurr_threeyear {/translate} {/if} {/if} {if $service.recur_cancel == 1} {/if}
{/if} {if $service.type == 'group' || $service.type == 'host_group'}
{translate module=service} title_group {/translate}

{translate module=product} assoc_group_limited {/translate}
{translate module=product} assoc_group_subscription {/translate}
{translate module=product} assoc_group_forever {/translate}

{ $list->menu_multi($service.group_grant, "service_group_grant", "group", "name", "10", "", "form_menu") }
{/if} {if $service.type == 'domain' }
{translate module=service} title_domain {/translate}
{translate module=service} field_domain_name {/translate} {translate module=service} field_domain_term {/translate} {translate module=service} field_domain_date_expire {/translate}
{ $service.domain_name|upper }.{ $service.domain_tld|upper }   Resend Invoice { $service.domain_term } Year(s) {translate module=cart} renew {/translate} { $list->calender_view("service_domain_date_expire", $service.domain_date_expire, "form_field", $service.id) }
{translate module=service} field_domain_type {/translate} {translate module=service} field_domain_host_registrar_id {/translate} {translate module=service} field_domain_host_tld_id {/translate}
{translate module=cart}{$service.domain_type}{/translate} { $list->menu("", "service_domain_host_registrar_id", "host_registrar_plugin", "name", $service.domain_host_registrar_id, "form_menu") } { $list->menu("", "service_domain_host_tld_id", "host_tld", "name", $service.domain_host_tld_id, "form_menu") }
{/if} {if $service.type == 'host' || $service.type == 'host_group' }
{translate module=service} title_hosting {/translate}
{ if $service.domain_name != "" } {/if} { if $service.host_ip != "" } {/if}
{translate module=service} field_domain_name {/translate} { $service.domain_name|upper } . { $service.domain_tld|upper }
{translate module=service} field_host_ip {/translate} { $service.host_ip }
{translate module=service} field_host_username {/translate} {$service.host_username}
{translate module=service} field_host_password {/translate} {$service.host_password}
{/if} {/if} {/foreach} {/if} {/if}