@extends('layouts.management') @section('content')

Branches & Outlets

Operating Network

Administration of station restaurants, catering hubs, and retail counters.

@if(session('success'))

{{ session('success') }}

@endif

Total Outlets

{{ $branches->count() }}

Operational network counters

Active Outlets

{{ $branches->where('status', true)->count() }}

Authorized for service

Inactive Outlets

{{ $branches->where('status', false)->count() }}

Suspended or under setup

Parent Divisions

{{ $businessUnits->count() }}

Commercial business unit parents

Branches & Outlets Directory

@if($branches->isEmpty())

No Branches Registered

Get started by adding your first outlet.

@else
@foreach($branches as $branch) @endforeach
Branch / Outlet Parent Division Facility & Location Station Lead Status Actions
{{ substr($branch->code, 0, 2) }}
{{ $branch->name }} {{ $branch->code }}
@if($branch->address)
{{ $branch->address }}
@endif
@if($branch->businessUnit) {{ $branch->businessUnit->name }} @else Unassigned @endif
{{ $branch->facility_type ?? 'Service Counter' }}
@if($branch->city)
{{ $branch->city }}
@endif
@if($branch->manager_name)
{{ $branch->manager_name }}
{{ $branch->phone ?? $branch->email }}
@else Unassigned @endif
@if($branch->status) Active @else Inactive @endif
View
@csrf
Edit
@csrf @method('DELETE')
@endif
@endsection