@extends('layouts/client') @section('title', __('client.services.show')) @section('content') {{-- ===== BANNER ===== --}} @if(is_darkmode())

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

{{ $service->name }}

@else

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

{{ $service->name }}

@endif {{-- ===== CONTENT ===== --}}
{{-- ===== MAIN PANEL ===== --}}
@include('shared/alerts') {!! $panel_html !!} @if (app('extension')->extensionIsEnabled('free_trial')) @include('free_trial::service_card', ['service' => $service]) @endif
{{-- ===== SIDEBAR ===== --}}
{{-- Action buttons --}} @if ($service->canRenew()) @if ($service->isFree()) {{ __('client.services.renewbtn') }} @else {{ __('client.services.managerenew') }}
@endif @endif @if ($service->canUpgrade()) {{ __('client.services.upgradeservice') }} @endif @if ($service->configoptions->isNotEmpty()) {{ __('client.services.manageoptions') }} @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 {{-- ===== INFO CARDS ===== --}} {{-- Service name card --}}

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

{{ $service->name }}

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

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

@endif {{-- Server card --}} @if ($service->server_id != null)

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

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

@endif {{-- Expiration card --}} @if ($service->expires_at != null)

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

@endif {{-- Price card --}}

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

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

{{-- Tabs navigation --}}
{{-- ===== CANCEL DRAWER ===== --}} @if ($service->canCancel()) @endif {{-- ===== CHANGE NAME DRAWER ===== --}} @endsection