@extends('layouts/client') @section('title', __('client.services.show')) @section('styles') @endsection @section('content')
@include('shared/alerts') @if ($service->pack_id !== null) @endif
{!! $panel_html !!}
@if (app('extension')->extensionIsEnabled('free_trial')) @include('free_trial::service_card', ['service' => $service]) @endif
@if ($service->canRenew() && auth('web')->user()->hasServicePermission($service, 'service.renew')) @if ($service->isFree()) {{ __('client.services.renewbtn') }} @else @if (auth('web')->user()->hasServicePermission($service, 'service.billing') && $gateways->isNotEmpty()) {{ __('client.services.managerenew') }} @endif
@endif @endif @if ($service->canUpgrade() && auth('web')->user()->hasServicePermission($service, 'service.upgrade')) {{ __('client.services.upgradeservice') }} @endif @if ($service->configoptions->isNotEmpty() && auth('web')->user()->hasServicePermission($service, 'service.options')) {{ __('client.services.manageoptions') }} @endif @if ($service->customer_id === auth()->id()) {{ __('client.services.subusers.manage') }} @endif @if (app('extension')->extensionIsEnabled('customers_reviews')) @include('customers_reviews::service_button', ['service' => $service]) @endif @if (auth('admin')->check()) {{ __('client.services.manageserviceonadmin') }} @endif @if ($service->canCancel()) @endif @if ($service->canUncancel())
@csrf
@endif

{{ $service->name }} @if (auth('web')->user()->hasServicePermission($service, 'service.name'))

@endif

@if (!empty($service->description))

{!! nl2br($service->description) !!}

@endif
@if ($service->server_id != null)

{{ __('global.server') }}

{{ $service->server->name }}

@endif @if ($service->expires_at != null)

{{ __('client.services.expire_date') }}

@endif

{{ __('store.price') }}

{{ formatted_price($service->getBillingPrice()->displayPrice(), $service->currency) }} /{{ $service->recurring()['unit'] }}

@if (auth('web')->user()->hasServicePermission($service, 'service.name')) @endif @endsection