@if (!in_array('Change Branch', restaurant_modules())) @else @lang('modules.settings.addBranch') @endif
@foreach (branches() as $item) @endforeach
@lang('modules.settings.branchName') @lang('modules.settings.branchAddress') @lang('app.action')
{{ $item->name }} {{ $item->address }} @lang('app.update') @if (branch()->id != $item->id) @else
@lang('messages.cannotDeleteCurrentBranch') @endif
{{ __("modules.settings.editBranch") }} @if ($activeBranch) @livewire('forms.editBranch', ['branch' => $activeBranch], key(str()->random(50))) @endif {{ __('Close') }} {{ __("modules.settings.addBranch") }} @livewire('forms.addBranch') {{ __('Close') }} @lang('modules.settings.deleteBranch')? @lang('modules.settings.deleteBranchMessage') {{ __('Cancel') }} @if ($activeBranch) {{ __('Delete') }} @endif