@extends($activeTemplate.'layouts.master') @section('content')
@if(!$product->server_group_id)
@php $icon = 'hdd'; if($product->product_type == 3){ $icon = 'server'; } elseif($product->product_type == 4){ $icon = 'archive'; } @endphp

{{ __(@$service->product->name) }}

{{ __(@$service->product->serviceCategory->name) }}

@php echo $service->showStatus; @endphp
@if($status == 1) @endif @if($service->cancelRequest && $service->cancelRequest->status == 2) @lang('There is an outstanding cancellation request for this product/service') @endif
@else @if($status == 1)

@lang('Package/Domain')

{{ __($product->serviceCategory->name) }}

{{ __($product->name) }}

@if($service->domain) www.{{ $service->domain }} @endif
@if(@$serverGroup->type == 1 && $diskUsagePercent)

@lang('Disk Usage')

{{ $diskUsagePercent }}
{{ @$accountSummary['diskused'] }} / {{ @$accountSummary['disklimit'] }}
@endif
@elseif($status == 2)

@lang('Pending')

@lang('This hosting package is currently Pending') @lang('You cannot begin using this hosting account until it is activated')
@elseif($status == 3)

@lang('Suspended')

@lang('This hosting package is currently Suspended') @lang('You cannot continue to use or manage this package until it is reactivated')
@elseif($status == 4)

@lang('Terminated')

@lang('This hosting package is currently Terminated')
@elseif($status == 5)

@lang('Cancelled')

@lang('This hosting package is currently Cancelled')
@endif @endif
  • @lang('Registration Date') {{ @$service->reg_date ? showDateTime(@$service->reg_date, 'd/m/Y') : 'N/A' }}
  • @lang('First Payment Amount') {{ showAmount($service->first_payment_amount) }}
  • @lang('First Payment Amount') {{ showAmount($service->first_payment_amount) }}
  • @if($service->billing != 1)
  • @lang('Recurring Amount') {{ showAmount($service->recurring_amount) }}
  • @endif
  • @lang('Billing Cycle') {{ billingCycle(@$service->billing_cycle, true)['showText'] }}
  • @lang('Next Due Date') @if($service->billing_cycle == 0) @lang('N/A') @else {{ @$service->next_due_date ? showDateTime(@$service->next_due_date, 'd/m/Y') : 'N/A' }} @endif
@if(count($product->getConfigs))

@lang('Configurable Options')

    @foreach($product->getConfigs as $config) @forelse($config->group->options as $option)
  • {{ __(@$option->name) }} {{ @$service->hostingConfigs->where('configurable_group_option_id', $option->id)->first()->option->name ?? __('N/A') }}
  • @empty {{ __(@$emptyMessage) }} @endforelse @endforeach
@endif @if($product->product_type == 3)

@lang('Server Information')

  • @lang('Hostname') {{ $service->domain ?? 'N/A' }}
  • @lang('Primary IP') {{ $service->dedicated_ip ?? 'N/A' }}
  • @lang('Nameservers') {{ $service->ns1 ?? 'N/A' }}, {{ $service->ns2 ?? 'N/A' }}
  • @lang('Assigned IPs') @php echo nl2br($service->assigned_ips); @endphp
@endif
@if(!$product->server_group_id && $status == 1) @endif @endsection @push('style') @endpush @push('script') @endpush