обновлен текст кнопки на форме клиентов

This commit is contained in:
developer 2026-04-24 09:54:38 +08:00
parent baba204b57
commit d12640c901

View File

@ -211,34 +211,7 @@ class="bi bi-plus-circle" viewBox="0 0 16 16">
@endforeach
</div>
@endif
<div class="d-none form-floating mb-2">
<select wire:model.live="complexId" class="form-select rounded-4 @error('complexId') is-invalid @enderror"
id="complexId" name="complexId" aria-label="Жилой комплекс">
<option selected></option>
@foreach ($complexes as $complex)
<option value="{{ $complex['id'] }}">
{{ $complex['name'] }}
</option>
@endforeach
</select>
<label for="complexId">Жилой комплекс</label>
@error('complexId')
<span class="invalid-feedback " role="alert">
<strong>{{ $message }}</strong>
</span>
@enderror
</div>
@if($complexId && ComplexHasPlan7ApiData($complexId))
<div class="p-2 bg-light border border-1 rounded-4 mb-3 bg-light">
<label for="complexId">Помещение</label>
<div>
@livewire('plan7Selector', [
'complexId' => $complexId
])
</div>
</div>
@endif
@if (count($availableAgents) > 1)
<div class="mt-3 form-floating mb-3">
<select wire:model.live="agentId" class="form-select rounded-4 @error('agentId') is-invalid @enderror"
@ -260,17 +233,17 @@ class="bi bi-plus-circle" viewBox="0 0 16 16">
@endif
@if ($status != FormStatus::READY)
<div class="d-none">
<div class="d-none mt-2">
<button disabled class="btn btn-secondary disabled rounded-4 fw-bold fs-5 w-100 py-3"
style="background-color: #20184d;">
Создать нового клиента
Отправить на уникальность
</button>
</div>
@else
<div class="">
<div class="mt-2">
<button wire:click="save" class="btn btn-secondary rounded-4 fw-bold fs-5 w-100 py-3"
style="background-color: #20184d;">
Создать нового клиента
Отправить на уникальность
</button>
</div>
@endif