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