@extends('layouts.main') @section('breadcrumb') @include('admin.parts.breadcrumb.accounts.show', ['account' => $account]) @endsection @section('content')

{{ $account->identifier }}

@include('admin.account.parts.tabs')
{{ __('Edit') }}

@if ($account->updated_at) {{ __('Updated on') }} {{ $account->updated_at->format('d/m/Y') }} @endif {{ __('Information') }}

{{ __('SIP Adress') }}: sip:{{ $account->identifier }}

@if ($account->email)

{{ __('Email') }}: {{ $account->email }}

@endif @if ($account->phone)

{{ __('Phone') }}: {{ $account->phone }}

@endif @if ($account->passwords()->count() > 0)

{{ __('Password') }}: **********

@endif

{{ __('Space') }}: {{ $account->domain }}

@include('admin.account.parts.badges', ['account' => $account])

{{ __('Manage') }}

email))class="disabled"@endif> email))class="disabled"@endif>
{{ __('Send an email to the user to reset the password') }}
{{ __('Send an email to the user with provisioning information') }}
{{ __('Delete') }}
@if ($account->external){{ __('Edit') }}@else{{ __('Create') }}@endif

{{ __('External Account') }}

@if ($account->external) @if ($account->external->username)

{{ __('Username') }}: {{ $account->external->username }}

@endif @if ($account->external->domain)

{{ __('Domain') }}: {{ $account->external->domain }}

@endif @if ($account->external->password)

{{ __('Password') }}: **********

@endif @else

{{ __('Empty') }}

@endif
{{ __('Renew') }}

{{ __('Provisioning') }}

@if ($account->provisioning_token)
{{ __('The link can only be visited once') }}

{{ __('Provisioning wizard URL') }}

@else {{ __('Create') }} @endif
@if ($account->space->carddav_user_credentials)
@if ($account->remainingCardDavCredentialsCreatable->count() > 0) {{ __('Add') }} @endif

{{ __('CardDav credentials') }}

@if ($account->carddavServers->isEmpty()) @else @foreach ($account->carddavServers as $carddavServer) @endforeach @endif
{{ __('CardDav Server') }} {{ __('Username') }} {{ __('Realm') }} {{ __('Algorithm') }}
{{ __('Empty') }}
{{ $carddavServer->name }}
{{ $carddavServer->uri }}
{{ $carddavServer->pivot->username }} {{ $carddavServer->pivot->realm }} {{ $carddavServer->pivot->algorithm }}
@endif

{{ __('Devices') }}

@if ($devices->isEmpty()) @else @foreach ($devices as $device) @endforeach @endif
User Agent
{{ __('Empty') }}
{{ $device->user_agent }}

{{ __('Voicemails') }}

@if ($account->uploadedVoicemails->isEmpty()) @endif @foreach ($account->uploadedVoicemails as $voicemail) @endforeach
{{ __('Created') }}
{{ __('Empty') }}
{{ $voicemail->created_at }} @if ($voicemail->url) @endif @if ($voicemail->sip_from)
{{ $voicemail->sip_from }} @endif
@if ($voicemail->url) @endif
{{ __('Add') }}

{{ __('Dictionary') }}

@if ($account->dictionaryEntries->isEmpty()) @endif @foreach ($account->dictionaryEntries as $dictionaryEntry) @endforeach
{{ __('Key') }} {{ __('Value') }}
{{ __('Empty') }}
{{ $dictionaryEntry->key }} {{ $dictionaryEntry->value }}
@if (space()?->intercom_features)
@if ($account->dtmf_protocol) {{ __('Add') }} @else {{ __('Edit') }} @endif

{{ __('Actions') }} @if ($account->dtmf_protocol) {{ $account->dtmf_protocol}} @endif

@if ($account->dtmf_protocol) @if ($account->actions->isEmpty()) @endif @foreach ($account->actions as $action) @endforeach
{{ __('Empty') }}
{{ $action->key }} {{ $action->code }}
@else

To manage actions, you must configure the DTMF protocol in the account settings.

@endif
{{ __('Add') }}

{{ __('Types') }}

@if ($account->types->isEmpty()) @endif @foreach ($account->types as $type) @endforeach
{{ __('Empty') }}
{{ $type->key }}
@csrf @method('delete')
@endif
@endsection