@extends('base::app') @section('content')
@if ($partner)
@if (isset($current_package->id))
{!! ___('isp-access-dashboard-current-active-package') !!}

{!! ___('isp-access-dashboard-current-active-package-package') !!}

@if ($current_package) ({!! $current_package->title !!}) @endif

{!! ___('isp-access-dashboard-current-active-package-limits') !!}

@if ($current_package->bundle) {!! $current_package->bundle !!}{!! $current_package->bundle_type == 'kilobyte' ? 'KB' : ($current_package->bundle_type == 'megabyte' ? 'MB' : 'GB') !!} @endif @if ($current_package->speed) @ {!! $current_package->speed !!} {!! $current_package->speed_type == 'kilobyte' ? 'KBps' : ($current_package->speed_type == 'megabyte' ? 'MBps' : 'GBps') !!} @endif

{!! ___('isp-access-dashboard-current-active-package-expire') !!}

{!! date('d/m/y H:i', strtotime($current_package->end_date)) !!}
@if ($current_package->duration)

({!! $current_package->duration !!}{!! $current_package->duration_type !!})

@endif {!! ___('isp-access-dashboard-renew') !!}
@else

{!! ___('isp-access-dashboard-no-package') !!}

{!! ___('isp-access-dashboard-no-package-instruction') !!}
@endif @if (count($user_packages) > 1)
{!! ___('isp-access-dashboard-active-package') !!}
@foreach ($user_packages as $user_package) @if ($current_package->subscription_id != $user_package->subscription_id) @endif @endforeach
{!! ___('isp-access-dashboard-active-package-name') !!} {!! ___('isp-access-dashboard-active-package-limits') !!} {!! ___('isp-access-dashboard-active-package-expire') !!}
@if ($user_package) {!! $user_package->title !!} @endif @if ($user_package->bundle) {!! $user_package->bundle !!}{!! $user_package->bundle_type == 'kilobyte' ? 'KB' : ($user_package->bundle_type == 'megabyte' ? 'MB' : 'GB') !!} @endif @if ($user_package->speed) @ {!! $user_package->speed !!}{!! $user_package->speed_type == 'kilobyte' ? 'KBps' : ($user_package->speed_type == 'megabyte' ? 'MBps' : 'GBps') !!} @endif @if ($user_package->duration) {!! $user_package->duration !!}{!! $user_package->duration_type !!} @endif {!! date('d/m/y H:i', strtotime($user_package->end_date)) !!} {!! ___('isp-access-dashboard-renew') !!}
@endif
@endif
@if ($subscriber)

{!! ___('isp-access-dashboard-logged-in-title') !!}

{!! ___('isp-access-dashboard-logged-in-instruction') !!}

{!! $subscriber->username !!}

@else

{!! ___('isp-access-dashboard-login-title') !!}

{!! ___('isp-access-dashboard-login-instruction') !!}

{!! ___('isp-access-dashboard-login-button') !!}
@endif
@if (isset($featured_package->id))

{!! $featured_package->title !!}

{!! $featured_package->speed !!} {!! $featured_package->speed_type == 'kilobyte' ? 'KB' : ($featured_package->speed_type == 'megabyte' ? 'MB' : 'GB') !!} for {!! $featured_package->duration !!} {!! $featured_package->duration_type !!}

{!! number_format($featured_package->amount) !!} {!! $currency->code !!}

@else

{!! ___('isp-access-dashboard-nofeatured-title') !!}
{!! ___('isp-access-dashboard-nofeatured-instruction') !!}

@endif
@if (false)

{!! ___('isp-access-dashboard-quick-links') !!}


{!! ___('isp-access-dashboard-quick-links-google') !!}

{!! ___('isp-access-dashboard-quick-links-youtube') !!}

{!! ___('isp-access-dashboard-quick-links-facebook') !!}

{!! ___('isp-access-dashboard-quick-links-twitter') !!}
@endif
@if ($invoices->count() > 0)

{!! ___('isp-access-dashboard-purchase-request') !!}

@foreach ($invoices as $invoice)

{!! $invoice->title !!}      

{!! ___('isp-access-dashboard-purchase-request-date') !!}: {!! date('d/m/y H:i', strtotime($invoice->created_at)) !!}, {!! ___('isp-access-dashboard-purchase-request-status') !!}: {!! $invoice->status !!}
@endforeach @endif @if ($packages->count() > 0)

{!! ___('isp-access-dashboard-package-title') !!}

@foreach ($packages as $package)

{!! $package->title !!}

{!! $package->description !!}, {!! ___('isp-access-dashboard-package-package') !!}: {!! $package->package_title !!}, {!! ___('isp-access-dashboard-package-speed') !!}: {!! $package->speed !!} {!! $package->speed_type == 'kilobyte' ? 'KB' : ($package->speed_type == 'megabyte' ? 'MB' : 'GB') !!}

{!! number_format($package->amount) !!} {!! $currency->code !!}

@endforeach @endif
@endsection