селектор помещений из апи

This commit is contained in:
developer 2026-04-02 09:06:53 +08:00
parent a0f83704c8
commit 4e6b022b04
2 changed files with 5 additions and 2 deletions

View File

@ -13,8 +13,7 @@
</div> </div>
</div> </div>
@endif @endif
<button type="button" wire:click="start()" class="btn btn-primary" data-bs-toggle="modal" <button type="button" wire:click="start()" class="btn btn-primary" onclick="plan7SelectorModal = new bootstrap.Modal(document.getElementById('plan7_selector_modal'), {});plan7SelectorModal.show()">
data-bs-target="#plan7_selector_modal">
@if($room) @if($room)
Изменить Изменить
@else @else
@ -23,6 +22,7 @@
</button> </button>
</div> </div>
<!-- Modal --> <!-- Modal -->
<div class="modal fade" wire:ignore.self id="plan7_selector_modal" tabindex="-1" aria-labelledby="exampleModalLabel" <div class="modal fade" wire:ignore.self id="plan7_selector_modal" tabindex="-1" aria-labelledby="exampleModalLabel"

View File

@ -1,5 +1,8 @@
import 'bootstrap'; import 'bootstrap';
import * as bootstrap from 'bootstrap';
window.bootstrap = bootstrap;
/** /**
* We'll load the axios HTTP library which allows us to easily issue requests * We'll load the axios HTTP library which allows us to easily issue requests
* to our Laravel back-end. This library automatically handles sending the * to our Laravel back-end. This library automatically handles sending the