@php $staff = auth() ->guard('branch_staff') ->user(); @endphp @if (isManager()) @php $branches = authStaff()->assignBranch; $selectedBranch = $branches->where('id', session('branchId'))->first(); @endphp {{ $selectedBranch->name }} @lang('Branch') @foreach ($branches as $branch) {{ __($branch->name) }} @endforeach @endif {{ __($staff->name) }} @lang('Profile') @lang('Password') @lang('Logout') @push('style') @endpush