@extends('layouts.main') @section('breadcrumb') @include('admin.account.parts.breadcrumb_accounts_index') @if ($account->id) @include('admin.account.parts.breadcrumb_accounts_edit', ['account' => $account]) @else @endif @endsection @section('content') @if ($account->id)

users {{ $account->identifier }}

Cancel trash Delete
@if ($account->updated_at)

Updated on {{ $account->updated_at->format('d/m/Y') }} @endif @include('admin.account.parts.tabs') @else

users Create an account

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

Connexion

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

Other information

@include('parts.form.toggle', ['object' => $account, 'key' => 'activated', 'label' => 'Status'])
blocked) checked @endif>

Unblocked

blocked) checked @endif>

Blocked

admin) checked @endif>

Admin

admin) checked @endif>

End user

@if (config('app.intercom_features'))
@endif

@if ($account->id)

Contacts Lists

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

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

{{ $contactsList->title }} x

@endforeach

Individual contacts

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

{{ $contact->identifier }} x

@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 @if (config('app.intercom_features'))

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 }}
@csrf @method('delete')
Add @endif @endif @endsection