@php $entryBranches = $branches ?? \App\Support\BranchAccess::branchesFor(auth()->user()); $entryBranchId = old('branch_id', $selectedBranchId ?? null) ?: \App\Support\BranchAccess::firstIdFor(auth()->user()); @endphp @forelse($entryBranches as $entryBranch) @empty @endforelse