обновлен текст кнопки на форме клиентов
This commit is contained in:
parent
baba204b57
commit
d12640c901
@ -211,34 +211,7 @@ class="bi bi-plus-circle" viewBox="0 0 16 16">
|
|||||||
@endforeach
|
@endforeach
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@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)
|
@if (count($availableAgents) > 1)
|
||||||
<div class="mt-3 form-floating mb-3">
|
<div class="mt-3 form-floating mb-3">
|
||||||
<select wire:model.live="agentId" class="form-select rounded-4 @error('agentId') is-invalid @enderror"
|
<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
|
@endif
|
||||||
|
|
||||||
@if ($status != FormStatus::READY)
|
@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"
|
<button disabled class="btn btn-secondary disabled rounded-4 fw-bold fs-5 w-100 py-3"
|
||||||
style="background-color: #20184d;">
|
style="background-color: #20184d;">
|
||||||
Создать нового клиента
|
Отправить на уникальность
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@else
|
@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"
|
<button wire:click="save" class="btn btn-secondary rounded-4 fw-bold fs-5 w-100 py-3"
|
||||||
style="background-color: #20184d;">
|
style="background-color: #20184d;">
|
||||||
Создать нового клиента
|
Отправить на уникальность
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user