@extends('layouts.main') @section('content')
@if ($account->id) delete Delete

people Edit an account

Updated on {{ $account->updated_at->format('d/m/Y') }} @else

people Create an account

@endif
@csrf @method($account->id ? 'put' : 'post')

Connexion

@include('parts.errors', ['name' => 'username'])
@include('parts.errors', ['name' => 'display_name'])
@include('parts.errors', ['name' => 'password'])
@include('parts.errors', ['name' => 'password_confirmation'])
@include('parts.errors', ['name' => 'email'])
@include('parts.errors', ['name' => 'phone'])

Other information

activated) checked @endif>
admin) checked @endif>

Admin

admin) checked @endif>

End user


@if ($account->id)

Contacts Lists

@foreach ($account->contactsLists as $contactsList)

{{ $contactsList->title }} close

@endforeach
@if ($contacts_lists->isNotEmpty())
@csrf @method('post')
@endif

Individual contacts

@foreach ($account->contacts as $contact)

{{ $contact->identifier }} close

@endforeach
Add

Provisioning

@if ($account->provisioning_token)

Share the following picture with the user or the one-time-use link bellow.

The following link can only be visited once
Renew the provision link The current one will be unavailable

@else

Generate a provision link

@endif

External Account

@if ($account->externalAccount)

Identifier: {{ $account->externalAccount->identifier }}

@else Attach an External Account ({{ $external_accounts_count}} left) @endif

Actions

@if ($account->dtmf_protocol) @foreach ($account->actions as $action) @endforeach
{{ $action->key }} {{ $action->code }} Edit Delete
Add @else

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

@endif

Types

@foreach ($account->types as $type) @endforeach
{{ $type->key }} {!! Form::open(['route' => ['admin.account.account_type.destroy', $account, $type->id], 'method' => 'delete']) !!} {!! Form::submit('Delete', ['class' => 'btn btn-sm mr-2']) !!} {!! Form::close() !!}
Add @endif @endsection