2025-06-11 17:37:31 +08:00
|
|
|
@php
|
|
|
|
use App\Models\Branch;
|
2025-06-16 23:14:31 +08:00
|
|
|
$branch= Branch::first();
|
2025-06-11 17:37:31 +08:00
|
|
|
@endphp
|
|
|
|
|
2025-06-16 23:14:31 +08:00
|
|
|
@if ($branch)
|
2025-06-11 17:37:31 +08:00
|
|
|
<x-admin.section-header title="{{ $branch->name .' '. __('rooms.list').' '. $branch->external_ip}}">
|
|
|
|
<x-wireui:button
|
|
|
|
wire:click="$dispatchTo('forms.room-form', 'openModal')"
|
|
|
|
icon="plus"
|
|
|
|
label="{{ __('rooms.CreateNew') }}"
|
|
|
|
class="bg-blue-600 text-white"
|
|
|
|
/>
|
2025-06-16 23:14:31 +08:00
|
|
|
</x-admin.section-header>
|
|
|
|
@else
|
|
|
|
<x-admin.section-header title="{{__('rooms.list')}}"></x-admin.section-header>
|
|
|
|
@endif
|