@if (!isMainCompany() && config('app.branch') === 'MultiBranch' && isModuleActive('MultiBranch')) @php $branches = config('app.single_db') ? \App\Models\Branch::authorizable()->where('status_id', 1)->get() : \App\Models\Branch::where('status_id', 1)->get(); @endphp