@if ($status == FormStatus::NEW || $status == FormStatus::READY)
@foreach ($currentClient['phones'] as $phoneKey => $phone)
@error('currentClient.phone.{{ $phoneKey }}')
{{ $message }}
@enderror
@if (count($currentClient['phones']) == $phoneKey + 1 &&
count($this->currentClient['phones']) < $this->maxClientPhonesCount)
@endif
@endforeach
@if ($currentClientIndex == 0 && count($clients) <= 2)
@endif
@if ($currentClientIndex > 0)
@endif
@error('client.complexId')
{{ $message }}
@enderror
@if (count($availableAgents) > 1)
@error('agent')
{{ $message }}
@enderror
@endif
@if ($status == FormStatus::READY && !$errors->any())
@else
@endif
@endif
@if ($status == FormStatus::SUCCESS)
Клиент добавлен
Мы проверим его уникальность и направим Вам информацию в личном
кабинете
@endif
@if ($status == FormStatus::ERROR)
Ой!
Кажется, возникла проблема на нашей стороне, мы уже ее решаем.
Попробуйте зайти сюда позже.
@endif
@script
@endscript