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

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

View File

@ -1,5 +1,8 @@
import 'bootstrap';
import * as bootstrap from 'bootstrap';
window.bootstrap = bootstrap;
/**
* 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