@extends('adminlte::page') @section('title', 'Police Station Details') @section('content_header')

{{ $station->name }} @if ($station->is_headquarters) Headquarters @endif

Edit Back to List
@stop @section('content')

Station Information

Station Code {{ $station->code }}
Status @if ($station->is_active) Active @else Inactive @endif
Address {{ $station->address }}
City {{ $station->city }}
Region {{ $station->region }}
Phone {{ $station->phone ?? 'N/A' }}
Email {{ $station->email ?? 'N/A' }}

Station Description

{{ $station->description ?? 'No description available.' }}

Station Commander

@if ($station->commander)
Commander profile picture

{{ $station->commander->name }}

{{ $station->commander->rank ?? 'No rank' }} @if ($station->commander->badge_number) {{ $station->commander->badge_number }} @endif

@else

No commander assigned to this station.

@endif

Officers Assigned

@if ($station->officers->count() > 0) @foreach ($station->officers as $officer) @endforeach
Name Rank Badge Number
{{ $officer->name }} {{ $officer->rank ?? 'N/A' }} {{ $officer->badge_number ?? 'N/A' }}
@else

No officers assigned to this station.

@endif
@stop @section('css') @stop @section('js') @stop