@extends('layouts.management') @section('content')
Central management of commercial business units and branch networks.
{{ session('success') }}
Total Business Units
{{ $businessUnits->count() }}
Established under {{ $organization->code ?? 'TANRAIL' }}
Active Units
{{ $businessUnits->where('status', true)->count() }}
Currently operational
Operating Branches
{{ $businessUnits->sum('branches_count') }}
Total service outlets
| Unit Info | Branches | Status | Actions |
|---|---|---|---|
|
{{ substr($unit->code, 0, 2) }}
{{ $unit->name }}
{{ $unit->code }}
@if($unit->category)
{{ $unit->category }}
@endif
@if($unit->cost_center)
| Cost Center: {{ $unit->cost_center }}
@endif
@if($unit->manager_name)
| Lead: {{ $unit->manager_name }}
@endif
|
{{ $unit->branches->count() }} branches
+ Add branch
|
@if($unit->status) Active @else Inactive @endif |